/* ============================
   CHARTE GRAPHIQUE AIDE77
   ============================ */

/* === FONTES PERSONNALISÉES === */

@font-face {
  font-family: 'Roboto';
  src: url('../fonts/Roboto-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/Roboto-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/Roboto-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: 'Oswald';
  src: url('../fonts/Oswald-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Oswald';
  src: url('../fonts/Oswald-Bold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}


/* === VARIABLES COULEURS === */
:root {
  --bleu-fonce: #002C54;
  --bleu-gris: #2e4a78;
  --bleu-logo: #2A009D;
  --bleu-menu: #0066cc;
  --bleu-clair: #3DA9D4;
  --bleu-tres-clair:#ebf8fd;
  --gris-clair: #F2F2F2;
  --blanc: #FFFFFF;
  --orange: #E56C2F;
  --orange-logo: #F3B965;
  --gris-tech: #B0BEC5;

  --padding-lateral: 20px;
  --padding-footer: 0;
  --taille-logo: 80px;
  --gap-footer: 1rem;
  --arrondis: 15px;
  --largeur-max: 1000px;
    /* Autres couleurs ou variables globales ici */
}


/* === TYPOGRAPHIE GÉNÉRALE === */

/* === STRUCTURE GÉNÉRALE === */
body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--bleu-fonce);
  background-color: var(--blanc);
}

main {
  padding: 0;
}
section {
  margin-bottom: 2rem;
}

.section-tech {
  background-color: var(--gris-clair);
  padding: 2rem 1rem;
}
.site-title {
  font-size: 2rem;
  font-weight: bold;
  text-decoration: none;
  color: var(--bleu-fonce);
  display: block;
  margin-bottom: 0.2em;
}
.site-description {
  font-size: 1rem;
  font-style: italic;
  color: var(--bleu-clair);
  margin-top: 0;
}


/* === TITRAGE (H1–H6) === */
h1, h2, h3, h4, h5, h6, .h1 {
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

h1, .h1 {
  font-size: 1.5rem;
  margin: 1em 0 0;
  color: var(--bleu-logo);
}

h2 {
  font-size: 1.25rem;
  margin: 1em 0 0;
  color: var(--bleu-menu);
}
h3 {
  font-size: 1rem;
  margin: 1em 0 0;
  color: var(--bleu-menu);
}
h4 {
  font-size: 0.9rem;
  margin: 0.75em 0 0;
  color: var(--bleu-menu);
}
h5 {
  font-size: 0.8rem;
  margin: 0.5em 0 0;
  color: var(--bleu-menu);
}
h6 {
  font-size: 0.6rem;
  margin: 0.5em 0 0;
  color: var(--bleu-menu);
}

h2 {
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

h2[id], h3[id] { /* Permet de positionner les ancres dans la page */
  scroll-margin-top: 90px;
}

/* === PARAGRAPHES === */

main p,
.page-content p {
  text-align: justify;
  line-height: 1.6;
  margin: 0.75em 0.5em;
}


/* === LIENS & INTERACTIONS === */
a {
  color: var(--bleu-clair);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}


/* === BOUTONS === */
/* ============================
   Boutons globaux
   ============================ */

.button,
.wp-block-button__link,
a.bouton {
  background-color: var(--orange);
  color: var(--blanc);
  padding: 0.5rem 1rem;
  border-radius: var(--arrondis);
  display: inline-block;
  text-align: center;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.button:hover,
.wp-block-button__link:hover,
a.bouton:hover {
  background-color: var(--bleu-clair);
  color: var(--blanc);
}



/* === BLOCS TECHNIQUES / SECTIONS === */

/* === UTILITAIRES === */
.text-center {
  text-align: center;
}
.text-bold {
  font-weight: bold;
}
.bg-bleu-fonce {
  background-color: var(--bleu-fonce);
  color: var(--blanc);
}

.no-wrap {
  white-space: nowrap;
}

.accroche {
  text-align: center !important;
  font-style: italic;
  font-size: 1.1rem;
  margin: 1.5rem auto !important;
  max-width: 50rem;
  line-height: 1.6;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  color: var(--gris-foncé, #333); /* Utilise ta variable si elle existe */
}



/* === RESPONSIVE / MOBILE === */
@media (max-width: 768px) {
  :root {
    --padding-lateral: 10px;
    --padding-footer: 1.5rem;
    --taille-logo: 40px;
    --gap-footer: 0.25rem;
    /* Les autres variables réajustées pour mobile */
  }

  p {
  hyphens: auto;
  overflow-wrap: break-word;
  }
}
