.dm-serif-text-regular {
  font-family: "DM Serif Text", serif;
  font-weight: 400;
  font-style: normal;
}

.dm-serif-text-regular-italic {
  font-family: "DM Serif Text", serif;
  font-weight: 400;
  font-style: italic;
}

.inter-medium {
  font-family: "Inter", serif;
  font-weight: 400;
  font-style: normal;
}

.inter-italic {
  font-family: "Inter", serif;
  font-weight: 400;
  font-style: italic;
}

.inter-bold {
  font-family: "Inter", serif;
  font-weight: 1000;
  font-style: bold;
}


/* ===========================
   VARIABLES
   =========================== */
:root {
  --black: #000;
  --red: #B21010;
  --white: #f5f5f5;
}

/* ===========================
   BASE
   =========================== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  color: var(--white);
  background: var(--black);
  line-height: 1.6;
  font-family: 'Neue Haas Grotesk Display Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
h1, h2, h3 {
  font-family: 'DM Serif Text', 'Times New Roman', serif;
  margin: 0 0 0.5em 0;
}


/* ===========================
   HEADER
   =========================== */
.site-header {
  background: var(--black);
  text-align: center;
  padding: 80px 20px 30px;
}

.header-inner {
  margin-top: -40px;
}

.title {
  font-size: 100px;
  color: var(--red);
  line-height: 1.05;
  margin-bottom: 5px;
  text-decoration: none;
}

.subtitle {
  font-family: 'inter-italic', sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(20px, 5vw, 30px);
  color: var(--white);
  text-decoration: none;
}

/* ===========================
   MAIN
   =========================== */
.site-main {
  background: var(--red);
}

.name {
  font-size: 70px;
  text-decoration: underline;
}

.subname {
  font-size: 60px;
  text-decoration: none;
  font-style: italic;
}

section {
  max-width: 980px;
  margin: 0 auto;
  padding: 80px 20px;
  text-align: center;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 40px;
}

/* ===========================
   DIV
   =========================== */
 .container {
    display: flex;               /* active le mode flex pour aligner horizontalement */
    justify-content: center;    /* centre la div horizontalement */
    align-items: center;         /* centre la div verticalement si nÃ©cessaire */
    margin-top: -30px;            /* espace en haut */
    gap: 20px;                  /* espace entre l'image et le texte */
    flex-wrap: wrap;
  }

  .container img {
    height: auto; /* garde les proportions */
    flex-shrink: 0; /* empêche l’image de se réduire trop */
  }

  .container h1 {
    flex: 1; /* le texte prend le reste de la place */
  }

  .text {
    text-align: justify;         /* texte justifiÃ© */
    max-width: 400px;            /* largeur maximale du texte */
  }

  .image {
    width: 400px;            /* largeur maximale de l'image */
    height: auto;
  }

.hover-underline-animation {
  display: inline-block;
  position: relative;
}

.hover-underline-animation::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: black;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}
.hover-underline-animation:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.hover-underline-animation.center::after {
  transform-origin: bottom center;
}

.hover-underline-animation.center:hover::after {
  transform-origin: bottom center;
}

.pdflink {
  font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
  font-size: 30px;
  color: black;
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
  background: var(--red);
  text-align: center;
  padding: 24px 16px;
  font-size: .95rem;
  color: #aaa;
}



p.MsoNormal, li.MsoNormal, div.MsoNormal
  {margin-top:0cm;
  margin-right:0cm;
  margin-bottom:8.0pt;
  margin-left:0cm;
  line-height:115%;
  font-size:12.0pt;
  font-family:"Calibri",sans-serif;}
  {margin-right:0cm;
  margin-left:0cm;
  font-size:12.0pt;
  font-family:"Times New Roman",serif;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
  {margin-top:0cm;
  margin-right:0cm;
  margin-bottom:8.0pt;
  margin-left:36.0pt;
  line-height:115%;
  font-size:12.0pt;
  font-family:"Calibri",sans-serif;}
p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst
  {margin-top:0cm;
  margin-right:0cm;
  margin-bottom:0cm;
  margin-left:36.0pt;
  line-height:115%;
  font-size:12.0pt;
  font-family:"Calibri",sans-serif;}
p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle
  {margin-top:0cm;
  margin-right:0cm;
  margin-bottom:0cm;
  margin-left:36.0pt;
  line-height:115%;
  font-size:12.0pt;
  font-family:"Calibri",sans-serif;}
p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast
  {margin-top:0cm;
  margin-right:0cm;
  margin-bottom:8.0pt;
  margin-left:36.0pt;
  line-height:115%;
  font-size:12.0pt;
  font-family:"Calibri",sans-serif;}
.MsoChpDefault
  {font-size:12.0pt;
  font-family:"Calibri",sans-serif;}
.MsoPapDefault
  {margin-bottom:8.0pt;
  line-height:115%;}
@page WordSection1
  {size:419.55pt 595.3pt;
  margin:72.0pt 54.0pt 72.0pt 54.0pt;}
div.WordSection1
  {page:WordSection1;}
 /* List Definitions */
 ol
  {margin-bottom:0cm;}

ul {list-style: none}


li { font-size:30px; color: var(--red);}

/* ===========================
   RESPONSIVE AJOUTÉ
   =========================== */
.container {
  flex-wrap: wrap; /* Permet de revenir à la ligne sur mobile */
  text-align: center;
}

.image {
  max-width: 100%;
  height: auto;
}

.name {
  font-size: clamp(28px, 6vw, 70px);
}

.subname {
  font-size: clamp(24px, 5vw, 60px);
}

.pdflink {
  font-size: clamp(18px, 3vw, 30px);
}

/* Boîtes centrées fixes -> fluides */
div[style*="width: 500px"] {
  max-width: 100% !important;
  width: auto !important;
  box-sizing: border-box;
}

/* Paragraphes Word export */
p.MsoNormal, li.MsoNormal, div.MsoNormal {
  font-size: clamp(14px, 2vw, 20px);
  line-height: 1.6;
}

/* Media queries pour améliorer lisibilité */
@media (max-width: 768px) {
  section {
    padding: 40px 15px;
  }
}

@media (max-width: 480px) {
  .title {
    font-size: clamp(28px, 8vw, 60px);
  }
  .subtitle {
    font-size: clamp(16px, 5vw, 24px);
  }
}

.contact form {
  display: grid;
  gap: 1rem;
}

.contact input {
  font-size: 1rem;
  padding: 0.9rem 1.2rem;
  border-radius: 0.75rem;
  border: 1px solid #ddd;
  outline: none;
  transition: border 0.2s;
  width: 100%;
  box-sizing: border-box;
}

.contact input:focus, .contact textarea:focus {
  border-color: #000;
}

.contact textarea {
  min-height: 150px;
  resize: vertical;
}

.contact button {
  font-size: 1.1rem;
  padding: 1rem;
  border: none;
  border-radius: 0.75rem;
  background: black;
  color: white;
  cursor: pointer;
  transition: background 0.2s;
}

.contact button:hover {
  background: #333;
}
