/* PAGE INFOS — BASE */

html,
body {
  margin: 0;
  padding: 0;
}

.infos-page {
  --infos-margin: 25px;
  --infos-gutter: 10px;

  box-sizing: border-box;
  width: 100%;
  min-height: 100svh;
  padding: 0 25px 25px;

  background: #fff;
  color: #000;

  font-family: "IBM Plex Mono", monospace;
  font-weight: 400;

  display: flex;
  flex-direction: column;
}

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

.infos-page a {
  color: inherit;
}

.infos-page p,
.infos-page h2,
.infos-page ul {
  margin: 0;
}

/* HEADER IDENTIQUE À L'ACCUEIL */

.infos-page .site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  padding: 12px 25px;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: center;

  font-size: 20px;
  line-height: 1.2;
  font-weight: 400;

  background: #fff;
  z-index: 30;
}


.infos-page .site-header a {
  color: inherit;
  text-decoration: none;
  width: fit-content;
  justify-self: start;
}

.infos-page .site-header a:nth-child(2) {
  text-align: left;
}

.infos-page .site-header a:nth-child(3) {
  text-align: right;
  justify-self: end;
}



/* GRILLE PRINCIPALE : 9 COLONNES */

.infos-grid {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  column-gap: var(--infos-gutter);
  align-items: start;

  margin-top: 48px;
}

/* PHOTO : COLONNES 1 À 2 */

.infos-photo {
  grid-column: 1 / span 2;
}

.infos-photo img {
  display: block;
  width: 100%;
  height: auto;
}

/* COLONNE GAUCHE : 1 À 3 */

.infos-sidebar {
  grid-column: 1 / span 3;
  grid-row: 2;

  padding-top: 68px;
  min-width: 0;
}

/* SERVICES ET CONTACT */

.infos-sidebar h2 {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: underline;
  text-underline-offset: 2px;

  margin-bottom: 27px;
}

.infos-services ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.25;
}

.infos-services li::before {
  content: "•";
}

/* MASCOTTE LIÉE AU CONTACT */

.infos-mascotte {
  position: absolute;

  width: 110px;
  left: calc((100% + 10px) / 3);
  top: 0;

  transform: translateY(-75%);
  pointer-events: none;
}

.infos-mascotte img {
  display: block;
  width: 100%;
  height: auto;
}



.infos-contact {
  position: relative;
  margin-top: 95px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.25;
}

.infos-contact h2 {
  margin-bottom: 27px;
}

.infos-contact > a {
  display: inline-block;
  margin-top: 12px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.infos-social-intro {
  margin-top: 33px !important;
  margin-bottom: 12px !important;
}

.infos-socials {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.infos-socials a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* GRAND TEXTE : COLONNES 4 À 9 */

.infos-description {
  grid-column: 4 / span 6;
  grid-row: 2;

  padding-top: 62px;

  font-size: 35px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  min-width: 0;
}

.infos-description p {
  margin: 0 0 38px;
}

.infos-description p:last-child {
  margin-bottom: 0;
}

/* FOOTER */

.infos-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;

  margin-top: auto;
  padding-top: 50px;

  font-size: 15px;
  font-weight: 300;
  line-height: 1.2;
}

.infos-footer a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* TABLETTE */

@media (max-width: 1000px) {
  .infos-description {
    font-size: clamp(23px, 3vw, 35px);
  }

  .infos-services ul,
  .infos-contact {
    font-size: 13px;
  }
}

/* MOBILE */

@media (max-width: 700px) {
  .infos-page {
    --infos-margin: 16px;
  }

  .infos-header {
    font-size: 13px;
  }

  .infos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 36px;
  }

  .infos-photo {
    grid-column: 1 / 2;
    grid-row: 1;
  }

  .infos-description {
    grid-column: 1 / -1;
    grid-row: 2;
    padding-top: 0;

    font-size: clamp(22px, 5vw, 35px);
  }

 .infos-sidebar {
  grid-column: 1 / span 3;
  grid-row: 2;

  position: relative;

  padding-top: 68px;
  min-width: 0;
}

  .infos-contact {
    margin-top: 55px;
  }

  .infos-footer {
    font-size: 12px;
  }
}


/* VERSION MOBILE — INFOS */

@media (max-width: 700px) {

  .infos-page {
    padding: 0 20px 25px;
  }

 
/* HEADER MOBILE */

.infos-page .site-header {
  height: 96px;
  padding: 12px 20px;

  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 6px;

  font-size: clamp(22px, 6.9vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.065em;
}

/* NOM SUR DEUX LIGNES */

.infos-page .site-header a:first-child span {
  display: block;
}

/* MASQUER PROJETS SUR MOBILE */

.infos-page .site-header > a:nth-child(2) {
  display: none;
}

/* INFOS ALIGNÉ SUR VILLEMAIN */

.infos-page .site-header > a:nth-child(3) {
  align-self: flex-end;
}



  /* STRUCTURE VERTICALE */

  .infos-grid {
    display: flex;
    flex-direction: column;
    gap: 55px;

    margin-top: 230px;
  }

  /* PHOTO MASQUÉE */

  .infos-photo {
    display: none;
  }

  /* PRÉSENTATION EN PREMIER */

  .infos-description {
    order: 1;
    width: 100%;
    padding-top: 0;

    font-size: 25px;
    line-height: 1.25;
    text-align: left;
  }

  /* SERVICES ET CONTACT ENSUITE */

  .infos-sidebar {
    order: 2;
    width: 100%;
    padding-top: 0;
  }

  
/* MASCOTTE MOBILE */

.infos-contact {
  display: block;
  position: relative;
}

.infos-contact h2 {
  margin-bottom: 20px;
}

/* MASCOTTE — SANS IMPACT SUR LES TEXTES */

.infos-mascotte {
  display: block;
  position: absolute;

  width: 95px;
  right: 0;
   left: auto;
  top: -40px;

  margin: 0;
  transform: none;
  pointer-events: none;
}





/* TITRES SERVICES ET CONTACT */

.infos-sidebar h2 {
  font-size: 23px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 20px;
}

/* LISTE DES SERVICES */

.infos-services ul {
  font-size: 19px;
  font-weight: 300;
  line-height: 1.4;
}

/* CONTACT */

.infos-contact {
  margin-top: 65px;

  font-size: 19px;
  font-weight: 300;
  line-height: 1.4;
}

/* LIEN EMAIL */

.infos-contact > a {
  margin-top: 14px;
  max-width: 100%;
  overflow-wrap: anywhere;
}

/* RÉSEAUX SOCIAUX */

.infos-social-intro {
  margin-top: 35px !important;
  margin-bottom: 14px !important;
}


/* ALIGNEMENT DES LISTES APRÈS LA PUCE */

.infos-services li {
  position: relative;
  padding-left: 0.8em;
}

.infos-services li::before {
  position: absolute;
  left: 0;
}

/* Retour à la ligne avant le & */

.infos-services .mobile-break {
  display: block;
}


/* FOOTER MOBILE */

.infos-footer {
  font-size: 16px;
  font-weight: 400;

  flex-direction: column;
  align-items: left;
  text-align: left;

  gap: 10px;
  padding-top: 90px;
}

.infos-footer a {
  align-self: left;
}

}



/* Blocs natifs WordPress : conserver la composition actuelle. */
.infos-services .wp-block-heading,
.infos-contact .wp-block-heading { margin: 0 0 27px; }
.infos-contact > p.infos-mail { margin-top: 12px; }
.infos-mail a { text-decoration: underline; text-underline-offset: 2px; }
.infos-socials { gap: 0; }
.infos-socials p { margin: 0; }
.infos-description .wp-block-group { margin: 0; }

@media (max-width: 700px) {
  .infos-contact > p.infos-mail { margin-top: 14px; }
  .infos-mail a { overflow-wrap: anywhere; }
  .infos-contact .wp-block-heading { margin-bottom: 20px; }
}


/* GRAND ÉCRAN — garde les 9 colonnes et les décalages d'origine.
   Agrandit les textes et la gouttière, sans changer le mobile. */
@media (min-width: 1441px) {
  .infos-page {
    --infos-gutter: clamp(10px, calc(0.7143vw - 0.286px), 18px);
  }

  .infos-page .site-header {
    gap: var(--infos-gutter);
  }

  .infos-page .site-header {
    font-size: clamp(20px, calc(0.7143vw + 9.714px), 28px);
  }

  .infos-description {
    font-size: clamp(35px, calc(1.5179vw + 13.1429px), 52px);
  }

  .infos-sidebar h2 {
    font-size: clamp(20px, calc(0.5357vw + 12.286px), 26px);
  }

  .infos-services ul,
  .infos-contact {
    font-size: clamp(15px, calc(0.4464vw + 8.571px), 20px);
  }

  .infos-footer {
    font-size: clamp(15px, calc(0.3571vw + 9.857px), 19px);
  }
}
