/* ===================== */
/* CSS PAGE CONFIDENTIALITÉ */
/* Fichier : confidentialite.css */
/* ===================== */

/* Reset maintenu du style.css principal */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

/* ===================== */
/* HEADER FIXE */
/* ===================== */
.header-name {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 20px;
}

.header-content {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Lien sur le nom dans le header */
.header-content .name-link {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4em !important;
  font-weight: 700 !important;
  font-style: italic !important;
  color: #1a3d3d !important;
  margin: 0;
  line-height: 1.2;
  text-decoration: none !important;
  display: inline-block;
}

/* Logo Doctolib */
.doctolib-link {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-block;
}

.doctolib-logo {
  max-height: 45px;
  width: auto;
  border-radius: 6px;
  transition: transform 0.2s ease;
}

.doctolib-logo:hover {
  transform: scale(1.05);
}

/* ===================== */
/* MAIN CONTENT */
/* ===================== */
main {
  margin-top: 100px; /* Espace réduit pour le header fixe */
  padding: 0;
}

/* ===================== */
/* SECTION CONTENU */
/* ===================== */
.bloc1 {
  display: block;
  width: 100%;
}

.column.single-page {
  max-width: 800px;
  margin: 0 auto 40px; /* Marge supérieure supprimée, 40px en bas */
  padding: 10px 30px 30px; /* Padding haut réduit, reste à 30px */
  background: #b8e6e6; /* Même couleur que bloc 1.1 */
  border-radius: 0;
  text-align: justify;
  hyphens: auto;
}

/* ===================== */
/* TITRES */
/* ===================== */

/* NOUVELLE RÈGLE POUR LE H1 */
.single-page h1 {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1.3em;
  font-weight: 600;
  color: #2c5f5f;
  margin-top: 30px;
  margin-bottom: 15px;
}

.single-page h2 {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 2em;
  font-weight: 600;
  color: #1a3d3d;
  margin-bottom: 30px;
  padding-bottom: 0;
  border-bottom: none;
}

.single-page h3 {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1.3em;
  font-weight: 600;
  color: #2c5f5f;
  margin-top: 0; /* Supprime la marge supérieure */
  margin-bottom: 15px;
}

/* ===================== */
/* PARAGRAPHES ET LIENS */
/* ===================== */
.single-page p {
  font-size: 1em;
  line-height: 1.4;
  margin-bottom: 20px;
  color: #333;
}

.single-page a {
  color: #1a4545;
  text-decoration: underline;
  font-weight: 500;
}

.single-page a:hover,
.single-page a:focus {
  color: #0d2d2d;
  background: #e6f3ff;
  padding: 2px 4px;
  border-radius: 3px;
}

/* Lien retour à l'accueil */
.read-more {
  display: inline-block;
  margin-bottom: 20px;
}

/* ===================== */
/* FOOTER */
/* ===================== */
.footer {
  background: #1a4545;
  color: #fff;
  padding: 30px 20px;
  text-align: center;
  margin-top: 0;
}

.footer-content p {
  margin-bottom: 10px;
  font-size: 0.95em;
  line-height: 1.4;
  color: #fff;
}

.footer-content a {
  color: #7dd3fc;
  text-decoration: underline;
}

.footer-content a:hover,
.footer-content a:focus {
  color: #fff;
  background: #2c5f5f;
  padding: 2px 4px;
  border-radius: 3px;
}

/* ===================== */
/* ACCESSIBILITÉ */
/* ===================== */
.skip-links {
  position: absolute;
  top: -200px;
  left: 0;
  z-index: 9999;
}

.skip-link {
  position: absolute;
  top: 200px;
  left: 10px;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transform: translateY(-200px);
  transition: transform 0.3s;
}

.skip-link:focus {
  transform: translateY(0);
}

a:focus, button:focus {
  outline: 3px solid #005fcc;
  outline-offset: 2px;
}

/* ===================== */
/* RESPONSIVE */
/* ===================== */
@media screen and (max-width: 768px) {
  .header-name { height: 10%; padding: 20px; justify-content: center; }
  .header-content .name-link { font-size: 2em !important; }
  main { margin-top: 10vh; } /* Correspond à la hauteur du header (10%) */
  
  .column.single-page {
    margin: 0; /* Supprime la marge latérale */
    padding: 15px; /* Padding réduit pour mobile */
  }
  
  .single-page h1 {
    margin-top: 0; /* Supprime la marge du titre sur mobile */
  }

  .single-page h2 {
    font-size: 1.6em;
  }
  
  .single-page h3 {
    font-size: 1.2em;
  }
  
  .header-content { 
    display: block;
    text-align: center;
  }
  
  .header-content .doctolib-link { 
    position: static;
    transform: none;
    margin-top: 10px;
    display: block;
  }
  .header-content .doctolib-logo {
    max-height: 30px;
  }
}

@media screen and (max-width: 480px) {
  .column.single-page {
    margin: 0; /* Supprime la marge pour la pleine largeur */
  }
}

/* ===================== */
/* DÉCLARATIONS DE POLICES LOCALES */
/* ===================== */

/* playfair-display-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/playfair-display-v40-latin-regular.woff2') format('woff2');
}

/* cormorant-garamond-italic - latin */
@font-face {
  font-display: swap;
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/cormorant-garamond-v21-latin-italic.woff2') format('woff2');
}

/* cormorant-garamond-700italic - latin */
@font-face {
  font-display: swap;
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 700;
  src: url('fonts/cormorant-garamond-v21-latin-700italic.woff2') format('woff2');
}

/* source-sans-3-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/source-sans-3-v19-latin-regular.woff2') format('woff2');
}

/* source-sans-3-600 - latin */
@font-face {
  font-display: swap;
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/source-sans-3-v19-latin-600.woff2') format('woff2');
}