/* =========================================================
   EIKO CRÉATION — thème : refonte de la mise en page
   ---------------------------------------------------------
   Cette feuille ne remplace pas site.css : elle le complète.
   Ordre de chargement : site.css puis theme.css.
   Elle apporte :
     1. les images responsives (picture / srcset)
     2. les nouveaux blocs (pages prestations, avis, FAQ, 404)
     3. des corrections de lisibilité et d'accessibilité
   ========================================================= */

/* ---------------------------------------------------------
   1. IMAGES RESPONSIVES
   Le conteneur porte le cadre, l'image le remplit : la hauteur
   ne dépend plus du fichier choisi par le navigateur.
   --------------------------------------------------------- */

/* Le disque du logo animé est affiché à ~170 px au maximum, et il est
   tourné en boucle : c'est la variante 360 px qui est servie, pas le fichier
   de 720 px d'origine (47 Ko). */
.swirlBg {
  background: center/contain no-repeat url("../img/swirl-disc-360.webp");
  background-image: image-set(url("../img/swirl-disc-240.webp") 1dppx,
                              url("../img/swirl-disc-360.webp") 2dppx);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.hero-frame picture,
.proj-img picture,
.lb-figure picture { display: block; width: 100%; height: 100%; }
.hero-frame picture > img,
.proj-img picture > img { width: 100%; height: 100%; object-fit: cover; }
.about-img-wrap picture { display: block; }
.about-img-wrap picture > img { display: block; width: 100%; }

/* Le logo de la navigation change de taille selon la largeur : son
   conteneur doit réserver la bonne boîte pour éviter tout décalage. */
.navlogo { aspect-ratio: 240 / 265; }

/* ---------------------------------------------------------
   2. LISIBILITÉ ET ACCESSIBILITÉ
   --------------------------------------------------------- */
/* Les liens de navigation passent en 0.9rem : à 0.86rem en capitales
   avec 0.5px d'interlettrage, ils tombent sous le confort de lecture. */
.nav-links a { font-size: .9rem; letter-spacing: .4px; }

/* Une cible tactile confortable sur mobile pour les liens du menu. */
@media (max-width: 960px) {
  .nav-links a { font-size: 1.15rem; letter-spacing: .5px; }
  .nav-links li { width: 100%; }
}

/* Le contour de focus existant est conservé ; on garantit seulement qu'il
   reste visible sur les fonds sombres du bandeau et du pied de page. */
.tone-ink a:focus-visible,
footer a:focus-visible { outline-color: var(--yellow); }

/* Les titres de colonnes du pied de page sont du chrome, pas du contenu :
   ils ne doivent pas figurer dans le plan du document (h2 → p). */
.foot-h {
  font-family: 'Bangers', cursive;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  color: var(--yellow);
  margin-bottom: 13px;
}

/* L'eyebrow du hero contient le nom et le métier : sur une seule ligne
   il devenait illisible sur petits écrans. */
.eyebrow { line-height: 1.5; }

/* ---------------------------------------------------------
   3. EN-TÊTE DES PAGES INTÉRIEURES
   --------------------------------------------------------- */
.page-hero { padding: 150px 0 46px; position: relative; }
/* .hero est en display:flex : sans width:100%, le .wrap se rétracte sur son
   contenu et l'en-tête n'est plus aligné sur la grille du reste de la page. */
.hero > .wrap { width: 100%; }
.page-hero h1 {
  font-family: 'Bangers', cursive;
  font-size: clamp(2.3rem, 6.2vw, 3.9rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 1px;
  transform: rotate(-.7deg);
  text-shadow: 4px 4px 0 rgba(20, 16, 24, .14);
  margin-bottom: 18px;
  max-width: 18ch;
}
.page-hero .lead { font-size: 1.06rem; font-weight: 600; max-width: 62ch; margin-bottom: 26px; }
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 48px;
  align-items: center;
}
.page-hero-media img {
  display: block;
  width: 100%;
  height: auto;
  border: 5px solid var(--ink);
  border-radius: 20px;
  box-shadow: 12px 12px 0 var(--magenta);
  transform: rotate(1.1deg);
  background: var(--ink);
}

/* Fil d'Ariane.
   Hauteur du bandeau : --nav-h (88px). Le fil d'Ariane absorbe le décalage
   et l'en-tête qui suit perd son padding haut, pour que le total fasse
   toujours ~150px que la page ait un fil d'Ariane ou non. */
.breadcrumb { padding: 106px 0 0; }
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: 'Space Mono', monospace;
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
.breadcrumb a { color: var(--magenta-dk); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb li[aria-current] { opacity: .65; }
.breadcrumb .bc-sep { opacity: .45; }
.breadcrumb + .hero.page-hero { padding-top: 0; }

/* ---------------------------------------------------------
   4. CORPS DE TEXTE DES PAGES PRESTATIONS
   --------------------------------------------------------- */
.prose-layout { display: grid; grid-template-columns: 1.55fr .85fr; gap: 52px; align-items: start; }
.prose { max-width: 68ch; }
.prose-block { margin-bottom: 34px; }
.prose-block:last-child { margin-bottom: 0; }
.prose h2 {
  font-family: 'Bangers', cursive;
  font-size: clamp(1.7rem, 3.4vw, 2.2rem);
  font-weight: 400;
  letter-spacing: .6px;
  line-height: 1.08;
  margin-bottom: 12px;
  transform: rotate(-.4deg);
}
.prose p { font-size: 1.02rem; font-weight: 500; }
.prose a { color: var(--magenta-dk); font-weight: 700; }

.aside { display: grid; gap: 20px; position: sticky; top: calc(var(--nav-h) + 20px); }
.aside-card {
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: 7px 7px 0 var(--ink);
}
.aside-accent { background: #fff3a6; box-shadow: 7px 7px 0 var(--magenta); }
.aside-h {
  font-family: 'Bangers', cursive;
  font-size: 1.32rem;
  font-weight: 400;
  letter-spacing: .8px;
  margin-bottom: 12px;
}
.aside-card p { font-size: .92rem; font-weight: 500; }
.aside-btn { width: 100%; justify-content: center; margin-top: 14px; font-size: 1.1rem; padding: 10px 18px; }

.check-list, .plain-list, .chip-list { list-style: none; display: grid; gap: 9px; }
.check-list li, .plain-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.5;
}
.check-list .i { flex: none; margin-top: 3px; color: var(--green-dk); }
.plain-list li { display: block; }
.plain-list li + li { border-top: 2px dashed rgba(20, 16, 24, .18); padding-top: 9px; }

.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list li {
  font-family: 'Space Mono', monospace;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 20px;
  padding: 4px 11px;
}

/* Icônes SVG en ligne */
.i { display: inline-flex; width: 1.15em; height: 1.15em; flex: none; }
.i svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.i-sm { width: .95em; height: .95em; }
.contact-line .ic { width: 46px; height: 46px; }
.contact-line .ic svg { width: 22px; height: 22px; }

/* ---------------------------------------------------------
   5. CARTES DE PRESTATION CLIQUABLES
   --------------------------------------------------------- */
.svc-link { display: block; text-decoration: none; color: var(--ink); }
.svc-link h3 { margin-bottom: 8px; }
.svc-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  font-family: 'Space Mono', monospace;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  color: var(--magenta-dk);
}
.svc-link:hover .svc-more { color: var(--ink); }
.svc-link .i { transition: transform .2s; }
.svc-link:hover .i { transform: translateX(4px); }

/* Grille de la page « Prestations » */
.hub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.hub-card {
  display: block;
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: 16px;
  padding: 28px 24px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 8px 8px 0 var(--green);
  transition: transform .18s, box-shadow .18s;
}
.hub-card:nth-child(3n+2) { box-shadow: 8px 8px 0 var(--magenta); }
.hub-card:nth-child(3n) { box-shadow: 8px 8px 0 var(--yellow); }
.hub-card:hover { transform: translate(-4px, -6px) rotate(-.7deg); }
.hub-card:nth-child(3n+2):hover { box-shadow: 13px 13px 0 var(--magenta); }
.hub-card h2 { font-family: 'Bangers', cursive; font-size: 1.7rem; font-weight: 400; letter-spacing: .8px; margin-bottom: 9px; }
.hub-card p { font-size: .94rem; font-weight: 500; }
.hub-ic { font-size: 2.1rem; display: inline-block; transform: rotate(-6deg); margin-bottom: 10px; }
.hub-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  font-family: 'Space Mono', monospace;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  color: var(--magenta-dk);
}
.hub-card:hover .hub-more { color: var(--ink); }

/* ---------------------------------------------------------
   6. AVIS
   --------------------------------------------------------- */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.review {
  margin: 0;
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: 16px;
  padding: 24px 22px;
  box-shadow: 7px 7px 0 var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: rotate(var(--t, 0deg));
}
.review:nth-child(odd) { --t: -.8deg; }
.review:nth-child(even) { --t: .7deg; }
.review blockquote { margin: 0 0 16px; }
.review blockquote p { font-size: .96rem; font-weight: 600; font-style: italic; line-height: 1.55; }
.review figcaption { font-size: .8rem; }
.review figcaption b { display: block; font-weight: 800; }
.review figcaption span { opacity: .75; }

/* ---------------------------------------------------------
   7. FAQ
   --------------------------------------------------------- */
.faq-list { display: grid; gap: 14px; max-width: 900px; }
.faq-item {
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: 14px;
  box-shadow: 6px 6px 0 var(--ink);
  overflow: hidden;
}
.faq-item[open] { box-shadow: 6px 6px 0 var(--magenta); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  padding: 18px 22px;
  font-family: 'Bangers', cursive;
  font-size: 1.28rem;
  letter-spacing: .6px;
  line-height: 1.2;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 50%;
  transition: transform .25s;
}
.faq-item[open] summary::after { content: "−"; transform: rotate(-180deg); }
.faq-a { padding: 0 22px 20px; }
.faq-a p { font-size: .95rem; font-weight: 500; max-width: 78ch; }
.faq-item summary:focus-visible { outline: 3px dashed var(--magenta); outline-offset: -6px; }

/* ---------------------------------------------------------
   8. BANDEAU D'APPEL À L'ACTION
   --------------------------------------------------------- */
.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  background: var(--ink);
  color: var(--paper);
  border: 4px solid var(--ink);
  border-radius: 20px;
  padding: 34px 32px;
  box-shadow: 10px 10px 0 var(--magenta);
}
.cta-band h2 {
  font-family: 'Bangers', cursive;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 400;
  letter-spacing: .8px;
  color: var(--white);
  margin-bottom: 8px;
}
.cta-band p { font-size: .98rem; font-weight: 500; max-width: 60ch; opacity: .92; }
.cta-kicker {
  font-family: 'Space Mono', monospace;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--green);
  margin-bottom: 8px;
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-actions .btn { box-shadow: 6px 6px 0 var(--magenta); }
.cta-actions .btn-ghost { background: var(--paper); }

/* ---------------------------------------------------------
   9. DIVERS
   --------------------------------------------------------- */
.contact-reassure { list-style: none; display: grid; gap: 8px; margin-top: 24px; }
.contact-reassure li {
  font-size: .88rem;
  font-weight: 700;
  padding-left: 26px;
  position: relative;
}
.contact-reassure li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  font-size: .7rem;
  background: var(--green);
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.bubble-more { margin-top: 14px; font-size: .9rem; }
.bubble-more a { color: var(--magenta-dk); font-weight: 800; text-decoration: none; }
.bubble-more a:hover { text-decoration: underline; }

.gallery-3 .proj:nth-child(n) { grid-column: span 4; grid-row: span 1; }

.foot-contact { margin-top: 14px; font-size: .86rem; }
.foot-contact a { color: var(--green); text-decoration: none; font-weight: 700; }
.foot-contact a:hover { text-decoration: underline; }

/* Page 404 : on donne des sorties au visiteur au lieu d'un cul-de-sac. */
.p404-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 34px; }
.p404-nav {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 8px 8px 0 var(--yellow);
  text-align: left;
}
.p404-h {
  font-family: 'Space Mono', monospace;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.p404-nav ul { list-style: none; display: grid; gap: 8px; }
.p404-nav a { color: var(--magenta-dk); font-weight: 700; }

/* ---------------------------------------------------------
   10. RESPONSIVE
   --------------------------------------------------------- */
@media (max-width: 1000px) {
  .prose-layout { grid-template-columns: 1fr; gap: 40px; }
  .aside { position: static; }
}
@media (max-width: 880px) {
  .page-hero { padding: 128px 0 38px; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .page-hero-media { order: -1; }
  .page-hero h1 { max-width: none; }
  .gallery-3 .proj:nth-child(n) { grid-column: span 6; }
  .breadcrumb { padding-top: 96px; }
  .cta-band { padding: 26px 22px; }
}
@media (max-width: 660px) {
  .prose p, .faq-a p { font-size: .97rem; }
  .faq-item summary { font-size: 1.1rem; padding: 15px 16px; }
  .faq-a { padding: 0 16px 16px; }
  .gallery-3 .proj:nth-child(n) { grid-column: span 12; }
  .hub-card, .aside-card { padding: 20px 18px; }
  .p404-nav { padding: 18px; }
}
