/* Maison Ourlet — galerie minimale (fiche cos, squelette grotesque-suisse en variante galerie).
   Blanc canvas, encre #080808, 0 px partout, hairlines #dadada, rouge signal réservé au stock bas. */
@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --fond: #fff; --encre: #080808; --encre-2: #4a4a4a; --filet: #dadada; --filet-fort: #080808; --rouge: #c80000;
  --police: "Inter", "Helvetica Neue", Arial, sans-serif;
  --t-1: clamp(3rem, 1rem + 6vw, 5.6rem); --t-2: clamp(2.5rem, 1.5rem + 2.6vw, 3.8rem);
  --gouttiere: clamp(18px, 3.4vw, 48px); --largeur-max: 1400px; --e-section: clamp(64px, 8vw, 128px);
  --cadrage: 50% 28%; --ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fond); color: var(--encre); font: 400 1.0625rem/1.6 var(--police); letter-spacing: -.01em; font-synthesis: none; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd, table { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, select { font: inherit; letter-spacing: inherit; color: inherit; border-radius: 0; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--encre); outline-offset: 3px; }
.contenu { width: 100%; max-width: var(--largeur-max); margin: 0 auto; padding-inline: var(--gouttiere); }
.lien-saut { position: absolute; left: -999px; top: 8px; background: var(--encre); color: #fff; padding: 10px 16px; z-index: 100; }
.lien-saut:focus { left: 8px; }
h1, h2 { font-weight: 500; letter-spacing: -.035em; line-height: 1; }
h2 { font-size: var(--t-2); }
h2.h3 { font-size: 1.5rem; letter-spacing: -.01em; }
h3, .h3 { font-weight: 700; font-size: 1.125rem; letter-spacing: -.01em; line-height: 1.3; }

.annonce { background: var(--encre); color: #fff; text-align: center; font-size: .9375rem; padding: 10px var(--gouttiere); }
.entete { position: sticky; top: 0; z-index: 50; background: var(--fond); border-bottom: 1px solid var(--filet); }
.entete .contenu { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 24px; }
.logo { font-weight: 700; font-size: 1.25rem; letter-spacing: -.03em; text-decoration: none; }
.menu { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); }
.menu a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 500; position: relative; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: var(--encre); transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--ease); }
.menu a:hover::after, .menu a[aria-current="page"]::after { transform: scaleX(1); }
.pan-n { display: inline-block; min-width: 1.4em; text-align: center; margin-left: 6px; border: 1px solid var(--encre); padding: 0 6px; font-size: .875rem; line-height: 1.5; }
.menu-bouton { display: none; min-height: 44px; font-weight: 500; }
.menu-mobile { display: none; }

.bouton { display: inline-flex; align-items: center; justify-content: center; gap: .7em; min-height: 52px; padding: 0 30px; background: var(--encre); color: #fff; border: 1px solid var(--encre); text-decoration: none; font-weight: 500; transition: background 200ms, color 200ms, transform 120ms; }
.bouton:hover { background: #fff; color: var(--encre); }
.bouton:active { transform: translateY(1px); }
.bouton.clair { background: #fff; color: var(--encre); }
.bouton.clair:hover { background: var(--encre); color: #fff; }
.bouton[disabled] { background: var(--filet); border-color: var(--filet); color: #6b6b6b; cursor: not-allowed; }
.lien { display: inline-flex; align-items: center; min-height: 44px; gap: .6em; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--encre); padding-bottom: 2px; align-self: flex-start; transition: gap 200ms var(--ease); }
.lien::after { content: "→"; }
.lien:hover { gap: 1em; }

/* hero */
.hero .contenu { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(20px, 3vw, 48px); align-items: end; padding-block: clamp(20px, 3vw, 40px) clamp(32px, 4vw, 56px); }
.hero-texte { display: flex; flex-direction: column; gap: 28px; padding-bottom: 8px; }
.hero h1 { font-size: clamp(3rem, 1rem + 4.4vw, 5rem); }
.ligne { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.ligne > span { display: block; }
.hero p { max-width: 40ch; font-size: 1.1875rem; color: var(--encre-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-images { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(8px, 1.4vw, 20px); width: min(100%, calc((100svh - 215px) * 1.5)); justify-self: end; }
.cadre { position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: #e9e9e7; }
.cadre img { width: 100%; height: 100%; object-fit: cover; }
.hero-images .cadre:first-child img { object-position: var(--cadrage); }
.apercu-guide { display: flex; align-items: center; gap: 16px; width: fit-content; max-width: 100%; border: 1px solid var(--encre); padding: 8px 18px 8px 8px; text-decoration: none; transition: background 200ms, color 200ms; }
.apercu-guide:hover { background: var(--encre); color: #fff; }
.apercu-guide .pull-plat { width: 96px; height: auto; flex: none; }
.ag-txt { display: grid; gap: 2px; }
.ag-txt small { font-size: .875rem; color: inherit; opacity: .8; }
.ag-txt strong { font-size: 2.5rem; font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.pull-plat path { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.pull-plat .cote { stroke-width: 1; }
.pull-plat text { font: 500 11px/1 var(--police, "Inter", sans-serif); fill: currentColor; stroke: none; text-anchor: middle; }
.guide-outil .pull-plat { width: min(100%, 300px); height: auto; justify-self: center; }
.legende { margin-top: 10px; font-size: .9375rem; color: var(--encre-2); display: flex; justify-content: space-between; gap: 12px; }
@keyframes monte { from { transform: translateY(108%); } to { transform: none; } }
@keyframes masque { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
@keyframes zoom { from { transform: scale(1.06); } to { transform: none; } }
@keyframes pose { from { transform: translateY(14px); } to { transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero .ligne > span { animation: monte 1000ms var(--ease) both; }
  .hero .ligne:nth-child(2) > span { animation-delay: 90ms; }
  .hero .ligne:nth-child(3) > span { animation-delay: 180ms; }
  .hero-images figure .cadre { animation: masque 1200ms var(--ease) 100ms both; }
  .hero-images figure:nth-child(2) .cadre { animation-delay: 300ms; }
  .hero-images figure .cadre img { animation: zoom 1700ms var(--ease) 100ms both; }
  .hero-images figure:nth-child(2) .cadre img { animation-delay: 300ms; }
  .hero-texte p, .hero-actions { animation: pose 900ms var(--ease) 500ms both; }
  .apercu-guide { animation: pose 900ms var(--ease) 650ms both; }
}

.bande { border-top: 1px solid var(--filet); }
section[data-slot], .section { padding-block: var(--e-section); border-top: 1px solid var(--filet); }
.tete { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 48px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.tete p { max-width: 46ch; color: var(--encre-2); font-size: 1.125rem; }

/* grille produit : carrée, sans cadre */
.produits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 48px) clamp(12px, 2vw, 28px); }
.carte { display: block; text-decoration: none; }
.carte .cadre img { transition: transform 800ms var(--ease); }
.carte:hover .cadre img { transform: scale(1.03); }
.carte .ligne-info { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; font-weight: 500; }
.carte .matiere { color: var(--encre-2); font-weight: 400; font-size: .9375rem; margin-top: 2px; }
.carte .tailles { margin-top: 8px; font-size: .875rem; color: var(--encre-2); }
.carte .tailles s { color: #6b6b6b; }
.badge { color: var(--rouge); font-weight: 500; font-size: .9375rem; }

/* filtres */
.filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filtres button { min-height: 44px; padding: 0 20px; border: 1px solid var(--encre); font-weight: 500; transition: background 160ms, color 160ms; }
.filtres button[aria-pressed="true"] { background: var(--encre); color: #fff; }

/* fiche produit */
.fil { padding-block: 20px; font-size: .9375rem; color: var(--encre-2); }
.fil a { color: var(--encre); }
.fiche { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 80px); align-items: start; padding-bottom: var(--e-section); }
.galerie { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(8px, 1.4vw, 20px); }
.galerie .cadre:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
.teinte-voile { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 520ms var(--ease); }
.teinte-voile.actif { opacity: var(--op, .8); }
.note-teinte { color: var(--encre-2); font-size: .875rem; margin-top: 8px; }
.galerie .detail img { transform: scale(1.9); transform-origin: 30% 40%; }
.galerie .detail:nth-child(3) img { transform-origin: 70% 65%; }
.achat { position: sticky; top: 96px; display: grid; gap: 24px; }
.achat h1 { font-size: clamp(2.6rem, 1.6rem + 2.4vw, 3.6rem); }
.achat .prix { font-size: 1.5rem; font-weight: 500; }
.achat .accroche { color: var(--encre-2); font-size: 1.125rem; max-width: 42ch; }
.choix legend, .choix .lib { font-weight: 500; margin-bottom: 10px; display: flex; justify-content: space-between; gap: 12px; }
.choix legend small, .choix .lib small { font-weight: 400; color: var(--encre-2); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.rangee { display: flex; flex-wrap: wrap; gap: 8px; }
.tailles-btn button { min-width: 56px; min-height: 52px; border: 1px solid var(--encre); font-weight: 500; transition: background 140ms, color 140ms; }
.tailles-btn button[aria-pressed="true"] { background: var(--encre); color: #fff; }
.tailles-btn button[disabled] { border-color: var(--filet); color: #6b6b6b; cursor: not-allowed; background: linear-gradient(to top right, transparent calc(50% - .5px), var(--filet) 50%, transparent calc(50% + .5px)); }
.tailles-btn button .bas { display: block; font-size: .75rem; color: var(--rouge); font-weight: 500; line-height: 1; margin-top: -2px; padding-bottom: 6px; }
.tailles-btn button[aria-pressed="true"] .bas { color: #fff; }
.teinte-btn button { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px 0 8px; border: 1px solid var(--filet); font-weight: 500; }
.teinte-btn button i { width: 28px; height: 28px; background: var(--c); border: 1px solid var(--filet); }
.teinte-btn button[aria-pressed="true"] { border-color: var(--encre); }
.msg { min-height: 1.6em; font-size: .9375rem; color: var(--rouge); }
.infos-livraison { border-top: 1px solid var(--filet); }
.infos-livraison li { display: flex; justify-content: space-between; gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--filet); font-size: .9375rem; }
.infos-livraison li span:first-child { color: var(--encre-2); }
.fiche-bas { border-top: 1px solid var(--filet); padding-block: var(--e-section); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.fiche-bas p, .fiche-bas li { margin-top: 12px; color: var(--encre-2); }
.fiche-bas li { margin-top: 8px; }

/* guide des tailles */
.guide { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.guide-outil { display: grid; gap: 28px; border: 1px solid var(--encre); padding: clamp(20px, 3vw, 40px); }
.guide-outil label { display: flex; justify-content: space-between; font-weight: 500; margin-bottom: 8px; }
.guide-outil select { width: 100%; min-height: 52px; border: 1px solid var(--encre); background: #fff; padding: 0 14px; }
.guide-outil input[type=range] { width: 100%; accent-color: var(--encre); min-height: 32px; }
.resultat { border-top: 1px solid var(--encre); padding-top: 20px; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.resultat strong { display: inline-block; font-size: 3.5rem; font-weight: 500; letter-spacing: -.04em; line-height: 1; }
@keyframes lettre { from { transform: translateY(55%); clip-path: inset(0 0 100% 0); } to { transform: none; clip-path: inset(0); } }
@keyframes surligne { from { background-size: 0 100%; color: var(--encre); } to { background-size: 100% 100%; color: #fff; } }
.resultat strong.change { animation: lettre 280ms var(--ease) both; }
.resultat span { color: var(--encre-2); max-width: 26ch; }
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 12px 10px 12px 0; border-bottom: 1px solid var(--filet); font-size: .9375rem; }
th { font-weight: 500; }
tr.sel td, tr.sel th { background: linear-gradient(var(--encre), var(--encre)) no-repeat left / 100% 100%; color: #fff; padding-left: 10px; }
tr.sel.neuf th { animation: surligne 200ms var(--ease) both; }
tr.sel.neuf td { animation: surligne 260ms var(--ease) 40ms both; }
tr.sel.neuf td:nth-child(n+4) { animation-delay: 90ms; }
.sous { margin-top: 24px; color: var(--encre-2); }

.texte-2col { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.etapes { border-top: 1px solid var(--encre); }
.etapes li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px; padding-block: 20px; border-bottom: 1px solid var(--filet); }
.etapes b { font-weight: 700; }
.etapes span { color: var(--encre-2); }
.entretien { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(16px, 3vw, 48px); }
.entretien li { border-top: 1px solid var(--encre); padding-top: 14px; }
.entretien p { color: var(--encre-2); margin-top: 6px; font-size: 1rem; }
.atelier { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 7vw, 112px); align-items: center; }
.atelier .cadre img { object-position: 50% 30%; }
.atelier p { margin-top: 18px; color: var(--encre-2); font-size: 1.125rem; max-width: 52ch; }
.faq { max-width: 880px; border-top: 1px solid var(--encre); }
.faq details { border-bottom: 1px solid var(--filet); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; min-height: 56px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-weight: 500; font-size: 1.1875rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 300; transition: transform 200ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding-bottom: 22px; color: var(--encre-2); max-width: 62ch; }
.lettre { display: flex; gap: 0; flex-wrap: wrap; max-width: 560px; margin-top: 24px; }
.lettre input { flex: 1 1 240px; min-height: 52px; border: 1px solid var(--encre); border-right: 0; padding: 0 16px; }
.lettre .bouton { flex: none; }
.lettre-ok { margin-top: 20px; font-weight: 500; }

/* panier */
.panier { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 96px); align-items: start; padding-bottom: var(--e-section); }
.ligne-p { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 20px; padding-block: 24px; border-bottom: 1px solid var(--filet); }
.ligne-p:first-child { border-top: 1px solid var(--encre); }
.ligne-p .cadre { aspect-ratio: 3 / 4; }
.ligne-p h3 a { text-decoration: none; }
.ligne-p .meta { color: var(--encre-2); font-size: .9375rem; margin-top: 4px; }
.qte { display: inline-flex; align-items: center; border: 1px solid var(--encre); margin-top: 14px; }
.qte button { width: 44px; height: 44px; font-size: 1.25rem; }
.qte span { min-width: 36px; text-align: center; font-weight: 500; }
.ligne-p .droite { text-align: right; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; }
.retirer { text-decoration: underline; font-size: .9375rem; color: var(--encre-2); min-height: 44px; }
.recap { border: 1px solid var(--encre); padding: clamp(20px, 3vw, 32px); display: grid; gap: 16px; position: sticky; top: 96px; }
.recap li { display: flex; justify-content: space-between; gap: 12px; }
.recap .total { border-top: 1px solid var(--encre); padding-top: 16px; font-size: 1.375rem; font-weight: 500; }
.barre-liv { height: 4px; background: var(--filet); }
.barre-liv i { display: block; height: 100%; background: var(--encre); width: 0; transition: width 400ms var(--ease); }
.recap small { color: var(--encre-2); font-size: .9375rem; }
.vide { padding-block: 40px 80px; max-width: 520px; display: grid; gap: 20px; }
.commande { max-width: 720px; padding-block: 24px var(--e-section); }
.commande h1 { font-size: var(--t-2); margin-bottom: 20px; }
.commande p { color: var(--encre-2); font-size: 1.125rem; margin-top: 14px; }
.commande .num { display: inline-block; border: 1px solid var(--encre); padding: 6px 14px; font-weight: 500; color: var(--encre); margin-top: 14px; }
.ajout { position: fixed; right: var(--gouttiere); top: 90px; z-index: 80; background: var(--encre); color: #fff; padding: 16px 20px; max-width: 340px; display: none; }
.ajout.visible { display: block; animation: pose 260ms var(--ease) both; }
.ajout a { color: #fff; font-weight: 500; margin-left: 8px; }

.pied { border-top: 1px solid var(--encre); padding-block: 56px 100px; margin-top: 0; }
.pied .contenu { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.pied h4 { font-size: 1rem; font-weight: 700; margin-bottom: 12px; }
.pied li { margin-bottom: 4px; }
.pied a { text-decoration: none; color: var(--encre-2); display: inline-flex; min-height: 32px; align-items: center; }
.pied a:hover { color: var(--encre); text-decoration: underline; }
.pied .mention { grid-column: 1 / -1; border-top: 1px solid var(--filet); padding-top: 20px; font-size: .9375rem; color: var(--encre-2); }
.barre { display: none; }

@media (max-width: 960px) {
  .menu { display: none; }
  .menu-bouton { display: inline-flex; align-items: center; }
  .menu-mobile { display: block; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--encre); clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path 280ms var(--ease), visibility 0s 280ms; }
  .menu-mobile.ouvert { clip-path: inset(0); visibility: visible; transition: clip-path 280ms var(--ease); }
  .menu-mobile ul { padding: 8px var(--gouttiere) 20px; }
  .menu-mobile a { display: flex; align-items: center; min-height: 52px; font-size: 1.5rem; font-weight: 500; letter-spacing: -.03em; text-decoration: none; border-bottom: 1px solid var(--filet); }
  .hero .contenu { grid-template-columns: 1fr; }
  .hero-images { width: 100%; }
  .hero-texte { display: contents; }
  .hero h1 { order: 1; }
  .hero-images { order: 2; }
  .hero-texte p { order: 3; }
  .hero-actions { order: 4; }
  .apercu-guide { order: 5; }
  .produits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fiche, .guide, .texte-2col, .atelier, .panier { grid-template-columns: 1fr; }
  .achat, .recap { position: static; }
  .fiche-bas { grid-template-columns: 1fr; }
  .entretien { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pied .contenu { grid-template-columns: 1fr 1fr; }
  .barre { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--encre); padding: 8px var(--gouttiere); justify-content: space-between; align-items: center; gap: 12px; }
  .barre .bouton { min-height: 44px; padding: 0 22px; }
}
@media (max-width: 560px) {
  .hero-images { grid-template-columns: 1fr 1fr; }
  .etapes li { grid-template-columns: 1fr; gap: 4px; }
  .entretien { grid-template-columns: 1fr; }
  .ligne-p { grid-template-columns: 84px minmax(0, 1fr); }
  .ligne-p .droite { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .produits { gap: 28px 10px; }
  .carte .ligne-info { flex-direction: column; gap: 2px; }
  .legende { flex-direction: column; gap: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
section.hero[data-slot] { padding-block: 0; border-top: 0; }
