@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/barlow-400.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/barlow-600.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/barlow-700.woff2") format("woff2");
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--police);
  font-size: var(--taille-m);
  line-height: var(--interligne);
}

main {
  flex: 1;
}

.conteneur {
  width: 100%;
  max-width: var(--largeur);
  margin: 0 auto;
  padding-inline: var(--espace-4);
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.15;
  text-align: left;
  margin: 0;
}

h1 {
  font-size: var(--taille-2xl);
  color: var(--bleu);
  max-width: 20ch;
}

h2 {
  font-size: var(--taille-xl);
  color: var(--bleu-nuit);
}

p {
  margin: 0 0 var(--espace-4);
  max-width: var(--largeur-texte);
}

a {
  color: var(--bleu);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--bleu-nuit);
}

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

.entete :focus-visible,
.pied :focus-visible {
  outline-color: var(--sur-bleu);
}

.lien-evitement {
  position: absolute;
  left: var(--espace-4);
  top: -100px;
  padding: var(--espace-3) var(--espace-4);
  background: var(--surface);
  color: var(--bleu-nuit);
  border-radius: var(--rayon);
  z-index: 10;
}

.lien-evitement:focus {
  top: var(--espace-2);
}

/* En-tête */
.entete {
  background: var(--bleu-nuit);
  color: var(--sur-bleu);
}

.entete .conteneur {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: var(--espace-5);
  row-gap: var(--espace-1);
  padding-block: var(--espace-2);
}

.marque {
  display: inline-flex;
  align-items: center;
  min-height: var(--cible);
  font-size: var(--taille-l);
  font-weight: 700;
  color: var(--sur-bleu);
  text-decoration: none;
}

.logo {
  display: block;
  width: 144px;
  height: 48px;
  flex: none;
}

.marque:hover {
  color: var(--sur-bleu);
  text-decoration: underline;
}

.menu {
  display: flex;
  gap: var(--espace-1);
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu a {
  display: inline-flex;
  align-items: center;
  min-height: var(--cible);
  padding-inline: var(--espace-3);
  color: var(--sur-bleu);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

.menu a:hover {
  border-bottom-color: var(--sur-bleu);
  color: var(--sur-bleu);
}

.menu a[aria-current="page"] {
  border-bottom-color: var(--sur-bleu);
  font-weight: 700;
}

/* Bouton d'appel */
.bouton {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: var(--espace-3) var(--espace-5);
  background: var(--bleu);
  color: var(--sur-bleu);
  font-size: var(--taille-l);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  border-radius: var(--rayon);
}

.bouton:hover {
  background: var(--bleu-nuit);
  color: var(--sur-bleu);
}

.bouton-rouge {
  background: var(--rouge);
}

.bouton-rouge:hover {
  background: var(--rouge-fonce);
}

/* Haut de page */
.haut {
  padding-block: var(--espace-7) var(--espace-6);
}

.haut-photo {
  background-color: var(--fond);
  background-image: linear-gradient(var(--voile-photo), var(--voile-photo)), url("/images/atelier-640.webp");
  background-size: cover;
  background-position: 70% center;
  background-repeat: no-repeat;
}

@media (min-width: 720px) {
  .haut-photo {
    background-image: linear-gradient(var(--voile-photo), var(--voile-photo)), url("/images/atelier-1280.webp");
  }
}

@media (min-width: 1281px) {
  .haut-photo {
    background-image: linear-gradient(var(--voile-photo), var(--voile-photo)), url("/images/atelier-1920.webp");
  }
}

.haut .accroche {
  font-size: var(--taille-l);
  margin-top: var(--espace-4);
}

.haut .appel {
  margin-top: var(--espace-5);
}

.haut .appel-note {
  margin: var(--espace-3) 0 0;
  color: var(--texte-doux);
  font-size: var(--taille-s);
}

/* Titres de section reliés par un coude de tuyau */
.titre-tuyau {
  padding: 0 0 var(--espace-3) var(--espace-4);
  border-left: 2px solid var(--cuivre);
  border-bottom: 2px solid var(--cuivre);
  border-bottom-left-radius: 14px;
  margin-bottom: var(--espace-5);
}

/* Contenu */
.contenu {
  display: grid;
  gap: var(--espace-7);
  padding-block: var(--espace-6) var(--espace-8);
}

.services {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: var(--largeur-texte);
}

.services li {
  padding: var(--espace-3) 0;
  border-bottom: 1px solid var(--ligne);
}

.services li:first-child {
  border-top: 1px solid var(--ligne);
}

.services strong {
  font-weight: 600;
}

.lateral {
  background: var(--surface);
  border-radius: var(--rayon);
  padding: var(--espace-5);
  align-self: start;
}

.lateral h2 {
  font-size: var(--taille-l);
  margin-bottom: var(--espace-3);
  color: var(--bleu);
}

.lateral h2:not(:first-child) {
  margin-top: var(--espace-5);
}

.lateral p {
  margin-bottom: var(--espace-2);
}

.a-propos {
  padding-block: var(--espace-7) var(--espace-8);
}

.a-propos h1 {
  margin-bottom: var(--espace-6);
}

.a-propos section {
  margin-bottom: var(--espace-7);
}

.a-propos section:last-child {
  margin-bottom: 0;
}

/* Vitrine */
.vitrine {
  padding-bottom: var(--espace-8);
}

.vitrine figure {
  margin: 0;
  max-width: 480px;
}

.vitrine img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--rayon);
}

/* Pied de page */
.pied {
  background: var(--bleu-nuit);
  color: var(--sur-bleu);
  padding-block: var(--espace-7) calc(var(--espace-7) + 56px + var(--espace-4));
  font-size: var(--taille-s);
}

.pied .conteneur {
  display: grid;
  gap: var(--espace-6);
}

.pied h2 {
  color: var(--sur-bleu);
  font-size: var(--taille-m);
  margin-bottom: var(--espace-2);
}

.pied p {
  margin-bottom: var(--espace-1);
}

.pied a {
  color: var(--sur-bleu);
}

.pied address {
  font-style: normal;
}

.pied .mentions {
  max-width: var(--largeur-texte);
}

/* Bouton volant WhatsApp */
.whatsapp {
  position: fixed;
  right: var(--espace-4);
  bottom: var(--espace-4);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: var(--espace-2);
  min-height: 56px;
  padding: var(--espace-3) var(--espace-4);
  background: var(--whatsapp);
  color: var(--sur-bleu);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  border-radius: var(--rayon);
}

.whatsapp:hover {
  background: var(--whatsapp-fonce);
  color: var(--sur-bleu);
}

.whatsapp:focus-visible {
  outline-color: var(--whatsapp-fonce);
  outline-offset: 3px;
}

.whatsapp svg {
  width: 28px;
  height: 28px;
  flex: none;
}

@media (min-width: 720px) {
  h1 {
    font-size: var(--taille-3xl);
  }

  .haut {
    padding-block: var(--espace-8) var(--espace-7);
  }

  .contenu {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: var(--espace-8);
  }

  .pied .conteneur {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .conteneur {
    padding-inline: var(--espace-6);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
