/* Paul Priou · Antiquités Brocante — feuille de style */

:root {
  --ivoire: #FBF7F0;
  --sable: #F2E9DB;
  --photo-claire: #EADFCD;
  --photo-foncee: #E3D6C1;
  --filet: #D8C7AE;
  --encre: #2E2620;
  --encre-douce: #5A4C3E;
  --ocre: #8A4B14;
  --ocre-fonce: #65360D;
  --vert: #2F4A3A;
  --vert-texte: #DDE5DF;
  --vert-filet: #9DB3A5;
  --titre: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --texte: 'Mulish', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --largeur: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivoire);
  color: var(--encre);
  font-family: var(--texte);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--ocre); }
a:hover { color: var(--ocre-fonce); }

:focus-visible { outline: 2px solid var(--ocre); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--titre); margin: 0; }
p { margin: 0; }

.conteneur { max-width: var(--largeur); margin: 0 auto; padding: 0 32px; }

.lien-evitement {
  position: absolute; left: -9999px; top: 0;
  background: var(--encre); color: var(--ivoire); padding: 10px 16px; z-index: 10;
}
.lien-evitement:focus { left: 8px; top: 8px; color: var(--ivoire); }

.surtitre {
  font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ocre); font-weight: 700; font-family: var(--texte);
}

/* Boutons */
.bouton {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 14px 30px; border-radius: 999px; border: 1px solid transparent;
  transition: background-color .15s, color .15s;
}
.bouton-plein { background: var(--ocre); color: var(--ivoire); }
.bouton-plein:hover { background: var(--ocre-fonce); color: var(--ivoire); }
.bouton-contour { color: var(--encre); border-color: var(--encre); }
.bouton-contour:hover { background: var(--encre); color: var(--ivoire); }

/* En-tête */
.entete {
  padding-top: 28px; padding-bottom: 20px;
  display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center;
}
.enseigne { display: flex; flex-direction: column; gap: 4px; align-items: center; text-decoration: none; color: var(--encre); }
.enseigne:hover { color: var(--encre); }
.enseigne-nom { font-family: var(--titre); font-size: 36px; font-weight: 600; line-height: 1.1; }
.menu {
  align-self: stretch; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 36px;
  border-top: 1px solid var(--filet); border-bottom: 1px solid var(--filet); padding: 4px 32px;
  font-size: 16px;
}
.menu a { color: var(--encre); text-decoration: none; padding: 11px 0; }
.menu a:hover { color: var(--ocre); }
.menu a.menu-contact { color: var(--ocre); font-weight: 700; }

/* Accueil */
.accueil {
  padding-top: 56px; padding-bottom: 88px;
  display: flex; flex-direction: column; gap: 26px; align-items: center; text-align: center;
}
.accueil h1 { max-width: 900px; font-weight: 500; font-size: clamp(42px, 6.4vw, 72px); line-height: 1.02; }
.accueil h1 em { font-style: italic; color: var(--ocre); }
.accueil-texte { max-width: 580px; color: var(--encre-douce); }
.boutons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.arches { width: 100%; display: flex; flex-wrap: wrap; gap: 20px; margin-top: 28px; align-items: flex-end; }
.arche {
  flex: 1 1 200px; min-width: 0; height: 320px; overflow: hidden;
  background: var(--photo-claire); border-radius: 50% 50% 8px 8px / 30% 30% 8px 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--encre-douce); font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase;
}
.arche-grande { flex: 3 1 440px; height: 380px; background: var(--photo-foncee); }
.arche img { width: 100%; height: 100%; object-fit: cover; }
/* Devanture : on garde le haut (corniche, volets) et on rogne le sol */
.arche-grande img { object-position: 50% 0; }
.arche-statuette img { object-position: 50% 52%; }

/* Services */
.services { padding-bottom: 96px; display: flex; flex-direction: column; gap: 44px; }
.titre-section { font-weight: 500; font-size: clamp(34px, 4.4vw, 46px); line-height: 1.1; text-align: center; }
.services-liste { display: flex; flex-wrap: wrap; gap: 28px; }
.service {
  flex: 1 1 280px; min-width: 0; border-top: 3px solid var(--ocre); padding: 26px 4px 0;
  display: flex; flex-direction: column; gap: 12px;
}
.service h3 { font-weight: 600; font-size: 28px; line-height: 1.15; }
.service p { color: var(--encre-douce); }

/* Histoire */
.histoire { background: var(--sable); padding: 96px 0; }
.histoire-contenu {
  max-width: 860px; margin: 0 auto; padding: 0 32px;
  display: flex; flex-direction: column; gap: 24px; align-items: center; text-align: center;
}
.portrait {
  width: 170px; height: 215px; object-fit: cover; object-position: 50% 30%;
  border-radius: 90px 90px 8px 8px;
}
.histoire-recit { font-family: var(--titre); font-weight: 500; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.25; }
.trait { width: 56px; height: 1px; background: var(--ocre); }
.histoire-note { color: var(--encre-douce); }

/* Déballages */
.deballages { background: var(--vert); color: var(--ivoire); padding: 84px 0; }
.deballages-contenu { display: flex; flex-direction: column; gap: 30px; align-items: center; text-align: center; }
.deballages p { max-width: 560px; color: var(--vert-texte); }
.villes { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.villes li { border: 1px solid var(--vert-filet); border-radius: 999px; padding: 10px 24px; font-family: var(--titre); font-size: 25px; line-height: 1.4; }

/* Contact */
.contact { padding-top: 96px; padding-bottom: 88px; }
.contact-carte {
  border: 1px solid var(--filet); border-radius: 14px; padding: 56px 48px;
  display: flex; flex-wrap: wrap; gap: 40px 56px;
}
.contact-appel { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.contact-appel h2 { font-weight: 500; font-size: clamp(32px, 4.2vw, 44px); line-height: 1.1; }
.contact-appel p { color: var(--encre-douce); }
.coordonnees { flex: 1 1 320px; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 20px; }
.coordonnees div { display: flex; flex-direction: column; gap: 2px; }
.coordonnees dt { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ocre); font-weight: 700; }
.coordonnees dd { margin: 0; }

/* Menu : page en cours */
.menu a[aria-current="page"] { color: var(--ocre); box-shadow: inset 0 -2px 0 var(--ocre); }

/* Liens « en savoir plus » */
.lien-fleche { font-weight: 700; color: var(--ocre); text-decoration: none; }
.lien-fleche::after { content: " →"; }
a.lien-fleche:hover, .service-lien:hover .lien-fleche { color: var(--ocre-fonce); text-decoration: underline; text-underline-offset: 4px; }
.service-lien { text-decoration: none; color: var(--encre); }
.service-lien:hover { color: var(--encre); }
.service-lien:hover h3 { color: var(--ocre); }

.bouton-clair { color: var(--ivoire); border-color: var(--vert-filet); }
.bouton-clair:hover { background: var(--ivoire); color: var(--vert); }

/* Deux colonnes : image et texte */
.duo { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: center; justify-content: center; }
.portrait-grand { width: 280px; height: 350px; border-radius: 50% 50% 8px 8px / 30% 30% 8px 8px; }
.duo-texte { flex: 0 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.duo-texte p { color: var(--encre-douce); }
.duo-texte p.histoire-recit { color: var(--encre); }
.titre-bloc { font-weight: 500; font-size: clamp(32px, 4.2vw, 44px); line-height: 1.1; }

.contact-actions { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; justify-content: center; }
.contact-page { padding-top: 0; }
.contact-page .contact-appel h2 { margin-bottom: 6px; }

/* Haut des pages intérieures */
.page-entete {
  padding-top: 64px; padding-bottom: 72px;
  display: flex; flex-direction: column; gap: 20px; align-items: center; text-align: center;
}
.page-entete h1 { max-width: 860px; font-weight: 500; font-size: clamp(40px, 5.6vw, 64px); line-height: 1.04; }
.page-entete h1 em { font-style: italic; color: var(--ocre); }
.page-entete p { max-width: 620px; color: var(--encre-douce); }

/* Services en détail */
.details { padding-bottom: 96px; }
.detail { display: flex; flex-wrap: wrap; gap: 24px 56px; padding: 44px 0; border-top: 1px solid var(--filet); scroll-margin-top: 24px; }
.detail:last-child { border-bottom: 1px solid var(--filet); }
.detail-titre { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.detail-titre h2 { font-weight: 500; font-size: clamp(28px, 3.6vw, 36px); line-height: 1.12; }
.numero { font-family: var(--titre); font-style: italic; font-size: 26px; color: var(--ocre); line-height: 1; }
.detail-texte { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.detail-texte p { color: var(--encre-douce); }
.liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.liste li { position: relative; padding-left: 26px; }
.liste li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 14px; height: 1px; background: var(--ocre); }
.liste-centree { text-align: left; }

/* Bandeau d'appel en bas de page */
.appel { padding-bottom: 96px; }
.appel-carte {
  background: var(--sable); border-radius: 14px; padding: 44px 48px;
  display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between;
}
.appel-carte h2 { font-weight: 500; font-size: clamp(28px, 3.6vw, 36px); line-height: 1.12; }
.appel-carte p { color: var(--encre-douce); margin-top: 8px; }

/* Repères chiffrés */
.reperes { padding-top: 72px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 32px; justify-content: center; text-align: center; }
.repere { flex: 1 1 200px; display: flex; flex-direction: column; gap: 4px; color: var(--encre-douce); }
.repere-chiffre { font-family: var(--titre); font-size: 50px; line-height: 1.1; color: var(--ocre); }

.vitrine { padding-bottom: 96px; display: flex; flex-direction: column; gap: 24px; align-items: center; text-align: center; }
.vitrine img { width: 100%; max-width: 880px; height: auto; border-radius: 14px; }

/* Bloc de texte centré */
.note {
  max-width: 760px; padding-top: 88px; padding-bottom: 96px;
  display: flex; flex-direction: column; gap: 20px; align-items: center; text-align: center;
}
.note p { color: var(--encre-douce); }
.villes-grandes li { font-size: 30px; padding: 14px 32px; }

/* Pied de page */
.pied { border-top: 1px solid var(--filet); }
.pied-contenu {
  padding-top: 32px; padding-bottom: 32px;
  display: flex; flex-wrap: wrap; gap: 20px 48px; justify-content: space-between; align-items: flex-start;
  font-size: 15px; color: var(--encre-douce);
}
.pied a { color: var(--encre-douce); }
.pied-bloc { display: flex; flex-direction: column; gap: 2px; }
.pied-nom { font-family: var(--titre); font-size: 24px; font-weight: 600; color: var(--encre); line-height: 1.2; }
.pied-liens { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.pied-liens a { padding: 6px 0; }

/* Page de texte (mentions légales) */
.page-texte { max-width: 760px; margin: 0 auto; padding: 56px 32px 96px; display: flex; flex-direction: column; gap: 20px; }
.page-texte h1 { font-weight: 500; font-size: clamp(38px, 5vw, 54px); line-height: 1.05; }
.page-texte h2 { font-weight: 600; font-size: 28px; margin-top: 20px; }
.page-texte p { color: var(--encre-douce); }

/* Téléphones */
@media (max-width: 600px) {
  .conteneur, .histoire-contenu { padding-left: 20px; padding-right: 20px; }
  .menu { gap: 0 22px; padding: 4px 12px; }
  .accueil { padding-top: 40px; padding-bottom: 64px; }
  .arche { flex-basis: 100%; height: 420px; }
  .arche-grande { flex-basis: 100%; order: -1; height: 250px; }
  .histoire, .deballages { padding: 64px 0; }
  .contact-carte { padding: 36px 24px; }
  .bouton { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Photos des pages intérieures */
.photo-large { margin: 0 auto; padding-bottom: 72px; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.photo-large img { width: 100%; height: auto; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 14px; display: block; }
.detail-photo { flex: 1 1 100%; margin: 12px 0 0; display: flex; flex-direction: column; gap: 10px; }
.detail-photo img { width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; object-position: 50% 62%; border-radius: 14px; display: block; }
.photo-large figcaption, .detail-photo figcaption { font-size: 13px; color: var(--encre-douce); }
.photo-large figcaption a, .detail-photo figcaption a { color: inherit; }

/* Villes cliquables */
.villes li.ville-lien { padding: 0; }
.villes li.ville-lien a { display: block; padding: 10px 24px; border-radius: 999px; color: inherit; text-decoration: none; transition: background-color .2s, color .2s; }
.villes li.ville-lien a::after { content: " \2197"; font-family: var(--texte); font-size: 0.55em; vertical-align: 0.35em; color: var(--vert-filet); }
.villes li.ville-lien a:hover, .villes li.ville-lien a:focus-visible { background: var(--ivoire); color: var(--vert); }
.villes-grandes li.ville-lien a { padding: 14px 32px; }
.photo-haute img { aspect-ratio: 16 / 10; object-position: 50% 30%; }
.photo-fourgon img { object-position: 50% 50%; }
.duo-texte p.histoire-suite { color: var(--encre); font-size: 18px; line-height: 1.65; }
.duo-texte p.histoire-recit { font-size: clamp(22px, 2.3vw, 26px); line-height: 1.4; }

/* Baguettes dorées autour des photos */
:root { --dorure: linear-gradient(135deg, #F8ECC0 0%, #DDB95C 24%, #A9812F 50%, #F4E4AC 74%, #C9A24A 100%); --forme-arche: 50% 50% 8px 8px / 30% 30% 8px 8px; }
.arche, .cadre-arche {
  box-sizing: border-box; padding: 6px; background: var(--dorure); border-radius: var(--forme-arche);
  box-shadow: 0 0 0 1px #6B4E12, 0 12px 24px rgba(46, 38, 32, .2); overflow: visible;
}
.arche-grande { background: var(--dorure); }
.arche img, .cadre-arche img { display: block; border-radius: var(--forme-arche); box-shadow: 0 0 0 1px #4A3409, 0 0 0 3px #B8902F, 0 0 0 4px #4A3409; }
.cadre-arche { display: block; flex: 0 0 auto; }
.cadre-arche .portrait-grand { width: 260px; height: 330px; }
.photo-large img, .vitrine img {
  box-sizing: border-box; border: 6px solid transparent; border-radius: 4px;
  background: var(--dorure) border-box; box-shadow: 0 0 0 1px #6B4E12, 0 12px 24px rgba(46, 38, 32, .18);
}
.detail-vignette { margin: 14px 0 0; display: flex; flex-direction: column; gap: 8px; max-width: 420px; }
.detail-vignette img {
  width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block;
  box-sizing: border-box; border: 6px solid transparent; border-radius: 4px;
  background: var(--dorure) border-box; box-shadow: 0 0 0 1px #6B4E12, 0 12px 24px rgba(46, 38, 32, .18);
}
.detail-vignette figcaption { font-size: 13px; color: var(--encre-douce); }
.detail-vignette figcaption a { color: inherit; }

/* Services : titre, puis photo et texte à la même hauteur */
.detail { flex-direction: column; gap: 22px; }
.detail-titre { flex: 0 0 auto; }
.detail-corps { display: flex; flex-wrap: wrap; gap: 28px 56px; align-items: center; }
.detail-corps .detail-vignette { flex: 1 1 320px; max-width: 440px; margin: 0; }
.detail-corps .detail-texte { flex: 1 1 380px; }
.detail-vignette img { aspect-ratio: 3 / 2; }

/* Avis Google */
.avis { padding-top: 88px; display: flex; flex-wrap: wrap; gap: 32px 72px; align-items: center; justify-content: center; }
.avis-note { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.avis-chiffre { font-family: var(--titre); font-size: 76px; line-height: 1; color: var(--ocre); }
.avis-chiffre small { font-size: 28px; color: var(--encre-douce); }
.avis-etoiles { color: #C9A24A; font-size: 24px; letter-spacing: 4px; }
.avis-nombre { font-size: 14px; color: var(--encre-douce); }
.avis-texte { flex: 0 1 520px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.avis-texte p { color: var(--encre-douce); }

/* Dates des déballages */
.dates { padding-top: 88px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 32px; align-items: center; text-align: center; }
.dates-liste { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; text-align: left; }
.date-ville { border: 1px solid var(--filet); border-top: 2px solid var(--ocre); border-radius: 4px; padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.date-ville h3 { font-weight: 500; font-size: 26px; line-height: 1.1; }
.date-ville p, .date-ville li { font-size: 15px; color: var(--encre-douce); }
.date-ville p.date-rythme { font-weight: 700; font-size: 13px; letter-spacing: 0.04em; color: var(--ocre); }
.date-ville ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.dates-note { max-width: 640px; font-size: 14px; color: var(--encre-douce); }

/* Bandeau défilant des avis */
.avis-bandeau { margin-top: 48px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.avis-piste { display: flex; gap: 20px; width: max-content; padding: 8px 10px 20px; animation: avis-defile 60s linear infinite; }
.avis-bandeau:hover .avis-piste, .avis-bandeau:active .avis-piste { animation-play-state: paused; }
.avis-carte { margin: 0; width: 340px; flex: 0 0 auto; background: var(--sable); border-radius: 10px; border-top: 2px solid #C9A24A; padding: 24px 26px; display: flex; flex-direction: column; gap: 12px; }
.avis-carte .avis-etoiles { font-size: 17px; letter-spacing: 3px; }
.avis-carte blockquote { margin: 0; font-family: var(--titre); font-size: 21px; line-height: 1.35; color: var(--encre); }
.avis-carte figcaption { margin-top: auto; font-weight: 700; font-size: 14px; color: var(--ocre); }
@keyframes avis-defile { to { transform: translateX(calc(-50% - 10px)); } }
@media (prefers-reduced-motion: reduce) { .avis-bandeau { overflow-x: auto; } .avis-piste { animation: none; } }
@media (max-width: 600px) { .avis-carte { width: 280px; } }
.photo-haute img { max-width: 880px; }
.contact-rassure { margin-top: 12px; max-width: 400px; padding: 18px 20px; background: var(--sable); border-left: 2px solid #C9A24A; border-radius: 4px; display: flex; flex-direction: column; gap: 8px; }
.contact-rassure p { color: var(--encre-douce); font-size: 16px; line-height: 1.55; }

/* Bouton d'appel flottant, sur téléphone seulement */
.appel-flottant { display: none; }
@media (max-width: 760px) {
  .appel-flottant {
    position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 50;
    width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: var(--ocre); color: var(--ivoire); border: 2px solid #C9A24A;
    box-shadow: 0 8px 22px rgba(46, 38, 32, .35);
  }
  .appel-flottant:active { background: var(--ocre-fonce); }
  .pied { padding-bottom: 76px; }
}

/* Réglages téléphone après contrôle sur iPhone */
@media (max-width: 600px) {
  .menu { flex-wrap: nowrap; justify-content: space-between; gap: 0 6px; padding: 4px 0; font-size: clamp(12.5px, 3.7vw, 16px); }
  .menu a { white-space: nowrap; }
  .arche-grande { order: 0; }
  .cadre-arche .portrait-grand { width: min(80vw, 340px); height: auto; aspect-ratio: 4 / 5; }
  .villes { flex-direction: column; align-items: center; }
  .villes li { width: min(250px, 80%); text-align: center; }
}
