/* One Medical - feuille de style
   Palette tirée du logo : bleu médical, vert émeraude, marine. Mobile-first. */

:root {
  --white: #ffffff;
  --sage: #f1f7f4;
  --mint: #ddf0e7;
  --green: #23896a;
  --green-d: #1b6f55;
  --blue: #1272a6;
  --blue-d: #0d5e8a;
  --navy: #0b3f63;
  --ink: #14303f;
  --muted: #4a6272;
  --line: #d5e3dc;
  --wa: #0d7d46;
  --wa-d: #0a6538;
  --wa-brand: #25d366;
  --radius: 14px;
  --max: 1160px;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --font-head: "Segoe UI Variable Display", "Segoe UI Semibold", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--blue-d); text-underline-offset: 0.18em; }
a:hover { color: var(--navy); }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.05rem, 1.2rem + 4.2vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.4rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 62ch; }

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

.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-sage { background: var(--sage); }
.section-head { margin-bottom: 2rem; max-width: 46rem; }
.section-head p { color: var(--muted); }
.lead { font-size: 1.15rem; color: var(--muted); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--navy); color: #fff; padding: 0.7rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; color: #fff; }

.icon { width: 1.5rem; height: 1.5rem; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3rem; padding: 0.7rem 1.4rem; border-radius: 12px; border: 2px solid transparent;
  font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn .icon { width: 1.3rem; height: 1.3rem; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-d); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-d); color: #fff; }
.btn-light { background: rgba(255, 255, 255, 0.14); color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.btn-light:hover { background: #fff; color: var(--navy); }
.btn-line { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-line:hover { background: var(--navy); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; justify-content: space-between; min-height: 4.4rem; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--navy); }
.brand img { width: 3rem; height: 3rem; }
.brand-name { display: block; font: 800 1.3rem/1 var(--font-head); letter-spacing: -0.02em; color: var(--navy); }
.brand-sub { display: block; font-size: 0.8rem; color: var(--muted); margin-top: 0.2rem; }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--navy); cursor: pointer;
}
.menu-toggle .icon { width: 1.6rem; height: 1.6rem; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }

.site-nav {
  display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff;
  border-bottom: 1px solid var(--line); padding: 0.5rem 1.25rem 1.25rem;
}
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li + li { border-top: 1px solid var(--line); }
.nav-link { display: block; padding: 0.95rem 0.2rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.nav-link:hover { color: var(--blue); }
.nav-link[aria-current="page"] { color: var(--green-d); box-shadow: inset 3px 0 0 var(--green); padding-left: 0.8rem; }
.site-nav .btn { width: 100%; margin-top: 0.9rem; }

@media (min-width: 900px) {
  .menu-toggle { display: none; }
  .site-nav { display: flex; align-items: center; gap: 1.6rem; position: static; border: 0; padding: 0; background: none; }
  .site-nav ul { display: flex; gap: 1.6rem; }
  .site-nav li + li { border: 0; }
  .nav-link { padding: 0.5rem 0; position: relative; }
  .nav-link[aria-current="page"] { box-shadow: none; padding-left: 0; }
  .nav-link[aria-current="page"]::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -0.2rem; height: 3px; border-radius: 3px; background: var(--green);
  }
  .site-nav .btn { width: auto; margin: 0; min-height: 2.8rem; padding: 0.5rem 1.1rem; }
}

/* ---------- Bandeau d'accueil (diaporama) ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--navy); isolation: isolate; }
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.hero-slide.is-active { opacity: 1; }
/* Chaque diapo : photo (si le fichier existe), puis motif de repli, puis dégradé aux couleurs du logo */
.hero-slide.s1 {
  background-image: url("../images/hero/hero-1.jpg"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 800'%3E%3Cg fill='none' stroke='white' stroke-opacity='.16' stroke-width='30'%3E%3Ccircle cx='900' cy='380' r='300'/%3E%3C/g%3E%3Ccircle cx='900' cy='380' r='205' fill='white' fill-opacity='.07'/%3E%3C/svg%3E"),
    linear-gradient(120deg, #0d5e8a, #0b3f63 70%);
  background-size: cover, cover, cover; background-position: center, right center, center;
}
.hero-slide.s2 {
  background-image: url("../images/hero/hero-2.jpg"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 800'%3E%3Cg fill='none' stroke='white' stroke-opacity='.16' stroke-width='30'%3E%3Ccircle cx='840' cy='430' r='330'/%3E%3C/g%3E%3Ccircle cx='840' cy='430' r='230' fill='white' fill-opacity='.07'/%3E%3C/svg%3E"),
    linear-gradient(120deg, #1b6f55, #0d5e8a 80%);
  background-size: cover, cover, cover; background-position: center, right center, center;
}
.hero-slide.s3 {
  background-image: url("../images/hero/hero-3.jpg"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 800'%3E%3Cg fill='none' stroke='white' stroke-opacity='.16' stroke-width='30'%3E%3Ccircle cx='960' cy='340' r='270'/%3E%3C/g%3E%3Ccircle cx='960' cy='340' r='185' fill='white' fill-opacity='.07'/%3E%3C/svg%3E"),
    linear-gradient(120deg, #0b3f63, #23896a 95%);
  background-size: cover, cover, cover; background-position: center, right center, center;
}
@media (max-width: 799px) {
  /* Sur mobile, le bandeau est plus haut que large : on plaque la photo dans
     un bandeau de hauteur fixe (au lieu d'étirer toute la hauteur du texte),
     et on recadre chaque photo sur son produit pour qu'il reste bien visible. */
  .hero-slide { top: 0; left: 0; right: 0; bottom: auto; height: 22rem; }
  .hero-slide.s1 { background-position: 48% center; }
  .hero-slide.s2 { background-position: 49% center; }
  .hero-slide.s3 { background-position: 58% center; }
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(7, 36, 58, 0.78), rgba(7, 36, 58, 0.5));
}
.hero-in { min-height: clamp(30rem, 82svh, 44rem); display: flex; flex-direction: column; justify-content: center; padding: 3.5rem 0 5.5rem; }
.hero h1 { color: #fff; max-width: 17ch; }
.hero p { color: #e8f2f6; font-size: 1.15rem; max-width: 40ch; }
.hero .btn-row { margin-top: 1.6rem; }
.hero-bar { position: absolute; left: 0; right: 0; bottom: 1.3rem; }
.hero-bar-in { display: flex; align-items: center; gap: 1rem; }
.hero-dots { display: flex; gap: 0.35rem; }
.hero-dot {
  width: 2.75rem; height: 2.75rem; padding: 0; border: 0; background: none; cursor: pointer; position: relative;
}
.hero-dot::after {
  content: ""; position: absolute; left: 0.35rem; right: 0.35rem; top: 50%; height: 4px; margin-top: -2px;
  border-radius: 4px; background: rgba(255, 255, 255, 0.45);
}
.hero-dot[aria-current="true"]::after { background: #fff; }
.hero-pause {
  width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.12); color: #fff; cursor: pointer; display: grid; place-items: center;
}
.hero-pause .icon { width: 1.1rem; height: 1.1rem; fill: currentColor; stroke: none; }
.hero-pause .i-play { display: none; }
.hero-pause[aria-pressed="true"] .i-play { display: block; }
.hero-pause[aria-pressed="true"] .i-pause { display: none; }
.hero-caption { margin: 0; font-size: 0.95rem; color: #e8f2f6; }
@media (min-width: 800px) {
  .hero::before { background: linear-gradient(90deg, rgba(7, 36, 58, 0.88) 0%, rgba(7, 36, 58, 0.6) 48%, rgba(7, 36, 58, 0.08) 100%); }
  .hero-in { padding-bottom: 6rem; }
}

/* Petit bandeau de titre pour les pages intérieures */
.page-head { background: var(--sage); border-bottom: 1px solid var(--line); padding: clamp(2.2rem, 5vw, 3.6rem) 0; }
.page-head h1 { font-size: clamp(1.9rem, 1.2rem + 3vw, 2.9rem); margin-bottom: 0.4em; }
.page-head p { color: var(--muted); margin: 0; }
.crumbs { font-size: 0.92rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); }
.crumbs span[aria-current] { color: var(--ink); }

/* ---------- Catégories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; list-style: none; margin: 0; padding: 0; }
.cat {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.8rem;
  height: 100%; padding: 1.4rem 0.8rem; border-radius: 22px; text-decoration: none; color: var(--ink);
  transition: background-color 0.15s;
}
.cat:hover { background: var(--mint); color: var(--ink); }
.cat-badge { width: 5rem; height: 5rem; border-radius: 50%; background: var(--mint); color: var(--green-d); display: grid; place-items: center; border: 2px solid #fff; box-shadow: 0 0 0 2px var(--mint); }
.cat:hover .cat-badge { background: #fff; }
.cat-badge .icon { width: 2.2rem; height: 2.2rem; }
.cat strong { font: 700 1.05rem/1.25 var(--font-head); color: var(--navy); overflow-wrap: anywhere; hyphens: auto; }
.cat span.cat-desc { font-size: 0.92rem; color: var(--muted); line-height: 1.4; }
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cat-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ---------- Produits ---------- */
.pgrid { display: grid; grid-template-columns: 1fr; gap: 2rem 1.4rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 560px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }
.pcard { display: block; text-decoration: none; color: var(--ink); }
.pimg {
  position: relative; overflow: hidden; aspect-ratio: 4 / 5;
  border-radius: 50% 50% 16px 16px / 17% 17% 16px 16px;
  background: linear-gradient(160deg, var(--mint), #f6fbf8 75%);
}
.pimg-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--green); }
.pimg-ph .icon { width: 28%; height: auto; max-width: 5.5rem; stroke-width: 1.3; }
.pimg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pcard h3 { margin: 1rem 0 0.2rem; }
.pcard:hover h3 { color: var(--blue); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.pcat { margin: 0; font-size: 0.92rem; color: var(--green-d); font-weight: 600; }
.pcard p.pdesc { margin: 0.35rem 0 0; font-size: 0.97rem; color: var(--muted); }

.cat-list { display: grid; gap: clamp(3rem, 6vw, 4.5rem); scroll-margin-top: 5.5rem; }
.cat-title { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.4rem; }
.cat-title .cat-badge { width: 3.4rem; height: 3.4rem; box-shadow: none; border: 0; }
.cat-title .cat-badge .icon { width: 1.7rem; height: 1.7rem; }
.cat-title h2 { margin: 0; }
.cat-intro { color: var(--muted); margin-bottom: 1.6rem; }
/* Recherche de produits */
.search { max-width: 36rem; margin-top: 1.6rem; }
.search-field {
  display: flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 2px 10px rgba(11, 63, 99, 0.06); transition: border-color 0.2s, box-shadow 0.2s;
}
.search-field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(18, 114, 166, 0.16); }
.search-icon { flex: none; width: 1.35rem; height: 1.35rem; margin-left: 1.2rem; color: var(--green-d); }
.search-input {
  flex: 1; min-width: 0; height: 3.5rem; padding: 0 0.8rem; border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 1.05rem; color: var(--ink); -webkit-appearance: none; appearance: none;
}
.search-input::placeholder { color: var(--muted); opacity: 0.85; }
.search-input::-webkit-search-cancel-button, .search-input::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.search-clear {
  flex: none; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; margin-right: 0.55rem; padding: 0;
  border: 0; border-radius: 50%; background: var(--sage); color: var(--navy); cursor: pointer; transition: background 0.2s, color 0.2s;
}
.search-clear[hidden] { display: none; }
.search-clear .icon { width: 1.1rem; height: 1.1rem; }
.search-clear:hover { background: var(--navy); color: #fff; }
.page-head.is-searching .chips { display: none; }
.search-status { margin: 0.7rem 0 0 1.2rem; font-size: 0.95rem; min-height: 1.6em; }
.no-results { text-align: center; padding: clamp(2rem, 6vw, 3.5rem) 1rem; }
.no-results[hidden] { display: none; }
.no-results .cat-badge { margin: 0 auto 1.1rem; }
.no-results p { margin-inline: auto; color: var(--muted); }
.no-results .btn-row { justify-content: center; margin-top: 1.4rem; }
.pgrid li.is-leaving, .cat-section.is-leaving { opacity: 0; transform: scale(0.97); transition: opacity 0.15s ease, transform 0.15s ease; }
.pgrid li.is-entering, .cat-section.is-entering { animation: item-in 0.26s ease both; }
@keyframes item-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 1.4rem 0 0; padding: 0; }
.chips a {
  display: inline-block; padding: 0.5rem 1rem; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--navy); font-weight: 600; font-size: 0.95rem; text-decoration: none;
}
.chips a:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Fiche produit */
.product { display: grid; gap: 2rem; }
@media (min-width: 860px) { .product { grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; } }
.product .pimg { border-radius: 50% 50% 18px 18px / 15% 15% 18px 18px; max-width: 34rem; }
.pmedia { max-width: 34rem; }
.pthumbs { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; margin: 0.9rem 0 0; padding: 0; }
.pthumb {
  display: block; width: 4.4rem; aspect-ratio: 4 / 5; padding: 0; overflow: hidden; cursor: pointer;
  border: 2px solid var(--line); border-radius: 12px; background: #fff;
}
.pthumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pthumb[aria-current="true"] { border-color: var(--green); }
.pthumb:hover { border-color: var(--blue); }
.product h1 { font-size: clamp(1.9rem, 1.2rem + 3vw, 2.8rem); }
.notice {
  border-left: 4px solid var(--green); background: var(--sage); padding: 0.9rem 1.1rem; margin: 1.4rem 0;
  border-radius: 0 var(--radius) var(--radius) 0; max-width: 34rem;
}
.notice p { margin: 0; }

/* ---------- Points forts ---------- */
.why { display: grid; gap: 2rem; }
@media (min-width: 900px) { .why { grid-template-columns: 5fr 7fr; gap: 4rem; align-items: start; } }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { display: grid; grid-template-columns: auto 1fr; gap: 0 1rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.checks li:last-child { border-bottom: 1px solid var(--line); }
.checks .icon { width: 1.7rem; height: 1.7rem; color: var(--green); margin-top: 0.15rem; stroke-width: 2.2; }
.checks strong { display: block; font: 700 1.1rem/1.3 var(--font-head); color: var(--navy); }
.checks p { margin: 0.2rem 0 0; color: var(--muted); }

/* ---------- Bandeau final ---------- */
.cta-band { background: var(--navy); color: #e6f0f5; padding: clamp(2.8rem, 6vw, 4.2rem) 0; }
.cta-in { display: grid; gap: 1.6rem; }
@media (min-width: 860px) { .cta-in { grid-template-columns: 1.4fr 1fr; align-items: center; gap: 3rem; } }
.cta-band h2 { color: #fff; margin-bottom: 0.4em; }
.cta-band p { margin: 0; }
.cta-band address { font-style: normal; line-height: 1.5; }
.cta-band address strong { color: #fff; display: block; margin-bottom: 0.2rem; }
.cta-band .btn-row { margin-top: 1.4rem; }

/* ---------- À propos ---------- */
.about { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 860px) { .about { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.about-logo { background: var(--sage); border-radius: 28px; padding: 2.2rem; display: grid; place-items: center; }
.about-logo img { width: min(100%, 22rem); height: auto; }
.since { display: flex; align-items: baseline; gap: 0.8rem; margin: 1.6rem 0 0; }
.since strong { font: 800 clamp(2.6rem, 8vw, 4rem)/1 var(--font-head); color: var(--green); letter-spacing: -0.03em; }
.since span { color: var(--muted); max-width: 16ch; line-height: 1.3; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 2.2rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 3.5rem; align-items: start; } }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: grid; grid-template-columns: auto 1fr; gap: 0 1rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list .cat-badge { width: 3rem; height: 3rem; box-shadow: none; border: 0; }
.contact-list .cat-badge .icon { width: 1.4rem; height: 1.4rem; }
.contact-list .label { display: block; font-size: 0.9rem; color: var(--muted); }
.contact-list .value { font-size: 1.1rem; font-weight: 600; color: var(--navy); text-decoration: none; word-break: break-word; }
.contact-list a.value:hover { color: var(--blue); text-decoration: underline; }
.hours { margin: 0; padding: 0; list-style: none; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.15rem 0; border: 0; }
.map-box { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--sage); }
.map-box iframe { display: block; width: 100%; height: clamp(18rem, 55vw, 30rem); border: 0; }
.map-actions { padding: 1rem; display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; justify-content: space-between; background: #fff; border-top: 1px solid var(--line); }
.map-actions p { margin: 0; font-size: 0.95rem; color: var(--muted); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--sage); border-top: 1px solid var(--line); padding: 3rem 0 1.5rem; font-size: 0.98rem; }
.foot-grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1.2fr; gap: 3rem; } }
.foot-brand img { width: 9.5rem; height: auto; margin-bottom: 0.8rem; }
.foot-brand p { color: var(--muted); }
.site-footer h2 { font-size: 1.05rem; margin-bottom: 0.7rem; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 0.2rem 0; }
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--blue); }
.foot-hours li { display: flex; justify-content: space-between; gap: 1rem; max-width: 18rem; }
.site-footer .social-link {
  display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-top: 0.9rem;
  border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--navy); text-decoration: none;
}
.site-footer .social-link .icon { width: 1.25rem; height: 1.25rem; }
.site-footer .social-link:hover, .site-footer .social-link:focus-visible { color: #fff; background: var(--blue); border-color: var(--blue); }
.legal { max-width: none; margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }

/* ---------- Bouton WhatsApp flottant ---------- */
.wa-float {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 60; width: 3.6rem; height: 3.6rem; border-radius: 50%;
  background: var(--wa-brand); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(7, 36, 58, 0.3);
}
.wa-float:hover { background: #1ebe5a; color: #fff; }
.wa-float .icon { width: 1.9rem; height: 1.9rem; stroke-width: 1.9; }

/* ---------- Page 404 ---------- */
.notfound { text-align: center; }
.notfound p { margin-inline: auto; }
.notfound .btn-row { justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  .pgrid li.is-leaving, .cat-section.is-leaving { transition: none; }
  .pgrid li.is-entering, .cat-section.is-entering { animation: none; }
  html { scroll-behavior: auto; }
  .hero-slide { transition: none; }
  .btn, .cat { transition: none; }
}
@media print {
  .site-header, .wa-float, .hero-bar { display: none; }
}

.section-foot { margin-top: 2.2rem; }

/* Photo de la façade (À propos, Contact) */
.about-photo { margin: 0; }
.about-photo img { width: 100%; height: auto; border-radius: 24px; }
.about-photo figcaption { margin-top: 0.7rem; font-size: 0.92rem; color: var(--muted); }
.shopfig { margin-top: 2rem; }

/* ---------- Écran de chargement ---------- */
/* Masqué par défaut : js/loader.js ajoute la classe .has-loader sur <html> avant le premier affichage. */
.loader { display: none; }
.has-loader .loader {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  background: radial-gradient(70% 55% at 50% 50%, var(--sage) 0%, var(--white) 72%);
  opacity: 1; visibility: visible; transition: opacity 0.45s ease, visibility 0s linear 0.45s;
}
.has-loader .loader.is-hiding { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { position: relative; isolation: isolate; }
.loader-inner::before {
  content: ""; position: absolute; left: 50%; top: 50%; z-index: -1; width: 175%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(35, 137, 106, 0.13) 0%, rgba(18, 114, 166, 0.05) 42%, transparent 68%);
  transform: translate(-50%, -50%); animation: loader-breathe 2.8s ease-in-out infinite;
}
.loader-logo {
  display: block; width: clamp(9.5rem, 30vw, 13rem); height: auto; opacity: 0;
  animation: loader-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.05s forwards;
}
.loader-bar {
  position: absolute; left: 50%; top: calc(100% + 1.75rem); width: 7rem; height: 3px; margin-left: -3.5rem;
  border-radius: 999px; background: var(--mint); overflow: hidden; opacity: 0; animation: loader-fade 0.5s ease 0.35s forwards;
}
.loader-bar::after {
  content: ""; position: absolute; inset: 0; width: 45%; border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--green)); animation: loader-slide 1.3s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@keyframes loader-in { from { opacity: 0; transform: translateY(6px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes loader-fade { to { opacity: 1; } }
@keyframes loader-slide { from { transform: translateX(-110%); } to { transform: translateX(240%); } }
@keyframes loader-breathe {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.07); }
}
@media (prefers-reduced-motion: reduce) {
  .has-loader .loader { transition-duration: 0.2s, 0s; transition-delay: 0s, 0.2s; }
  .loader-inner::before { animation: none; }
  .loader-logo { animation: none; opacity: 1; }
  .loader-bar { animation: none; opacity: 1; }
  .loader-bar::after { animation: none; width: 100%; opacity: 0.45; }
}
@media print { .loader { display: none !important; } }
