:root {
  --bordeaux: #7B0919;
  --bordeaux-fonce: #5F0714;
  --bordeaux-clair: #F3E7E8;
  --fond: #FCF9F2;
  --blanc: #FFFFFF;
  --encre: #1A1A1A;
  --filet: #E2D9CB;
  --bordure: #C9BCA9;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font-family: "Lato", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  touch-action: manipulation;
}

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  color: var(--bordeaux);
  line-height: 1.2;
}

h1 { font-size: 36px; margin: 0 0 12px; }
h2 { font-size: 28px; margin: 0 0 16px; }
h3 { font-size: 22px; margin: 0 0 8px; }

p { margin: 0 0 12px; }
.petit { font-size: 14px; }

a { color: var(--bordeaux); }

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.etroit { max-width: 720px; }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--blanc);
  border-bottom: 2px solid var(--bordeaux);
  min-height: 88px;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.brand { text-decoration: none; display: flex; align-items: center; align-self: stretch; }

/* Sceau typographique */

.seau {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  border: 3px solid var(--bordeaux);
  background: var(--blanc);
  text-align: center;
  padding: 10px;
  transform: scale(0.62);
  transform-origin: center center;
  margin: -25px -24px;
  flex-shrink: 0;
}

.seau-top {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--bordeaux);
  font-weight: 700;
}

.seau-letter {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  color: var(--bordeaux);
}

.seau-bottom {
  font-size: 8px;
  color: var(--encre);
  line-height: 1.3;
}

.site-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  color: var(--encre);
  font-size: 15px;
  transition: color 200ms;
}

.site-nav a:hover { color: var(--bordeaux); text-decoration: underline; }

.burger {
  display: none;
  background: var(--bordeaux);
  color: var(--blanc);
  border: none;
  border-radius: 6px;
  font-size: 22px;
  line-height: 1;
  padding: 10px 14px;
  cursor: pointer;
}

/* Hero */

.hero {
  padding: 56px 0;
  border-bottom: 1px solid var(--filet);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.surtitre {
  color: var(--bordeaux);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 14px;
}

.accroche { font-size: 18px; }

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* Boutons */

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  border: 2px solid var(--bordeaux);
  transition: background-color 200ms, color 200ms;
}

.btn-principal {
  background: var(--bordeaux);
  color: var(--blanc);
}

.btn-principal:hover { background: var(--bordeaux-fonce); }

.btn-secondaire {
  background: transparent;
  color: var(--bordeaux);
}

.btn-secondaire:hover { background: var(--bordeaux-clair); }

/* Sections */

.section { padding: 52px 0; }

.section-alt {
  background: var(--blanc);
  border-top: 1px solid var(--filet);
  border-bottom: 1px solid var(--filet);
}

.cartes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.carte {
  background: var(--blanc);
  border: 1px solid var(--filet);
  border-top: 4px solid var(--bordeaux);
  border-radius: 8px;
  padding: 22px;
}

.carte h3 a { color: var(--bordeaux); text-decoration: none; }
.carte h3 a:hover { text-decoration: underline; }

.section-alt .carte { background: var(--fond); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.liste-services {
  margin: 0 0 20px;
  padding-left: 20px;
}

.liste-services li { margin-bottom: 10px; }

.zone-noms {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  color: var(--bordeaux);
}

/* Photos */

.hero-photo, .photo-bloc { position: relative; }

.hero-photo img, .photo-bloc img {
  border-radius: 8px;
  border: 1px solid var(--filet);
  width: 100%;
}

.photo-bloc { margin-top: 20px; }

/* Contact */

.cta { text-align: center; }

.contact-lignes { font-size: 18px; }

.contact-lignes a {
  color: var(--bordeaux);
  font-weight: 700;
}

.confirmation {
  border: 2px solid var(--bordeaux);
  background: var(--bordeaux-clair);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 20px;
}

/* Footer */

.site-footer {
  background: var(--bordeaux);
  color: var(--blanc);
  padding: 36px 0 20px;
  border-top: 3px solid var(--bordeaux-fonce);
}

.site-footer p { margin: 0 0 8px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
}

.footer-nom {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
}

.footer-signature { color: #F0DDE0; }

.site-footer a { color: var(--blanc); }

.footer-nav { display: flex; flex-direction: column; gap: 8px; }

.copyright {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: #D9BFC3;
}

/* Mobile 390px */

@media (max-width: 760px) {
  h1 { font-size: 30px; }

  .burger { display: block; }

  .site-nav {
    display: none;
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    background: var(--blanc);
    flex-direction: column;
    gap: 0;
    border-bottom: 2px solid var(--bordeaux);
  }

  .site-nav.ouvert { display: flex; }

  .site-nav a {
    padding: 12px 20px;
    border-top: 1px solid var(--filet);
  }

  .site-header { position: sticky; }

  .hero { padding: 36px 0; }

  .hero-grid, .split, .cartes, .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn { width: 100%; text-align: center; }
}

/* Accessibilite */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--bordeaux);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* === Pages multi-pages (ajout site-pages, ne pas modifier au-dessus) === */
section[id] { scroll-margin-top: 100px; }
.site-nav a.active { color: var(--bordeaux); font-weight: 700; text-decoration: underline; }
.bandeau-page { padding: 48px 0 32px; border-bottom: 1px solid var(--filet); background: var(--blanc); }
.bandeau-page h1 { margin-bottom: 12px; }
.cartes-services h2 { font-size: 22px; }
.cta-services { margin-top: 28px; text-align: center; }
.texte-legal h2 { margin-top: 28px; }
.form-contact { display: grid; gap: 16px; margin-top: 20px; }
.form-contact .champ { display: grid; gap: 6px; }
.form-contact label { font-weight: 700; }
.form-contact input, .form-contact textarea { font: inherit; padding: 10px 12px; border: 1px solid var(--bordure); border-radius: 6px; background: var(--blanc); color: var(--encre); width: 100%; }
.note-donnees { margin-top: 16px; }

@media (max-width: 760px) {
  .bandeau-page { padding: 32px 0 24px; }
  .form-contact button { width: 100%; }
}
