/*
Theme Name: Hello ECO
Theme URI: http://localhost/eco
Description: Thème enfant Hello Elementor pour ECO INGENIERIE. Le contenu des pages se modifie dans Elementor.
Author: ECO INGENIERIE
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-eco
*/

:root {
  --eco-blue: #1060b0;
  --eco-blue-hover: #0d4f91;
  --eco-green: #0f8f2e;
  --eco-ink: #0e1a2b;
  --eco-muted: #5a6b7d;
  --eco-bg: #f6f8fc;
  --eco-dark: #0b1628;
  --eco-line: #d5deea;
}

body {
  background:
    radial-gradient(ellipse 120% 80% at 100% -10%, rgb(16 96 176 / 7%), transparent 50%),
    var(--eco-bg);
  color: var(--eco-ink);
}

.eco-header-shell {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgb(246 248 252 / 92%);
  border-bottom: 1px solid rgb(213 222 234 / 70%);
  backdrop-filter: blur(16px);
}

body.admin-bar .eco-header-shell {
  top: 32px;
}

body.home .eco-header-shell {
  position: fixed;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgb(11 22 40 / 55%), transparent);
  border-bottom-color: transparent;
}

@media (max-width: 782px) {
  body.admin-bar .eco-header-shell {
    top: 46px;
  }
}

.eco-fiches {
  display: grid;
  gap: 1rem;
}

.eco-fiches-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.eco-fiches-filters a {
  border: 1px solid var(--eco-line);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.85rem;
  background: #fff;
}

.eco-fiches-filters a.is-active {
  background: var(--eco-blue);
  color: #fff;
  border-color: var(--eco-blue);
}

.eco-fiches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.8rem;
}

.eco-fiche-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 100%;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--eco-line);
  border-radius: 12px;
}

.eco-fiche-card strong {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.02rem;
}

.eco-fiche-card span {
  color: var(--eco-blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.eco-contact-form {
  display: grid;
  gap: 0.85rem;
}

.eco-contact-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.92rem;
}

.eco-contact-form input,
.eco-contact-form select,
.eco-contact-form textarea {
  width: 100%;
  border: 1px solid var(--eco-line);
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  background: #fff;
  font: inherit;
}

.eco-contact-form button {
  justify-self: start;
  border: 0;
  border-radius: 10px;
  padding: 0.9rem 1.4rem;
  background: var(--eco-blue);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.eco-notice {
  padding: 0.8rem 1rem;
  border-radius: 10px;
  background: #e8f6ec;
  color: #0c7425;
}
