@font-face { font-family: "Playfair Display"; font-weight: 500; font-display: swap; src: url("../polices/playfair-display-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 600; font-display: swap; src: url("../polices/playfair-display-latin-600-normal.woff2") format("woff2"); }

:root {
  --encre: #262524;
  --texte: #45433f;
  --pierre: #6d6d6d;
  --trait: #dedad3;
  --papier: #ffffff;
  --sable: #f5f2ed;
  --laiton: #96703a;
  --wa: #17814a;
  --rayon: 4px;
  --nuit: #2f2d2a;
  --titres: "Playfair Display", Georgia, "Times New Roman", serif;
  --police: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--papier); color: var(--texte); font: 17px/1.6 var(--police); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { color: var(--encre); line-height: 1.15; margin: 0 0 .6em; font-family: var(--titres); font-weight: 500; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.2rem; }
.grand-titre { font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -.01em; margin-bottom: .7em; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--laiton); outline-offset: 2px; }

.conteneur { width: min(1180px, 100% - 32px); margin-inline: auto; }
.etroit { max-width: 780px; }
.evitement { position: absolute; left: -999px; }
.evitement:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }

/* En-tête */
.bandeau { margin: 0; background: var(--nuit); color: #fff; font-size: .88rem; font-weight: 600; }
.bandeau .conteneur { display: flex; justify-content: center; flex-wrap: wrap; gap: 2px 22px; padding-block: 6px; }
.bandeau a { text-decoration: none; }
.bandeau a:hover { text-decoration: underline; }
@media (max-width: 620px) { .bandeau-adresse { display: none; } }
.entete { border-bottom: 1px solid var(--trait); background: #fff; position: sticky; top: 0; z-index: 5; }
.entete-ligne { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; flex-wrap: wrap; }
.logo img { width: 150px; }

.entete nav { display: flex; align-items: center; gap: 6px 22px; flex-wrap: wrap; font-weight: 600; }
.entete nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.entete nav a:hover, .entete nav a[aria-current] { border-bottom-color: var(--laiton); }
.entete nav .nav-devis { background: var(--encre); color: #fff; padding: 8px 14px; border-radius: var(--rayon); border: 0; }
.compteur { display: inline-block; min-width: 1.5em; margin-left: 4px; padding: 0 6px; border-radius: 999px; background: var(--laiton); color: #fff; font-size: .8em; text-align: center; }

/* Boutons */
.bouton { display: inline-block; background: var(--encre); color: #fff; border: 2px solid var(--encre); border-radius: var(--rayon); padding: 12px 20px; font: 600 1rem var(--police); text-decoration: none; cursor: pointer; text-align: center; }
.bouton:hover { background: #000; }
.bouton-clair { background: transparent; color: var(--encre); }
.bouton-clair:hover { background: var(--encre); color: #fff; }
.bouton-wa { background: var(--wa); border-color: var(--wa); }
.bouton-wa:hover { background: #0f6337; }
.lien { background: none; border: 0; padding: 0; color: var(--texte); font: inherit; text-decoration: underline; cursor: pointer; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Sections */
.section { padding-block: clamp(36px, 6vw, 72px); }
.section-teinte { background: var(--sable); }
.section-sombre { background: var(--nuit); color: #e9e6e0; }
.section-sombre h2, .section-sombre .carte h3, .section-sombre .carte .carte-prix { color: #fff; }
.section-sombre .carte p { color: #c9c5bd; }
.section-sombre .bouton-clair { color: #fff; border-color: #fff; }
.section-sombre .bouton-clair:hover { background: #fff; color: var(--encre); }
.surtitre { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--laiton); margin-bottom: .8em; }
.chapo { font-size: 1.15rem; max-width: 56ch; }
.titre-ligne { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.titre-ligne a { font-weight: 600; }

/* Accueil */
.hero { background: var(--sable); padding-block: clamp(32px, 6vw, 72px); }
.hero-grille { display: grid; gap: 32px; align-items: center; }
.hero-images { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-images img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; border-radius: var(--rayon); }
.hero-images img:last-child { margin-top: 36px; }
@media (min-width: 860px) { .hero-grille { grid-template-columns: 1fr 1fr; gap: 56px; } }

.aspects { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 14px; }
.aspect { display: block; text-decoration: none; border: 1px solid var(--trait); border-radius: var(--rayon); overflow: hidden; background: #fff; }
.aspect img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.aspect span { display: block; padding: 10px 12px; font-size: .9rem; }
.aspect strong { display: block; color: var(--encre); font-size: 1rem; }
.aspect:hover { border-color: var(--encre); }

.etapes { list-style: none; counter-reset: etape; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.etapes li { counter-increment: etape; border-top: 3px solid var(--encre); padding-top: 14px; }
.etapes li::before { content: counter(etape); display: block; font: 500 2.4rem var(--titres); color: var(--laiton); line-height: 1; margin-bottom: 8px; }
.etapes strong { display: block; color: var(--encre); margin-bottom: 4px; }
.magasin { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }

/* Catalogue */
.filtres { display: grid; gap: 12px; margin-bottom: 14px; }
input[type="search"], input[type="number"], input[type="text"], input[type="tel"], textarea { width: 100%; font: inherit; padding: 11px 12px; border: 1px solid #b9b4aa; border-radius: var(--rayon); background: #fff; color: var(--encre); }
input[type="search"] { max-width: 380px; }
.puces { display: flex; flex-wrap: wrap; gap: 8px; }
.puce { font: 600 .92rem var(--police); padding: 8px 14px; border-radius: 999px; border: 1px solid #b9b4aa; background: #fff; color: var(--texte); cursor: pointer; }
.puce[aria-pressed="true"] { background: var(--encre); border-color: var(--encre); color: #fff; }
.decompte { font-size: .92rem; color: var(--pierre); }
.grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 26px 20px; }
@media (max-width: 520px) { .grille { grid-template-columns: 1fr 1fr; gap: 20px 12px; } }
.carte a { text-decoration: none; display: block; }
.carte-photo { position: relative; margin-bottom: 10px; }
.carte-photo > img:first-child { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--rayon); background: var(--sable); }
.carte-echantillon { position: absolute; right: 8px; bottom: 8px; width: 30%; max-width: 76px; aspect-ratio: 1; object-fit: cover; border: 3px solid #fff; border-radius: 2px; box-shadow: 0 1px 6px rgb(0 0 0 / .25); }
.carte h3 { margin: 0; }
.carte p { margin: 2px 0 0; font-size: .9rem; color: var(--pierre); }
.carte a:hover h3 { text-decoration: underline; }
.vide { padding: 32px 0; }

/* Fiche */
.fil { font-size: .9rem; color: var(--pierre); }
.fiche { display: grid; gap: 28px; }
@media (min-width: 860px) { .fiche { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: start; } }
.galerie-vue { width: 100%; aspect-ratio: 4 / 5; object-fit: contain; background: var(--sable); border-radius: var(--rayon); }
.galerie-vignettes { display: flex; gap: 10px; margin-top: 10px; }
.vignette { padding: 0; border: 2px solid transparent; border-radius: var(--rayon); background: none; cursor: pointer; width: 76px; height: 76px; overflow: hidden; }
.vignette img { width: 100%; height: 100%; object-fit: cover; }
.vignette[aria-current="true"] { border-color: var(--encre); }
.caracteristiques { margin: 0 0 24px; border-top: 1px solid var(--trait); }
.caracteristiques div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--trait); }
.caracteristiques dt { color: var(--pierre); }
.caracteristiques dd { margin: 0; color: var(--encre); font-weight: 600; }
.calcul { background: var(--sable); padding: 20px; border-radius: var(--rayon); }
.calcul label, .etroit label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--encre); }
.calcul input[type="number"] { max-width: 220px; margin-bottom: 10px; }
.case { font-weight: 400 !important; display: flex !important; gap: 8px; align-items: center; margin-block: 10px; }
.resultat { font-weight: 700; color: var(--encre); min-height: 1.6em; }
.confirmation { margin: 12px 0 0; font-weight: 600; color: var(--wa); }

/* Devis */
.lignes { list-style: none; padding: 0; margin: 24px 0; border-top: 1px solid var(--trait); }
.ligne { display: grid; grid-template-columns: 72px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--trait); align-items: start; }
.ligne img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--rayon); }
.ligne-titre { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.ligne-titre a { font: 500 1.15rem var(--titres); color: var(--encre); }
.ligne-format { font-size: .9rem; color: var(--pierre); margin: 0 0 8px; }
.ligne-surface { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ligne-surface label { margin: 0; font-weight: 400; }
.ligne-surface input { width: 110px; padding: 8px 10px; }
.ligne-cartons { font-weight: 700; color: var(--encre); }
textarea { margin-bottom: 18px; resize: vertical; }
.note { margin-top: 18px; font-size: .95rem; }
.coordonnees { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 16px; margin-bottom: 8px; }
.piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.erreur-champ { margin: 4px 0 12px; padding: 8px 12px; background: #fdecea; color: #8c1d18; border: 1px solid #f1b9b4; border-radius: var(--rayon); }

/* Magasin */
.contact { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.horaires { border-collapse: collapse; }
.horaires th { text-align: left; font-weight: 400; padding: 4px 20px 4px 0; }
.horaires td { font-weight: 600; color: var(--encre); }

/* Pied */
.pied { background: var(--encre); color: #d9d6d0; padding-top: 44px; font-size: .95rem; }
.pied h2 { color: #fff; font: 700 .85rem var(--police); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .8em; }
.pied-grille { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.pied-logo { width: 160px; margin-bottom: 10px; }
.pied-bas { border-top: 1px solid #45433f; margin-top: 28px; padding-block: 16px; font-size: .85rem; color: #a8a49c; }
.pied-bas p { margin: 0; }

/* Disponibilité */
.dispo { font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: #fff; color: var(--texte); }
.carte-photo .dispo { position: absolute; left: 8px; top: 8px; box-shadow: 0 1px 4px rgb(0 0 0 / .2); }
.dispo-oui { background: var(--wa); color: #fff; }
.dispo-fiche { display: inline-block; margin: -6px 0 18px; border: 1px solid var(--trait); }
.dispo-fiche.dispo-oui { border-color: var(--wa); }
.sans-photo { display: grid; place-items: center; aspect-ratio: 4 / 5; background: var(--sable); color: var(--pierre); border-radius: var(--rayon); font-size: .9rem; }

/* Prix */
.carte .carte-prix { margin-top: 4px; font-weight: 700; color: var(--encre); }
.estimation, .total { font-weight: 700; color: var(--encre); margin: 6px 0 0; }
.total { margin: 14px 0; padding: 12px 14px; border: 1px solid var(--trait); border-radius: 8px; }

/* Accueil : carrousel des collections */
.carrousel { background: var(--sable); }
.carrousel-piste { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carrousel-piste::-webkit-scrollbar { display: none; }
.diapo { flex: 0 0 100%; scroll-snap-align: start; display: grid; }
.diapo img { width: 100%; height: 300px; object-fit: cover; }
.diapo-texte { padding: 28px 16px 8px; }
.diapo-texte h1, .diapo-titre { font-size: clamp(2.4rem, 6vw, 4.2rem); letter-spacing: -.01em; margin-bottom: .25em; }
.diapo-accroche { font-size: 1.25rem; color: var(--encre); max-width: 30ch; margin-bottom: .4em; }
.diapo-detail { color: var(--pierre); margin-bottom: 1.4em; }
@media (min-width: 860px) {
  .diapo { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; }
  .diapo img { height: clamp(380px, 46vw, 560px); }
  .diapo-texte { padding: 32px 40px 32px max(16px, calc((100vw - 1180px) / 2)); }
}
.carrousel-commandes { display: flex; align-items: center; justify-content: center; gap: 14px; padding-block: 12px; }
.carrousel-fleche { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--encre); background: transparent; color: var(--encre); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.carrousel-fleche:hover { background: var(--encre); color: #fff; }
.carrousel-points { display: flex; gap: 8px; }
.carrousel-points button { width: 34px; height: 4px; padding: 0; border: 0; border-radius: 2px; background: #c9c3b8; cursor: pointer; }
.carrousel-points button[aria-current="true"] { background: var(--encre); }

/* Accueil : atouts */
.atouts { border-bottom: 1px solid var(--trait); }
.atouts ul { list-style: none; padding: 26px 0; margin-block: 0; display: grid; gap: 22px 28px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.atouts li { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: center; font-size: .93rem; color: var(--pierre); }
.atouts svg { grid-row: span 2; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--encre); border-radius: 50%; fill: none; stroke: var(--encre); stroke-width: 1.5; stroke-linejoin: round; }
.atouts strong { color: var(--encre); font-size: 1rem; }

/* Accueil : inspirations */
.inspirations { display: grid; gap: 28px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.inspiration { display: block; text-decoration: none; }
.inspiration img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 12px; }
.inspiration-titre { display: block; font: 500 clamp(1.4rem, 3vw, 2.3rem) var(--titres); color: var(--encre); padding-bottom: 6px; border-bottom: 1px solid var(--encre); }
.inspiration-detail { display: block; margin-top: 6px; font-size: .92rem; color: var(--pierre); }
.inspiration:hover .inspiration-titre { border-bottom-color: var(--laiton); color: var(--laiton); }
@media (min-width: 860px) {
  .inspirations { grid-template-columns: 2fr 1fr 1fr; }
  .inspiration:first-child { grid-row: span 2; }
  .inspiration:first-child img { aspect-ratio: auto; height: calc(100% - 96px); min-height: 420px; }
}

/* Accueil : présentation */
.presentation { display: grid; gap: 28px; align-items: center; }
.presentation img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.presentation .grand-titre { padding-bottom: .5em; border-bottom: 1px solid var(--encre); }
@media (min-width: 860px) { .presentation { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; } }

/* Familles de produits */
.familles { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.famille { display: block; text-decoration: none; background: #fff; border: 1px solid var(--trait); padding: 28px; }
.famille:hover { border-color: var(--encre); }
.famille-titre { display: block; font: 500 clamp(1.6rem, 3vw, 2.2rem) var(--titres); color: var(--encre); padding-bottom: 8px; margin-bottom: 12px; border-bottom: 1px solid var(--encre); }
.famille-texte { display: block; margin-bottom: 14px; }
.famille-lien { font-weight: 600; color: var(--encre); text-decoration: underline; text-underline-offset: 3px; }
.attente { max-width: 680px; margin-top: 12px; padding: 28px; background: var(--sable); }
.attente h2 { font-size: 1.6rem; }
.presentation-accroche { font: 500 clamp(1.25rem, 2.4vw, 1.6rem)/1.4 var(--titres); color: var(--encre); }
.fiche-texte { margin: 0 0 1.25rem; line-height: 1.6; color: var(--encre); }

/* Mentions légales */
.textes-legaux h2 { font-size: 1.4rem; margin-top: 1.6em; }
.textes-legaux li { margin-bottom: .4em; }
.a-completer { background: #fff3c4; color: #6b4e00; padding: 0 4px; font-weight: 600; }
.pied-bas a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
