:root {
  --bordeaux: #600529;
  --bordeaux-2: #7b1e3a;
  --bordeaux-3: #5a1530;
  --or: #c9a45c;
  --or-fonce: #a8843f;
  --or-clair: #e8c983;
  --creme: #faf6ee;
  --texte: #343330;
  --blanc: #ffffff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--texte);
  background: var(--creme);
  line-height: 1.6;
  font-size: 16px;
}
a { color: inherit; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Menu */
.menu {
  position: sticky; top: 0; z-index: 10;
  background: var(--bordeaux-3);
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
}
.menu .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 60px;
}
.marque {
  font-family: "League Spartan", Arial, sans-serif;
  font-weight: 700; font-size: 1.25rem;
  color: var(--blanc); text-decoration: none; white-space: nowrap;
}
.marque span { color: var(--or-clair); }
.menu ul { list-style: none; display: flex; gap: 6px; flex-wrap: wrap; margin-left: auto; }
.menu ul a {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: #f3e9ec; text-decoration: none; font-weight: 500; font-size: .95rem;
  transition: background .2s ease, color .2s ease;
}
.menu ul a:hover { background: rgba(201,164,92,.18); color: var(--blanc); }
.menu ul a[aria-current="page"] { background: var(--or); color: var(--bordeaux-3); font-weight: 600; }

/* Bouton « Installer » */
.installer {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1.5px solid var(--or); color: var(--or-clair);
  font: 600 .85rem "Montserrat", Arial, sans-serif; white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.installer svg { width: 16px; height: 16px; fill: currentColor; }
.installer:hover { background: var(--or); color: var(--bordeaux-3); }
.installer-bulle {
  position: fixed; top: 70px; right: 20px; z-index: 20; max-width: 320px;
  background: var(--blanc); color: var(--texte); border-radius: 14px;
  border-top: 4px solid var(--or); padding: 18px 40px 18px 20px;
  box-shadow: 0 12px 32px rgba(0,0,0,.2); font-size: .93rem;
  animation: monte .3s ease-out both;
}
.installer-bulle[hidden] { display: none; }
.installer-bulle .bulle-titre { font-weight: 700; color: var(--bordeaux-2); margin-bottom: 6px; }
.installer-bulle .fermer {
  position: absolute; top: 8px; right: 10px; border: 0; background: none;
  font-size: 1.4rem; line-height: 1; color: var(--bordeaux-2); cursor: pointer;
}

/* En-tête de l'accueil */
header.hero-bloc {
  background: var(--bordeaux);
  color: var(--blanc);
  padding: 56px 0 64px;
}
.hero {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: center;
}
.photo {
  width: 220px; height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--or);
  display: block;
}
h1 {
  font-family: "League Spartan", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  line-height: 1.05;
  color: var(--blanc);
}
.titre {
  margin-top: 10px;
  color: var(--or-clair);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .95rem;
}
.accroche {
  margin-top: 18px;
  max-width: 560px;
  font-size: 1.05rem;
  color: #f3e9ec;
}
.actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-or { background: var(--or); color: var(--bordeaux-3); }
.btn-or:hover { background: var(--or-clair); }
.btn-ligne { border: 2px solid var(--or); color: var(--blanc); }
.btn-ligne:hover { background: rgba(201,164,92,.15); }
.btn-bordeaux { background: var(--bordeaux-2); color: var(--blanc); }
.btn-bordeaux:hover { background: var(--bordeaux); }

/* En-tête des autres pages */
header.page-titre {
  background: var(--bordeaux);
  color: var(--blanc);
  padding: 44px 0 48px;
}
header.page-titre h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
header.page-titre p { margin-top: 10px; color: #f3e9ec; max-width: 640px; }

/* Bandeau infos */
.infos {
  background: var(--blanc);
  border-bottom: 1px solid #eadfd0;
}
.infos ul {
  list-style: none;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px 36px;
  padding: 18px 0;
  font-weight: 500;
  font-size: .95rem;
}
.infos li { display: flex; align-items: center; gap: 8px; }
.infos svg, .contact-ligne svg { width: 18px; height: 18px; fill: var(--bordeaux-2); flex-shrink: 0; }
.infos a { text-decoration: none; }
.infos a:hover { color: var(--bordeaux-2); }

/* Sections */
main.wrap { padding-top: 56px; padding-bottom: 24px; }
.infos li, .carte li, .competences li { overflow-wrap: anywhere; }
section { margin-bottom: 56px; }
h2 {
  font-family: "League Spartan", Arial, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--bordeaux-2);
  font-size: 1.6rem;
  letter-spacing: .02em;
  padding-bottom: 10px;
  margin-bottom: 24px;
  border-bottom: 2px dotted var(--or);
}
.intro { max-width: 720px; margin: -8px 0 24px; }
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.carte {
  background: var(--blanc);
  border-radius: 14px;
  padding: 24px 26px;
  border-top: 4px solid var(--or);
  box-shadow: 0 2px 10px rgba(96,5,41,.06);
}
.carte h3 {
  font-size: 1.08rem;
  color: var(--bordeaux-3);
  margin-bottom: 10px;
}
.carte ul { padding-left: 20px; }
.carte li { margin-bottom: 4px; }
.carte li::marker { color: var(--or-fonce); }
a.carte { display: block; text-decoration: none; }
.carte .plus { display: inline-block; margin-top: 12px; color: var(--or-fonce); font-weight: 600; font-size: .92rem; }

.trois-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.atout { background: var(--blanc); border-radius: 14px; padding: 22px 24px; box-shadow: 0 2px 10px rgba(96,5,41,.06); }
.atout .chiffre {
  font-family: "League Spartan", Arial, sans-serif;
  font-weight: 800; font-size: 1.9rem; color: var(--or-fonce); line-height: 1.1;
}
.atout h3 { font-size: 1.02rem; color: var(--bordeaux-3); margin: 6px 0 6px; }

.etapes { list-style: none; counter-reset: etape; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.etapes li { background: var(--blanc); border-radius: 14px; padding: 22px 24px; box-shadow: 0 2px 10px rgba(96,5,41,.06); counter-increment: etape; }
.etapes li::before {
  content: counter(etape);
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bordeaux-2); color: var(--blanc); font-weight: 700;
  margin-bottom: 10px;
}
.etapes h3 { font-size: 1.02rem; color: var(--bordeaux-3); margin-bottom: 4px; }

.villes { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }

.deux-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.competences { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.competences li {
  background: var(--blanc);
  border: 1px solid #e6d6c0;
  border-radius: 999px;
  padding: 7px 16px;
  font-weight: 500;
  font-size: .93rem;
}
.outils {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.outil {
  background: var(--blanc);
  border-radius: 12px;
  height: 72px;
  display: flex; align-items: center; justify-content: center;
  padding: 12px;
  box-shadow: 0 2px 8px rgba(96,5,41,.05);
}
.outil img { max-width: 100%; max-height: 40px; object-fit: contain; }

.frise { list-style: none; border-left: 2px solid var(--or); padding-left: 24px; }
.frise li { position: relative; margin-bottom: 18px; }
.frise li::before {
  content: "";
  position: absolute; left: -31px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--bordeaux-2);
  border: 2px solid var(--creme);
}
.frise-detail > li { margin-bottom: 28px; }
.frise-detail ul { margin-top: 8px; padding-left: 18px; }
.frise-detail ul li { margin-bottom: 4px; }
.frise-detail ul li::before { content: none; }
.frise-detail ul li::marker { color: var(--or-fonce); }

.presentation {
  display: grid; grid-template-columns: 200px 1fr; gap: 40px; align-items: center;
  background: var(--blanc); border-radius: 14px; padding: 32px;
  box-shadow: 0 2px 10px rgba(96,5,41,.06);
}
.presentation .photo { width: 200px; height: 200px; }
.presentation h2 { border-bottom: none; padding-bottom: 0; margin-bottom: 12px; }
.presentation p + p { margin-top: 14px; }
.presentation:has(.texte) { align-items: start; }
.presentation .texte { max-width: 680px; }

.date { font-weight: 600; color: var(--or-fonce); font-size: .9rem; }
.poste { font-weight: 600; color: var(--bordeaux-3); }
.lieu { font-size: .93rem; }

/* Contact */
.contact-carte {
  background: var(--blanc); border-radius: 14px; padding: 32px;
  border-top: 4px solid var(--or); box-shadow: 0 2px 10px rgba(96,5,41,.06);
}
.contact-ligne { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-weight: 500; overflow-wrap: anywhere; }
.contact-ligne a { color: var(--bordeaux-2); }
.contact-carte .actions { margin-top: 22px; }
.contact-carte .btn-ligne { color: var(--bordeaux-2); }

.appel {
  background: var(--bordeaux); color: #f3e9ec; border-radius: 14px;
  padding: 32px; text-align: center;
}
.appel p { font-size: 1.1rem; margin-bottom: 16px; }

/* Avis Google */
.avis {
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  background: var(--blanc); border-radius: 14px; padding: 28px 32px;
  border: 2px solid var(--or); box-shadow: 0 6px 22px rgba(96,5,41,.08);
}
.avis-icone {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--creme); border: 2px solid #eadfd0;
  display: flex; align-items: center; justify-content: center;
}
.avis-icone svg { width: 48px; height: 48px; }
.avis .etoiles { color: #f4b400; font-size: 1.3rem; letter-spacing: 3px; line-height: 1; }
.avis h2 { border-bottom: none; padding-bottom: 0; margin: 6px 0 4px; font-size: 1.35rem; }
.avis p { max-width: 520px; }
.avis .btn { white-space: nowrap; }
.avis:hover .avis-icone svg { animation: rebond .6s ease; }
@keyframes rebond { 0%,100% { transform: none; } 40% { transform: translateY(-6px); } 70% { transform: translateY(-2px); } }

footer {
  background: var(--bordeaux);
  color: #f3e9ec;
  text-align: center;
  padding: 40px 20px;
}
footer p { margin-bottom: 16px; font-size: 1.05rem; }
footer nav { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: .9rem; }
footer nav a { text-decoration: none; opacity: .85; }
footer nav a:hover { opacity: 1; text-decoration: underline; }
footer small { display: block; margin-top: 14px; opacity: .7; font-size: .8rem; }

@media (max-width: 760px) {
  .menu .wrap { flex-wrap: wrap; justify-content: space-between; padding-top: 10px; padding-bottom: 8px; gap: 6px; }
  .menu ul { order: 3; width: 100%; margin-left: 0; justify-content: center; gap: 2px; flex-wrap: wrap; }
  .menu ul a { padding: 6px 9px; font-size: .84rem; }
  .installer { padding: 5px 12px; font-size: .8rem; }
  .installer-bulle { top: auto; bottom: 16px; left: 16px; right: 16px; max-width: none; }
  header.hero-bloc { padding: 40px 0 44px; }
  .hero { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .photo { width: 170px; height: 170px; margin: 0 auto; }
  .accroche { margin-left: auto; margin-right: auto; }
  .actions { justify-content: center; }
  .services, .deux-col, .trois-col, .etapes { grid-template-columns: 1fr; }
  .deux-col { gap: 0; }
  .outils { grid-template-columns: repeat(3, 1fr); }
  .infos ul { flex-direction: column; align-items: center; gap: 8px; }
  .contact-carte, .appel { padding: 24px 20px; }
  .avis { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 16px; padding: 24px 20px; }
  .avis .btn { white-space: normal; }
  .presentation { grid-template-columns: 1fr; text-align: center; gap: 20px; padding: 24px 20px; }
  .presentation .photo { width: 150px; height: 150px; margin: 0 auto; }
  .presentation .texte p { text-align: left; }
}
@media print {
  .menu, .actions, footer .btn, .installer-bulle { display: none; }
}

/* Animations */
@keyframes monte {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
@keyframes zoom-doux {
  from { opacity: 0; transform: scale(.85); }
  to   { opacity: 1; transform: none; }
}
.photo { animation: zoom-doux .8s ease-out both; }
.hero h1, .hero .titre, .hero .accroche, .hero .actions,
.page-titre h1, .page-titre p { animation: monte .7s ease-out both; }
.hero h1 { animation-delay: .15s; }
.hero .titre { animation-delay: .3s; }
.hero .accroche { animation-delay: .45s; }
.hero .actions { animation-delay: .6s; }
.page-titre p { animation-delay: .15s; }

h2 { position: relative; }
.carte, .outil, .competences li, .atout, .etapes li { transition: transform .25s ease, box-shadow .25s ease; }
.carte:hover, .atout:hover, .etapes li:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(96,5,41,.12); }
.outil:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 8px 18px rgba(96,5,41,.1); }
.competences li:hover { transform: translateY(-2px); border-color: var(--or); }
.photo { transition: box-shadow .3s ease; }
.photo:hover { box-shadow: 0 0 0 8px rgba(201,164,92,.25); }

/* Apparition au défilement (seulement si le JavaScript tourne) */
.js .apparait { opacity: 0; transform: translateY(24px); transition: opacity .7s ease-out, transform .7s ease-out; }
.js .apparait.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .apparait { opacity: 1; transform: none; }
}
