/* =========================================================
   Détours de Table — page provisoire
   ========================================================= */

/* --- Typo titres ---------------------------------------------------------
   Déposez les fichiers de la fonte Garabosse dans /fonts/
   (adaptez les noms de fichiers si besoin).  
*/
@font-face {
  font-family: 'Work Sans';
  src: url('fonts/work-sans-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Garabosse';
  src: url('fonts/Garabosse-Nonpareille.woff2') format('woff2'),
       url('fonts/Garabosse-Nonpareille.woff')  format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


:root {
  --aubergine: #7c5ac2;
  --aubergine: #7648d7;
  --aubergine: #384F9E;
  --abricot:   #f94e1f;
  --olive:     #f94e1f;
  --craie:     #f6f3ea;
  --texte:     #2e2450;


  --titre: 'Garabosse', 'Work Sans', Georgia, serif;
  --citation: 'Garabosse', 'Work Sans', Georgia, serif;
  --corps: 'Work Sans', system-ui, -apple-system, sans-serif;

  --marge: clamp(1.25rem, 5vw, 4rem);
  --largeur: 62rem;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--craie);
  color: var(--texte);
  font-family: var(--corps);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  font-weight: 320;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

a:focus-visible,
.galerie__vignette:focus-visible {
  outline: 2px dashed var(--abricot);
  outline-offset: 4px;
  border-radius: 2px;
}

main{
	margin-top: clamp(1rem, 1.5vw, 2.625rem);
}

/* --- Entête -------------------------------------------------------------- */



.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--aubergine);
  text-decoration: none;
  justify-content: center;
  margin: 0 auto 45px auto;
}

.logo__marque { width: auto;
  height: 7.5rem;
  flex: none;
  fill: currentColor; }





/* --- Hero ---------------------------------------------------------------- */

.hero {
  max-width: var(--largeur);
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 5rem) var(--marge) clamp(1.5rem, 4vw, 3rem);
  text-align:center;
}

.chapeau {
  margin: 0 0 1.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--olive);
}

.hero__titre {
  font-family: var(--titre);
  font-weight: 400;
  font-size: clamp(2.2rem, 6.5vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--aubergine);
  margin: 0 0 1.75rem;
  text-wrap:balance;
  font-family:var(--citation);
}
.hero__titre::before { content: "« "; }
.hero__titre::after  { content: " »"; }

.hero__texte {
  margin: 0 auto;
  font-size: 1.0625em;
  text-wrap:balance;
}
.hero__note {
  margin: 2.7rem 0 0 0;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--aubergine);
    font-weight: 400;
}
/* --- Séparateur en pointillé (le « parcours ») --------------------------- */
.pointille-zone{
	min-width:1200px;
	overflow:hidden;
	
}
.pointille {
  display: block;
  width: 100%;
  height: auto;
  color: var(--aubergine);
  opacity: 0.7;
}

/* --- Blocs de texte ------------------------------------------------------ */

.bloc {
  max-width: var(--largeur);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--marge);
  display: flex;
  gap: clamp(1rem, 4vw, 3rem);
  align-items:center;
  flex-direction: column;
}

.bloc__titre {
  font-family: var(--titre);
  font-weight: 400;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.1;
  color: var(--aubergine);
  margin: 0;
  top: 2rem;
}
.bloc__corps{max-width: 63ch;}
.bloc__corps > p { margin: 0 0 1.15rem;  }
.bloc__corps > p:last-child { margin-bottom: 0; }

.intitule {
  font-weight: 500;
  color: var(--aubergine);
  margin-top: 1.75rem !important;
}

.liste {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 56ch;
}

.liste li {
  position: relative;
  padding-left: 2.25rem;
  margin-bottom: 0.9rem;
}

.liste li::before {
content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 1rem;
  border-top: 3px solid var(--abricot);
}

.citation {
  font-family: var(--titre);
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.25;
  color: var(--aubergine);
  margin: 0 0 2rem;
  font-family:var(--citation);
}

.citation::before { content: "« "; }
.citation::after  { content: " »"; }

/* --- Galerie ------------------------------------------------------------- */

.bande-galerie {
  padding: clamp(0.75rem, 2vw, 1.5rem);
}

.galerie {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.75rem, 2vw, 1.5rem);
}

.galerie__vignette {
  display: block;
  overflow: hidden;
  background: #241629;
}

.galerie__vignette img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.galerie__vignette:hover img,
.galerie__vignette:focus-visible img {
  transform: scale(1.04);
  opacity: 0.9;
}

/* --- Contacts ------------------------------------------------------------ */

.contacts {
  max-width: var(--largeur);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) var(--marge);
}

.contacts__titre {
  font-family: var(--titre);
  font-weight: 400;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--aubergine);
  margin: 0 0 2.5rem;
}

.fiches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}

.fiche {
  border-top: 2px dotted var(--abricot);
  padding-top: 1.25rem;
}

.fiche__nom {
  font-family: var(--titre);
  font-size: 1.25rem;
  color: var(--aubergine);
  margin: 0 0 0.75rem;
}

.fiche__ligne { margin: 0 0 0.4rem; }

.fiche a {
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 0.25em;
  text-decoration-thickness: 1px;
}

.fiche a:hover { color: var(--olive); }

/* --- Pied ---------------------------------------------------------------- */

.pied {
  background: var(--aubergine);
  color: var(--craie);
  padding: 1.75rem var(--marge);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pied p { margin: 0; }

/* --- Petits écrans ------------------------------------------------------- */

@media (max-width: 700px) {
  .bloc {
    grid-template-columns: 1fr;
  }
  .bloc__titre {
    position: static;
  }
  .galerie {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
