/* Modèle de site vitrine d'artisan. Les couleurs viennent de theme.css (une par entreprise). */
:root {
  --accent: #1f5fa8; --accent-fonce: #174a85; --accent-doux: #e8f0fa; --sur-accent: #fff;
  --encre: #17212e; --doux: #556274; --fond: #fff; --fond-2: #f5f7fa; --trait: #dfe5ec;
  --ombre: 0 1px 2px rgba(23,33,46,.06), 0 14px 34px rgba(23,33,46,.09);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
       color: var(--encre); background: var(--fond); overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
p { margin: 0; }
.largeur { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Bandeau des sites d'exemple */
.exemple { background: #1b2430; color: #dfe6ee; font-size: .88rem; text-align: center; padding: 8px 16px; }
.exemple a { color: #fff; }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
          border-bottom: 1px solid var(--trait); }
.entete .largeur { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.marque { display: flex; align-items: center; gap: 12px; font-weight: 750; font-size: 1.12rem; color: var(--encre);
          text-decoration: none; letter-spacing: -0.01em; }
.sigle { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px;
         background: var(--accent); color: var(--sur-accent); font-weight: 800; font-size: 1rem; letter-spacing: 0; }
.entete nav { margin-left: auto; display: flex; gap: 22px; font-size: .96rem; }
.entete nav a { color: var(--doux); text-decoration: none; }
.entete nav a:hover { color: var(--accent); }

/* Boutons */
.bouton { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 12px;
          background: var(--accent); color: var(--sur-accent); font-weight: 700; text-decoration: none;
          border: 2px solid var(--accent); transition: transform .12s ease, background .12s ease; }
.bouton:hover { background: var(--accent-fonce); border-color: var(--accent-fonce); transform: translateY(-1px); }
.bouton.clair { background: transparent; color: var(--accent); }
.bouton.clair:hover { background: var(--accent-doux); }
.entete .bouton { padding: 9px 16px; font-size: .96rem; white-space: nowrap; }

/* Accroche */
.accroche { background: linear-gradient(180deg, var(--accent-doux), var(--fond) 92%); padding: 76px 0 84px; }
.accroche .largeur { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.surtitre { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-weight: 700;
            font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.surtitre::before { content: ""; width: 30px; height: 3px; border-radius: 2px; background: var(--accent); }
.accroche h1 { font-size: clamp(2.2rem, 5.2vw, 3.5rem); letter-spacing: -0.035em; line-height: 1.04; }
.accroche h1 em { font-style: normal; color: var(--accent); }
.accroche .chapo { font-size: 1.2rem; color: var(--doux); margin-top: 20px; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.coches { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px;
          color: var(--doux); font-size: .96rem; }
.coches li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: 8px; }

/* À droite de l'accroche : une photo, ou la carte de l'entreprise */
.accroche .photo img { border-radius: 20px; box-shadow: var(--ombre); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.carte-visite { background: var(--accent); color: var(--sur-accent); border-radius: 22px; padding: 34px;
                box-shadow: var(--ombre); position: relative; overflow: hidden; isolation: isolate; }
.carte-visite::before { content: ""; position: absolute; z-index: -1; width: 320px; height: 320px; border-radius: 50%;
                        right: -110px; top: -130px; background: rgba(255,255,255,.1); }
.carte-visite::after { content: ""; position: absolute; z-index: -1; width: 220px; height: 220px; border-radius: 50%;
                       left: -90px; bottom: -120px; background: rgba(0,0,0,.1); }
.carte-visite .nom { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.carte-visite .metier { opacity: .86; margin-top: 4px; }
.carte-visite dl { margin: 26px 0 0; display: grid; gap: 14px; }
.carte-visite dt { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; opacity: .72; }
.carte-visite dd { margin: 2px 0 0; font-weight: 650; }
.carte-visite a { color: inherit; text-decoration: none; }
.carte-visite .grand { font-size: 1.55rem; letter-spacing: -0.01em; }

/* Sections */
.section { padding: 84px 0; }
.section.teintee { background: var(--fond-2); }
.intro { max-width: 40em; margin-bottom: 40px; }
.intro p { color: var(--doux); font-size: 1.1rem; margin-top: 14px; }

.prestations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 0; margin: 0;
               list-style: none; counter-reset: prestation; }
.prestations li { background: var(--fond); border: 1px solid var(--trait); border-radius: 18px; padding: 26px;
                  counter-increment: prestation; transition: transform .15s ease, box-shadow .15s ease; }
.prestations li:hover { transform: translateY(-3px); box-shadow: var(--ombre); }
.prestations li::before { content: counter(prestation, decimal-leading-zero); display: block; color: var(--accent);
                          font-weight: 800; font-size: .86rem; letter-spacing: .08em; margin-bottom: 14px; }
.prestations h3 { font-size: 1.14rem; }
.prestations p { color: var(--doux); margin-top: 8px; font-size: .98rem; }

.deux { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.atouts { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.atouts li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
.atouts li::before { content: "✓"; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
                     background: var(--accent-doux); color: var(--accent); font-weight: 800; }
.presentation p + p { margin-top: 14px; }
.presentation p { color: var(--doux); font-size: 1.06rem; }
.presentation h2 { margin-bottom: 18px; }

.communes { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.communes li { background: var(--fond); border: 1px solid var(--trait); border-radius: 999px; padding: 7px 16px; font-size: .96rem; }
.communes li:first-child { background: var(--accent); border-color: var(--accent); color: var(--sur-accent); font-weight: 700; }
.rayon { color: var(--doux); margin-top: 18px; }

.galerie { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.galerie figure { margin: 0; }
.galerie img { border-radius: 16px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.galerie figcaption { color: var(--doux); font-size: .92rem; margin-top: 8px; }

.avis { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.avis blockquote { margin: 0; background: var(--fond); border: 1px solid var(--trait); border-radius: 18px; padding: 26px;
                   border-top: 4px solid var(--accent); }
.avis blockquote p { font-size: 1.02rem; }
.avis footer { color: var(--doux); font-size: .92rem; margin-top: 14px; }

/* Contact */
.contact { background: var(--encre); color: #fff; padding: 84px 0; }
.contact .largeur { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.contact h2 { color: #fff; }
.contact p { color: #b9c4d1; font-size: 1.1rem; margin-top: 14px; }
.contact .bouton.clair { color: #fff; border-color: rgba(255,255,255,.4); }
.contact .bouton.clair:hover { background: rgba(255,255,255,.1); }
.coordonnees { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 28px;
               margin: 0; display: grid; gap: 16px; }
.coordonnees dt { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: #93a1b3; }
.coordonnees dd { margin: 2px 0 0; font-weight: 600; }
.coordonnees a { color: #fff; }

.pied { background: #101820; color: #93a1b3; font-size: .9rem; padding: 26px 0; }
.pied .largeur { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.pied a { color: #cfd8e3; }

/* Page des mentions légales */
.texte { padding: 64px 0 84px; max-width: 760px; }
.texte h1 { font-size: 2.1rem; margin-bottom: 26px; }
.texte h2 { font-size: 1.25rem; margin: 30px 0 8px; }
.texte p { color: var(--doux); }

@media (max-width: 860px) {
  .accroche { padding: 48px 0 56px; }
  .accroche .largeur, .deux, .contact .largeur { grid-template-columns: 1fr; gap: 36px; }
  .entete nav { display: none; }
  .prestations { grid-template-columns: 1fr 1fr; }
  .entete .bouton { margin-left: auto; }
  .section, .contact { padding: 60px 0; }
  .actions .bouton { flex: 1 1 100%; justify-content: center; }
}
@media (max-width: 560px) {
  .prestations { grid-template-columns: 1fr; }
  .entete .largeur { gap: 12px; padding: 0 16px; }
  .marque { min-width: 0; font-size: 1rem; gap: 9px; line-height: 1.15; }
  .entete .bouton { padding: 8px 12px; font-size: .88rem; flex: none; }
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes monte { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
  .accroche .largeur > * { animation: monte .6s ease-out both; }
  .accroche .largeur > :nth-child(2) { animation-delay: .15s; }
}
@media print { .entete, .exemple { position: static; } .bouton { border: 1px solid; } }

/* ───── Thème « Journal » : noir et blanc, colonnes et filets, la couleur seulement sur les boutons ───── */
:root { --encre: #111; --doux: #444; --fond: #fdfcf9; --fond-2: #fdfcf9; --trait: #111; --ombre: none; }
body { font-family: Georgia, "Times New Roman", serif; font-size: 18px; }
h1, h2, h3, .marque { font-family: "Playfair Display", "Bodoni MT", Didot, "Times New Roman", Georgia, serif; font-weight: 700; letter-spacing: -0.01em; }
.surtitre, .entete nav, .bouton, dt, .pied, .communes, .coches { font-family: system-ui, "Segoe UI", Arial, sans-serif; }
.entete { position: static; background: var(--fond); border: 0; }
.entete .largeur { flex-wrap: wrap; justify-content: center; padding-top: 22px; border-bottom: 4px double #111; gap: 6px 24px; }
.marque { flex: 1 1 100%; justify-content: center; font-size: clamp(1.8rem, 5vw, 3rem); font-weight: 900; padding-bottom: 14px;
          border-bottom: 1px solid #111; }
.sigle { display: none; }
.entete nav { margin: 0; padding: 8px 0; text-transform: uppercase; font-size: .78rem; letter-spacing: .14em; }
.entete nav a { color: #111; }
.entete .bouton { background: none; border: 0; color: #111; padding: 8px 0; font-size: .86rem; }
.bouton { border-radius: 0; text-transform: uppercase; letter-spacing: .08em; font-size: .86rem; }
.bouton.clair { color: #111; border-color: #111; }
.accroche { background: none; padding: 56px 0; }
.accroche .largeur { grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.surtitre { color: #111; } .surtitre::before { background: #111; height: 1px; }
.accroche h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); line-height: 1.02; }
.accroche h1 em { font-style: italic; color: #111; }
.accroche .chapo { font-size: 1.3rem; color: #222; }
.accroche .chapo::first-letter { font-size: 3.2em; float: left; line-height: .82; padding: 6px 10px 0 0; font-weight: 700; color: var(--accent); }
.coches li::before { color: #111; }
.accroche .photo img { border-radius: 0; filter: grayscale(1) contrast(1.05); box-shadow: none; }
.carte-visite { background: none; color: #111; border-radius: 0; box-shadow: none; border: 1px solid #111; border-width: 4px 1px 1px; padding: 24px; }
.carte-visite::before, .carte-visite::after { display: none; }
.section { padding: 56px 0; } .section > .largeur, .contact > .largeur { border-top: 4px double #111; padding-top: 40px; }
.intro { max-width: none; } .intro p { font-style: italic; }
.prestations { gap: 0; }
.prestations li { background: none; border: 0; border-radius: 0; padding: 4px 26px 26px; border-left: 1px solid #111; }
.prestations li:nth-child(3n+1) { border-left: 0; padding-left: 0; }
.prestations li:hover { transform: none; box-shadow: none; }
.prestations li::before { color: #111; font-family: system-ui, sans-serif; content: "N° " counter(prestation); }
.presentation p { columns: 1; color: #222; text-align: justify; hyphens: auto; }
.atouts li { grid-template-columns: 1fr; border-bottom: 1px solid #111; padding-bottom: 12px; font-style: italic; }
.atouts li::before { display: none; }
.communes li, .communes li:first-child { border: 0; background: none; color: #111; padding: 0; text-transform: uppercase; letter-spacing: .1em; font-size: .84rem; font-weight: 600; }
.communes li:not(:last-child)::after { content: "•"; margin-left: 10px; }
.galerie img { border-radius: 0; filter: grayscale(1); } .galerie figcaption { font-style: italic; }
.avis blockquote { background: none; border: 0; border-left: 1px solid #111; border-radius: 0; font-style: italic; }
.contact { background: none; color: #111; padding: 56px 0; }
.contact h2 { color: #111; } .contact p { color: #222; }
.contact .bouton.clair { color: #111; border-color: #111; }
.coordonnees { background: none; border: 1px solid #111; border-radius: 0; } .coordonnees dt { color: #444; } .coordonnees a { color: #111; }
.pied { background: #111; }
@media (max-width: 860px) { .accroche .largeur { grid-template-columns: 1fr; } .entete nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; }
  .prestations li, .prestations li:nth-child(3n+1) { border-left: 0; border-top: 1px solid #111; padding: 20px 0; } }
