/* blocs.css — 18/09/2026 : mise en forme des trois blocs communs (pied de page, bannière France Rénov', bandeau
   cookies), dans le DESIGN DU SITE (palette Tailwind d'origine : vert eco #16a34a / #15803d, gris 900 pour le pied de
   page, arrondis 12-16 px, ombres douces, police du site). Rien d'autre n'est stylé ici. */

/* ── Bandeau cookies ───────────────────────────────────────────────────── */
.eco-consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; max-width: 720px; margin-inline: auto;
  background: #fff; color: #374151; border: 1px solid #e5e7eb; border-radius: 16px; padding: 14px 16px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, .18); font: 400 14px / 1.45 Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  display: grid; grid-template-columns: 1fr auto auto; gap: 10px 12px; align-items: center; }
.eco-consent p { margin: 0; max-width: none; font: inherit; color: #4b5563; }
.eco-consent a { color: #15803d; text-decoration: underline; text-underline-offset: 2px; }
.eco-consent button { font: 600 14px / 1 Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; min-height: 44px; padding: 10px 18px;
  border-radius: 12px; border: 2px solid #e5e7eb; background: #fff; color: #374151; cursor: pointer; transition: background .15s, border-color .15s; }
.eco-consent button:hover, .eco-consent button:focus-visible { background: #f9fafb; border-color: #d1d5db; }
.eco-consent button.eco-consent-ok { background: #16a34a; border-color: #16a34a; color: #fff; box-shadow: 0 6px 16px rgba(22, 163, 74, .25); }
.eco-consent button.eco-consent-ok:hover, .eco-consent button.eco-consent-ok:focus-visible { background: #15803d; border-color: #15803d; }
@media (max-width: 560px) {
  .eco-consent { grid-template-columns: 1fr 1fr; }
  .eco-consent p { grid-column: 1 / -1; }
}

/* ── Pied de page (même palette que l'original : gris 900, texte gris 400, titres blancs) ── */
.eco-footer { background: #111827; color: #9ca3af; font: 400 14px / 1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; padding: 48px 0 40px; }
.eco-footer-int { max-width: 1120px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); display: grid; gap: 28px 48px; }
@media (min-width: 720px) { .eco-footer-int { grid-template-columns: 1.4fr 1fr 1fr; } }
.eco-footer p { margin: 0 0 8px; max-width: none; font: inherit; }
.eco-footer h2 { font: 600 14px / 1.3 Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; margin: 0 0 14px; color: #fff; text-transform: none; letter-spacing: 0; }
.eco-footer ul { list-style: none; margin: 0; padding: 0; }
.eco-footer li { margin: 0 0 8px; max-width: none; font: inherit; }
.eco-footer a { color: #9ca3af; text-decoration: none; transition: color .15s; }
.eco-footer a:hover, .eco-footer a:focus-visible { color: #fff; }
.eco-footer .eco-footer-marque { display: inline-block; font-weight: 800; font-size: 22px; color: #fff; text-decoration: none; margin-bottom: 8px; }
.eco-footer .eco-footer-legal { grid-column: 1 / -1; border-top: 1px solid #1f2937; padding-top: 18px; color: #6b7280; font-size: 13.5px; }
.eco-footer button.eco-lien { background: none; border: none; padding: 0; margin: 0; font: inherit; color: #9ca3af; cursor: pointer; }
.eco-footer button.eco-lien:hover, .eco-footer button.eco-lien:focus-visible { color: #fff; }

/* ── Téléphone cliquable dès le premier écran (18/09) ── */
.eco-tel-ico { width: 18px; height: 18px; flex: 0 0 auto; }
.eco-nav-mobile { display: flex; align-items: center; gap: 2px; }
.eco-tel-nav { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 10px; color: #15803d; font: 600 14px / 1 Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; text-decoration: none; white-space: nowrap; }
.eco-tel-nav:hover, .eco-tel-nav:focus-visible { background: #f0fdf4; }
.eco-tel-desk { display: none; align-items: center; gap: 6px; color: #15803d; font: 600 14px / 1 Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; text-decoration: none; white-space: nowrap; }
.eco-tel-desk:hover, .eco-tel-desk:focus-visible { color: #166534; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 768px) { .eco-nav-mobile { display: none; } }
@media (min-width: 1024px) { .eco-tel-desk { display: inline-flex; } }
@media (max-width: 359px) { .eco-tel-nav span { display: none; } }
#sticky-cta { display: flex; gap: 10px; align-items: stretch; }
#sticky-cta a { flex: 1 1 auto; }
#sticky-cta a.eco-appel { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 12px 16px; background: #fff; color: #15803d; border: 2px solid #16a34a; box-shadow: none; }
#sticky-cta a.eco-appel:hover, #sticky-cta a.eco-appel:focus-visible { background: #f0fdf4; }

/* ── Onglets Particuliers / Entreprises de la page Aides (20/09) ── */
.eco-onglets { display: inline-flex; gap: 4px; padding: 4px; background: #f3f4f6; border-radius: 14px; }
.eco-onglet { border: 0; background: transparent; cursor: pointer; padding: 11px 22px; border-radius: 10px; color: #4b5563;
  font: 600 15px / 1.2 Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; transition: background .15s, color .15s; }
.eco-onglet:hover, .eco-onglet:focus-visible { color: #111827; }
.eco-onglet.eco-onglet-actif { background: #fff; color: #15803d; box-shadow: 0 1px 3px rgba(0, 0, 0, .10); }
@media (max-width: 420px) { .eco-onglet { padding: 10px 14px; font-size: 14px; } }

/* ── Entête ordinateur : 5 liens (4 produits + Aides), jamais sur deux lignes (22/09) ── */
@media (min-width: 768px) {
  nav .hidden.md\:flex > a { white-space: nowrap; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  nav .hidden.md\:flex { gap: 16px; }
  nav .hidden.md\:flex > a { font-size: 13px; }
}
