/* =============================================================================
   STELLA RESET
   Neutralise les styles parasites Divi 5 + base globale
   ============================================================================= */

/* --- Box model universel --- */
*, *::before, *::after {
  box-sizing: border-box;
}

/* --- Base HTML --- */
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* ── Masque le header natif Divi ── */
#main-header {
  display: none !important;
}

#page-container {
  padding-top: 0 !important;
}



/* --- Corps de page --- */
body {
  background-color: var(--stella-creme);
  color: var(--stella-basilic);
  font-family: var(--stella-font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Fond transparent sur les blocs Divi --- */
body,
#page-container,
.et_pb_section,
.et_pb_row,
.et_pb_column,
.et_pb_module {
  background-color: transparent;
}

/* --- Espacement des sections et lignes Divi --- */
.et_pb_section {
  padding: 0;
}

.et_pb_row {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Titres dans les modules Divi --- */
.et_pb_module h1,
.et_pb_module h2,
.et_pb_module h3,
.et_pb_module h4,
.et_pb_module h5,
.et_pb_module h6 {
  line-height: 1.15;
  margin: 0;
}

/* --- Divi force parfois text-transform uppercase sur les titres --- */
.et_pb_module .et_pb_title_container h1,
.et_pb_module .et_pb_title_container h2 {
  text-transform: none;
  letter-spacing: normal;
}

/* --- Liens : Divi injecte parfois du violet --- */
a,
.et_pb_module a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* --- Boutons Divi : retire outline bleu --- */
.et_pb_button:focus,
.et_pb_button:active {
  outline: none;
  box-shadow: none;
}

/* --- Listes dans les modules Divi --- */
.et_pb_module ul,
.et_pb_module ol {
  padding-left: 1.25rem;
  margin: 0;
}

/* --- Sélection de texte Stella --- */
::selection {
  background-color: var(--stella-spritz);
  color: var(--stella-creme);
}

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

/* --- Vidéo --- */
video {
max-width: 100%;
height: auto;
display: block;
}

/* --- Responsive --- */
@media (max-width: 980px) {
  .et_pb_row { padding: 0 1.5rem; }
}
@media (max-width: 640px) {
  .et_pb_row { padding: 0 1rem; }
}