@font-face { font-family: "Outfit"; src: url("assets/polices/outfit.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/polices/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("assets/polices/work-sans.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --page: #fff;
  --pied: #000;
  --clair: #fbfbfa;
  --logo: 347px;
  --fond-position: center;
  --puce: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.6 12C17.6 12.2048 17.5216 12.4096 17.3656 12.5656L9.3656 20.5656C9.1368 20.7944 8.7928 20.8632 8.4936 20.7392C8.1944 20.616 8 20.3232 8 20V4C8 3.6768 8.1944 3.384 8.4936 3.2608C8.7928 3.1368 9.1368 3.2056 9.3656 3.4344L17.3656 11.4344C17.5216 11.5904 17.6 11.7952 17.6 12Z'/%3E%3C/svg%3E");
  --police-secondaire: "Lufga", "Outfit", system-ui, sans-serif;
  --sur-accent: #fff;
  --texte-bouton: #fff;
  --police-boutons: "Inter", system-ui, sans-serif;
  --police-pied: "Work Sans", system-ui, sans-serif;
}

[data-theme="clair"] {
  --police: "Lufga", "Outfit", system-ui, sans-serif;
  --accent: #372f88;
  --bouton: #ea251d;
  --texte: #000;
  --adresse: var(--accent);
  --panneau: transparent;
  --voile: rgba(0, 0, 0, .3);
  --marge-page: 21px 24px 0;
  --marge-panneau: 0;
  --hauteur-fond: 420px;
  --avant-contenu: 90px;
  --apres-contenu: 72px;
  --alignement: center;
  --apres-bandeau: 0px;
  --taille-bandeau: 28px;
}

[data-theme="sombre"] {
  --police: "Inter", system-ui, sans-serif;
  --accent: #c78b2b;
  --bouton: #3b0a0c;
  --texte: #fff;
  --adresse: #fff;
  --panneau: #000;
  --voile: transparent;
  --marge-page: 15px 17px 20px 24px;
  --marge-panneau: 14px 15px 0 17px;
  --hauteur-fond: 400px;
  --avant-contenu: 62px;
  --apres-contenu: 49px;
  --alignement: flex-end;
  --apres-bandeau: 20px;
  --taille-bandeau: 27px;
}

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--page);
  color: var(--texte);
  font-family: var(--police);
  font-size: 16px;
  line-height: var(--interligne, normal);
  -webkit-font-smoothing: antialiased;
}

h1, h2, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

.page {
  flex: 1;
  padding: var(--marge-page);
}

.panneau {
  background: var(--panneau);
  border-radius: 20px;
  padding: var(--marge-panneau);
}

.fond {
  position: relative;
  height: var(--hauteur-fond);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #222;
  background-size: cover;
  background-position: var(--fond-position);
}

.fond::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--voile);
}

.cadre-logo {
  position: relative;
  width: var(--logo);
  max-width: 70%;
}

.cadre-logo.plaque {
  box-sizing: content-box;
  padding: 18px 28px;
  border-radius: 12px;
  background: var(--plaque);
}

.logo {
  display: block;
  width: 100%;
  height: auto;
}

.contenu {
  max-width: 1297px;
  margin: 0 auto;
  padding: var(--avant-contenu) 0 var(--apres-contenu);
  display: flex;
  align-items: var(--alignement);
  justify-content: space-between;
  gap: 40px;
}

.infos {
  display: flex;
  align-items: var(--alignement);
  gap: clamp(40px, 8.4vw, 126px);
  min-width: 0;
}

.presentation {
  flex: 0 1 492px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bandeau {
  min-height: 51px;
  margin-bottom: var(--apres-bandeau);
  padding: 7px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: var(--accent);
  color: var(--sur-accent);
  font-family: var(--police-titres, inherit);
  font-size: var(--taille-bandeau);
  font-weight: 700;
  text-align: center;
  filter: drop-shadow(0 4px 2px rgba(0, 0, 0, .15));
}

.titre {
  color: var(--accent);
  font-family: var(--police-titres, inherit);
  font-size: 24px;
  font-weight: 800;
}

.texte { white-space: pre-line; }

.adresse {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--adresse);
  font-family: var(--police-secondaire);
  font-style: normal;
}

.adresse strong { font-weight: 600; }

.prestations {
  flex: 0 0 auto;
  min-width: 237px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.prestations:has(details) { gap: 12px; }

.prestations details {
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 5%, transparent);
}

.prestations summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 10px;
  cursor: pointer;
  list-style: none;
}

.prestations summary::-webkit-details-marker { display: none; }

.prestations summary::before {
  content: "";
  flex: 0 0 24px;
  height: 24px;
  background: var(--puce-couleur, var(--accent));
  -webkit-mask: var(--puce) center / 24px 24px no-repeat;
  mask: var(--puce) center / 24px 24px no-repeat;
  transition: transform .2s;
}

.prestations details[open] summary::before { transform: rotate(90deg); }
.prestations summary:hover { background: color-mix(in srgb, var(--accent) 6%, transparent); }
.prestations summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.prestations h2 {
  color: var(--accent);
  font-family: var(--police-titres, inherit);
  font-size: 18px;
  font-weight: 700;
}

.prestations details .services { padding: 10px 20px 20px; }

.services {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-weight: 600;
}

.services li {
  display: flex;
  align-items: center;
  gap: 20px;
}

.services li::before {
  content: "";
  flex: 0 0 24px;
  height: 24px;
  background: var(--puce-couleur, var(--accent));
  -webkit-mask: var(--puce) center / 24px 24px no-repeat;
  mask: var(--puce) center / 24px 24px no-repeat;
}

.contact {
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 40px;
  border-radius: 20px;
  background: var(--accent);
  color: var(--sur-accent);
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, .25));
}

.contact > :not(.decor) { position: relative; z-index: 1; }

.decor {
  position: absolute;
  right: -34px;
  bottom: -46px;
  width: 150px;
  opacity: .22;
  pointer-events: none;
}

.contact h2 {
  font-family: var(--police-titres, var(--police-secondaire));
  font-size: 20px;
  font-weight: 600;
}

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 199px;
  padding: 12px 32px;
  border: 1px solid transparent;
  border-radius: 360px;
  font-family: var(--police-boutons);
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
  transition: opacity .15s, background-color .15s, color .15s;
}

.bouton-plein { background: var(--bouton); color: var(--texte-bouton); }
.bouton-plein:hover { opacity: .85; }
.bouton-contour { border-color: var(--sur-accent); }
.bouton-contour:hover { background: var(--sur-accent); color: var(--accent); }
.bouton:focus-visible { outline: 2px solid var(--sur-accent); outline-offset: 3px; }

.fond.court { --hauteur-fond: 200px; }

a.cadre-logo { display: block; }

.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 0 72px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  line-height: var(--interligne, 1.5);
}

.legal h1, .legal h2 {
  color: var(--accent);
  font-family: var(--police-titres, inherit);
  font-weight: 800;
}

.legal h1 { font-size: 32px; }
.legal h2 { margin-top: 20px; font-size: 20px; }
.legal ul { padding-left: 22px; list-style: disc; }
.legal li + li { margin-top: 6px; }
.legal address { font-style: normal; }
.legal a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal .retour { color: var(--accent); font-weight: 600; text-decoration: none; }
.legal .retour:hover { text-decoration: underline; }
.legal mark { padding: 0 4px; background: #ffe08a; color: #000; }

.pied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 60px;
  background: var(--pied);
  border-top: 1px solid var(--clair);
  color: var(--clair);
  font-family: var(--police-pied);
  font-size: 14px;
  font-weight: 700;
}

.pied a:hover { text-decoration: underline; }

.pied img {
  flex: 0 0 auto;
  width: 176px;
  height: 28px;
  object-fit: cover;
}

@media (max-width: 1345px) {
  .contenu { padding-left: 30px; padding-right: 30px; }
}

@media (max-width: 1279px) {
  [data-theme] {
    --hauteur-fond: 315px;
    --taille-bandeau: 22px;
    --avant-contenu: 56px;
    --apres-contenu: 56px;
  }
  [data-theme="clair"] {
    --marge-page: 20px 20px 0;
    --voile: rgba(0, 0, 0, .2);
  }
  .cadre-logo { width: calc(var(--logo) * .6); }
  .cadre-logo.plaque { padding: 12px 18px; }
  .contenu { max-width: 1146px; }
  .infos { align-items: flex-end; gap: clamp(32px, 5vw, 60px); }
  .presentation { flex-basis: 495px; }
  .bandeau { justify-content: flex-start; padding: 10px 20px; text-align: left; }
  .titre { font-size: 20px; }
  .contact { padding: 40px 20px; }
}

@media (max-width: 1023px) {
  .contenu { flex-direction: column; align-items: stretch; gap: 40px; padding-left: 2px; padding-right: 2px; }
  .infos { justify-content: space-between; }
  .presentation { flex: 1 1 0; }
  .contact { order: -1; align-items: center; text-align: center; }
  [data-theme] { --avant-contenu: 29px; --apres-contenu: 40px; }
}

@media (min-width: 768px) {
  .contenu.groupes, .contenu.groupes .infos { align-items: flex-start; }
  .contenu.groupes .infos { gap: clamp(32px, 4vw, 56px); }
  .contenu.groupes .prestations { flex: 0 1 400px; min-width: 0; }
}

@media (min-width: 768px) and (max-width: 1279px) {
  .contenu.groupes { flex-direction: column; align-items: stretch; gap: 40px; }
  .contenu.groupes .infos { justify-content: space-between; }
  .contenu.groupes .presentation { flex: 1 1 0; }
  .contenu.groupes .prestations { flex: 1 1 0; }
  .contenu.groupes .contact { order: -1; align-items: center; text-align: center; }
}

@media (max-width: 767px) {
  .fond.court { --hauteur-fond: 150px; }
  .legal { padding: 32px 2px 48px; }
  .legal h1 { font-size: 26px; }
  [data-theme] { --hauteur-fond: 268px; --taille-bandeau: 20px; }
  [data-theme="clair"] { --marge-page: 26px 20px 0; }
  [data-theme="sombre"] { --marge-page: 12px; --marge-panneau: 10px 10px 0; }
  .infos { flex-direction: column; align-items: stretch; gap: 40px; }
  .presentation { flex: none; }
  .bandeau { justify-content: center; text-align: center; }
  .titre { font-size: 16px; }
  .pied { flex-direction: column; justify-content: center; padding: 20px; text-align: center; }
  .bouton { max-width: 100%; padding-left: 20px; padding-right: 20px; font-size: clamp(14px, 4.4vw, 18px); white-space: normal; overflow-wrap: anywhere; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .bouton { transition: none; }
  .prestations summary::before { transition: none; }
}

@font-face { font-family: "Epilogue"; src: url("assets/polices/epilogue.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Mozilla Headline"; src: url("assets/polices/mozilla-headline.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --page: #f3f0e7;
  --texte: #121212;
  --accent: #10351f;
  --sur-accent: #f3f0e7;
  --bouton: #01b04d;
  --texte-bouton: #10351f;
  --puce-couleur: #01b04d;
  --police: "Epilogue", system-ui, sans-serif;
  --police-secondaire: "Epilogue", system-ui, sans-serif;
  --police-boutons: "Epilogue", system-ui, sans-serif;
  --police-titres: "Mozilla Headline", system-ui, sans-serif;
  --interligne: 1.4;
  --logo: 320px;
  --plaque: #f3f0e7;
  --fond-position: center;
  --voile: rgba(16, 53, 31, .35);
}
.fond { background-image: url("assets/fond.jpg"); }
