/* daliacare.com — feuille unique. Reprend la charte du thème WordPress (Astra +
   Elementor) : Poppins, fond dégradé bleu, texte violet clair sur les documents. */

@font-face { font-family: Poppins; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/poppins-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Poppins; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/poppins-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Poppins; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/poppins-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Poppins; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/poppins-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Poppins; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/poppins-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Poppins; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/poppins-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --blue: #1322aa;
  --button-blue: #4053f5;
  --document-text: #5b5bf0; /* #6b6bfc sous WordPress, foncé pour le contraste WCAG AA (4,5:1) */
  --heading: rgba(5, 5, 10, 0.59);
  --nav: rgba(242, 245, 247, 0.76);
  --white: #fff;
  --gutter: 20px;
  --width: 1240px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: Poppins, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.857;
  color: var(--heading);
  background: var(--blue);
  overflow-wrap: break-word;
}

/* Fond fixe : le contenu défile par-dessus. Porté par un pseudo-élément plutôt que
   par background-attachment: fixed, qu'iOS Safari ignore. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url(/assets/img/background.jpg) center / cover no-repeat;
}

img { max-width: 100%; height: auto; }

a { color: inherit; }

h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.3; margin: 0 0 20px; }

/* --- En-tête --- */

.site-header {
  max-width: var(--width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header .logo img { display: block; width: 174px; }

.site-header nav { display: flex; align-items: center; gap: 32px; }

.site-header nav a { color: var(--nav); text-decoration: none; }

.site-header nav a:hover, .site-header nav a:focus-visible { color: var(--white); }

.site-header .linkedin { display: inline-flex; }

/* --- Contenu --- */

main { max-width: var(--width); margin: 0 auto; padding: 0 var(--gutter) 60px; }

.button {
  display: inline-block;
  padding: 8px 28px;
  border-radius: 27px;
  background: var(--white);
  color: var(--button-blue);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}

.button::after { content: " ›"; }

.button:hover, .button:focus-visible { background: #eef0ff; }

/* Accueil */

.hero { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 64px 10px; }

.hero h1 { font-size: 48px; color: var(--white); margin-bottom: 55px; }

.hero-text { flex: 1 1 728px; }

.hero-phone { flex: 0 0 auto; width: 216px; }

.mission { text-align: center; padding: 50px 10px 0; }

.mission h3 { font-size: 24px; color: var(--white); margin-bottom: 40px; }

.mission img { width: 133px; }

/* Contact et 404 */

.contact, .not-found { padding: 64px 10px; text-align: center; color: var(--white); }

.contact h1 { font-size: 24px; color: var(--white); max-width: 880px; margin: 0 auto 40px; }

.not-found h1 { font-size: 48px; color: var(--white); }

.not-found p { margin: 0 0 40px; }

/* Documents légaux */

.document { color: var(--document-text); background: var(--white); padding: 20px; }

.document h1 { font-size: 64px; color: var(--heading); }

.document h2 { font-size: 40px; color: var(--heading); }

.document h3 { font-size: 24px; color: var(--heading); }

.document h4, .document h5, .document h6 { font-size: 20px; color: var(--heading); }

.document p { margin: 0 0 20px; }

.document ul, .document ol { margin: 0 0 20px; padding-left: 48px; }

.document a { color: #000; }

.document table { width: 100%; border-collapse: collapse; margin: 0 0 24px; display: block; overflow-x: auto; }

.document th, .document td { border: 1px solid rgba(0, 0, 0, 0.1); padding: 8px; text-align: left; vertical-align: top; }

.document th { font-weight: 600; }

.document .float-left { float: left; margin: 0 15px 10px 0; }

.document .float-right { float: right; margin: 0 0 10px 15px; }

.document p::after { content: ""; display: table; clear: both; }

.media-text { display: grid; grid-template-columns: minmax(0, 15%) minmax(0, 1fr); gap: 0 32px; align-items: center; margin: 0 0 20px; }

.media-text figure { margin: 0; }

/* --- Pied de page --- */

.site-footer { background: var(--white); color: #000; }

.site-footer nav {
  max-width: var(--width);
  margin: 0 auto;
  padding: 30px var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 32px;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }

.site-footer a { text-decoration: none; }

.site-footer a:hover, .site-footer a:focus-visible { text-decoration: underline; }

/* --- Mobile --- */

@media (max-width: 921px) {
  .hero { flex-direction: column; align-items: flex-start; padding: 32px 0; }
  .hero h1 { font-size: 32px; margin-bottom: 32px; }
  .hero-phone { align-self: center; }
  .document h1 { font-size: 40px; }
  .document h2 { font-size: 30px; }
  .site-footer nav { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

@media (max-width: 544px) {
  :root { --gutter: 16px; }
  .site-header { min-height: 80px; }
  .site-header .logo img { width: 120px; }
  .site-header nav { gap: 20px; }
  .document { padding: 16px 12px; }
  .document h1 { font-size: 32px; }
  .document h2 { font-size: 26px; }
  .document ul, .document ol { padding-left: 24px; }
  .media-text { grid-template-columns: minmax(0, 1fr); }
  .media-text figure img { max-width: 120px; }
}
