/*
 * dalle33.fr — feuille d'appoint de la version statique.
 * Les feuilles générées par Elementor pour chaque page (uploads/elementor/css/post-*.css)
 * n'existent dans aucune archive : ce fichier redonne largeurs, espacements et couleurs.
 */
:root {
  --r-accent: #F82C00;
  --r-dark: #191D3A;
  --r-soft: #F7FAFC;
  --r-line: #E2E8F0;
  --r-width: 1140px;
}

/* ---------- marque (le logo n'a pas été archivé) */
.r-brand {
  display: inline-block;
  font-family: Outfit, system-ui, sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.2;
  color: var(--r-dark);
  white-space: nowrap;
}
.site-branding a.brand { text-decoration: none; padding: 14px 0; }
.site-header .header-button, .site-header .mobile-header-button { white-space: nowrap; }
.site-footer .r-brand { font-size: 22px; }
.site-footer .wp-block-image a { text-decoration: none; }

/* ---------- gabarit des sections */
.elementor > .e-con {
  display: block;
  width: 100%;
  padding: 26px 24px;
  box-sizing: border-box;
}
.elementor > .e-con > .e-con-inner,
.elementor > .e-con.e-con-full > .e-con {
  max-width: var(--r-width);
  margin-inline: auto;
  width: 100%;
  padding: 0;
}
.elementor .e-con .e-con { padding: 0; }
.elementor .e-con-inner,
.elementor .e-con-full {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* rangées de plusieurs blocs : côte à côte sur grand écran */
@media (min-width: 900px) {
  .elementor :is(.e-con-inner, .e-con-full):has(> .e-con-full + .e-con-full) {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 28px;
  }
  .elementor :is(.e-con-inner, .e-con-full):has(> .e-con-full + .e-con-full) > .e-con-full { flex: 1 1 260px; min-width: 0; }
  .elementor :is(.e-con-inner, .e-con-full):has(> .e-con-full + .e-con-full) > .elementor-widget { flex: 1 1 100%; }
  /* dans une rangée, un bloc qui ne porte qu un bouton ou la carte reste sur sa propre ligne */
  .elementor :is(.e-con-inner, .e-con-full):has(> .e-con-full + .e-con-full) > .e-con-full:has(.elementor-widget-button):not(:has(.elementor-widget-text-editor, .elementor-widget-heading, .elementor-widget-eael-dual-color-header, .elementor-widget-eael-flip-box)),
  .elementor :is(.e-con-inner, .e-con-full):has(> .e-con-full + .e-con-full) > .e-con-full:has(.elementor-widget-google_maps) { flex-basis: 100%; }
}

/* ---------- typographie */
.elementor,
.elementor .elementor-heading-title,
.elementor .eael-dual-header .title,
.elementor .elementor-button { font-family: Outfit, system-ui, -apple-system, "Segoe UI", sans-serif; }

.elementor .elementor-widget-heading { text-align: center; }
.elementor h1.elementor-heading-title {
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.15;
  font-weight: 700;
  color: var(--r-dark);
  margin: 18px 0 4px;
}
.elementor h2.elementor-heading-title {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
  font-weight: 600;
  color: var(--r-dark);
  margin: 0;
}
.elementor h3.elementor-heading-title,
.elementor h4.elementor-heading-title {
  font-size: 21px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--r-dark);
  margin: 0;
}
/* bandeau de titre de rubrique (un bloc qui ne contient qu'un titre h2) */
.elementor > .e-con:has(h2.elementor-heading-title):not(:has(.elementor-widget-text-editor, .elementor-widget-button, .elementor-widget-eael-dual-color-header, .elementor-widget-google_maps, .elementor-widget-eael-flip-box)) {
  background: var(--r-soft);
  border-block: 1px solid var(--r-line);
  padding-block: 34px;
  margin-top: 26px;
}

.elementor .eael-dual-header { text-align: center; margin: 0; }
.elementor .eael-dual-header .title {
  font-size: clamp(21px, 2.4vw, 27px);
  line-height: 1.25;
  font-weight: 600;
  text-transform: none;
  color: var(--r-dark);
  margin: 0 0 6px;
}
.elementor .eael-dual-header .title .lead,
.elementor .eael-dual-header .title span.lead { color: var(--r-accent); font-size: inherit; font-weight: inherit; margin: 0; }
.elementor .eael-dual-header .eael-dch-separator-wrap { display: none; }

.elementor .elementor-widget-text-editor {
  font-size: 17px;
  line-height: 1.65;
  color: #2D3748;
  max-width: 880px;
  margin-inline: auto;
  width: 100%;
}
.elementor .elementor-widget-text-editor p { margin: 0 0 12px; }
.elementor .elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.elementor .elementor-widget-text-editor a { color: var(--r-accent); }

.elementor .eael-fancy-text-container {
  text-align: center;
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 300;
  color: var(--r-dark);
}
.elementor .eael-fancy-text-strings { color: var(--r-accent); font-weight: 600; }

/* ---------- boutons */
.elementor .elementor-widget-button { text-align: center; }
.elementor .elementor-button {
  background-color: var(--r-accent);
  color: #fff;
  border: 2px solid var(--r-accent);
  border-radius: 5px;
  padding: 11px 22px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
  transition: background-color .15s, color .15s;
}
.elementor .elementor-button:hover,
.elementor .elementor-button:focus { background-color: #fff; color: var(--r-accent); }

/* ---------- cartes de contact (téléphone, e-mail, adresse) */
.elementor .eael-elements-flip-box-container { height: 190px; max-width: 360px; margin-inline: auto; width: 100%; }
.elementor .eael-elements-flip-box-front-container,
.elementor .eael-elements-flip-box-rear-container {
  background: var(--r-dark);
  border: 0;
  border-radius: 8px;
  color: #fff;
}
.elementor .eael-elements-flip-box-rear-container { background: var(--r-accent); }
.elementor .eael-elements-flip-box-heading { color: #fff; font-size: 20px; font-weight: 600; margin: 8px 0 0; font-family: inherit; }
.elementor .eael-elements-flip-box-content,
.elementor .eael-elements-flip-box-content p { color: #fff; font-size: 16px; margin: 6px 0 0; }
.elementor .eael-elements-flip-box-icon-image svg { width: 34px; height: 34px; fill: #fff; }
.elementor a.eael-elements-flip-box-flip-card { text-decoration: none; }

/* ---------- carte */
.elementor .elementor-widget-google_maps iframe { width: 100%; height: 380px; border: 0; border-radius: 8px; display: block; }

/* ---------- pied de page */
.site-footer .site-footer-row { align-items: center; }

/* ---------- correctifs */
/* l'extension masque ce texte tant que son script n'a pas tourné : ici il est écrit en dur */
.elementor .eael-fancy-text-container .eael-fancy-text-strings { display: inline !important; background: none; padding: 0; }
.elementor .eael-fancy-text-container .eael-fancy-text-strings::after { content: none; }
.elementor .eael-dual-header .title span { font-size: inherit; line-height: inherit; }
