/*
Theme Name: DMX Assurances Elementor
Theme URI: https://www.dmx-assurances.com
Author: ChatGPT
Description: Thème WordPress optimisé pour une page d'accueil construite avec Elementor pour DMX Assurances.
Version: 1.0
Text Domain: dmx-assurances-elementor
*/

:root {
  --dmx-blue: #0f70b7;
  --dmx-teal: #12a19a;
  --dmx-purple: #82358c;
  --dmx-text: #111827;
  --dmx-light: #f9fafb;
  --dmx-muted: #6b7280;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--dmx-light);
  color: var(--dmx-text);
}

a {
  color: var(--dmx-purple);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.dmx-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

header.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1.5rem;
}

.site-logo img {
  height: 60px;
  width: auto;
  display: block;
}

nav.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
  font-weight: 500;
}

nav.main-nav a {
  color: #374151;
}

nav.main-nav a:hover {
  color: var(--dmx-purple);
}

footer.dmx-footer {
  background: #020617;
  color: #9ca3af;
  padding: 2.2rem 0 1.5rem;
  font-size: 0.9rem;
  margin-top: 2rem;
}

.dmx-footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem;
  margin-bottom: 1.5rem;
}

.dmx-footer h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #e5e7eb;
}

.dmx-footer a {
  color: #e5e7eb;
}

.dmx-footer-bottom {
  border-top: 1px solid #1f2937;
  padding-top: 0.9rem;
  text-align: center;
  font-size: 0.8rem;
}

main.site-main {
  min-height: 60vh;
}

/* Responsive header */
@media (max-width: 768px) {
  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
