/* Atelier Indécis — feuille de style unique */

:root {
  --creme: #f4ecdf;
  --sable: #eadcc6;
  --encre: #2e1f17;
  --encre-doux: #6b5646;
  --terracotta: #c4552d;
  --bordeaux: #7e1f23;
  --sauge: #8a9a6b;
  --moutarde: #d9a23b;

  --titre: "Fraunces", Georgia, "Times New Roman", serif;
  --texte: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --largeur: 40rem;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--creme);
  color: var(--encre);
  font-family: var(--texte);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--terracotta); }
a:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; border-radius: 2px; }

/* Bandeau « Ouverture prochainement » */
.bandeau {
  background: var(--terracotta);
  color: var(--creme);
  text-align: center;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
}
.bandeau span { opacity: 0.7; margin: 0 0.5em; }

/* En-tête */
.entete {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem clamp(1rem, 5vw, 3rem);
}
.logo {
  text-decoration: none;
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.nav { display: flex; gap: 1.5rem; font-size: 0.9375rem; }
.nav a { text-decoration: none; }
.nav a[aria-current="page"] { text-decoration: underline; }

/* Contenu */
main {
  flex: 1;
  width: 100%;
  max-width: var(--largeur);
  margin: 0 auto;
  padding: clamp(2rem, 8vh, 5rem) 1rem 4rem;
}

h1, h2 {
  font-family: var(--titre);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}
h1 { font-size: clamp(2.5rem, 9vw, 4.5rem); }
h2 { font-size: 1.5rem; margin-bottom: 0.35rem; }

.surtitre {
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--encre-doux);
  margin: 0 0 1rem;
}

.chapo {
  font-size: clamp(1.15rem, 3vw, 1.35rem);
  line-height: 1.5;
  margin: 1.5rem 0 0;
  max-width: 32rem;
}

p { margin: 0 0 1rem; }

/* Accueil */
.accueil { text-align: center; padding-top: clamp(3rem, 12vh, 7rem); }
.accueil .chapo { margin-left: auto; margin-right: auto; }
.accueil h1 { font-size: clamp(3.25rem, 14vw, 6.5rem); }
.accueil h1 .petit {
  display: block;
  font-family: var(--texte);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.formes {
  display: flex;
  justify-content: center;
  gap: clamp(0.6rem, 3vw, 1.25rem);
  margin: 0 0 2.5rem;
}
.formes svg { width: clamp(2rem, 8vw, 3rem); height: auto; }

.liens {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}
.bouton {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border: 1.5px solid var(--encre);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9375rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.bouton:hover { background: var(--encre); color: var(--creme); }
.bouton.plein { background: var(--encre); color: var(--creme); }
.bouton.plein:hover { background: var(--terracotta); border-color: var(--terracotta); }

/* Concept */
.piliers { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; gap: 2.25rem; }
.piliers li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1.25rem; align-items: start; }
.piliers svg { width: 2.5rem; height: auto; margin-top: 0.2rem; }
.piliers p { color: var(--encre-doux); margin: 0; }

/* Contact */
.courriel {
  display: inline-block;
  margin-top: 2rem;
  font-family: var(--titre);
  font-size: clamp(1.4rem, 5vw, 2rem);
  font-weight: 600;
  word-break: break-word;
}

/* Mentions légales */
.legal h2 { font-size: 1.15rem; margin-top: 2.25rem; }
.legal p { color: var(--encre-doux); font-size: 0.9375rem; }

/* Pied de page */
.pied {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding: 1.5rem clamp(1rem, 5vw, 3rem);
  border-top: 1px solid var(--sable);
  font-size: 0.8125rem;
  color: var(--encre-doux);
}
.pied a { text-decoration: none; }
.pied a:hover { text-decoration: underline; }

@media (max-width: 30rem) {
  .entete { flex-direction: column; gap: 0.75rem; padding-top: 1.25rem; }
  .bandeau { letter-spacing: 0.1em; }
}

@media (prefers-reduced-motion: no-preference) {
  .formes svg { animation: hesite 6s ease-in-out infinite; transform-origin: 50% 80%; }
  .formes svg:nth-child(2) { animation-delay: -1.5s; }
  .formes svg:nth-child(3) { animation-delay: -3s; }
  .formes svg:nth-child(4) { animation-delay: -4.5s; }
  @keyframes hesite {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(-6deg); }
  }
}
