/* ==========================================================================
   Page Accueil — thème neutre (identité commune TTR Multiservices)
   ========================================================================== */
body[data-theme="accueil"] {
  --primary: #1e293b;
  --primary-dark: #10161f;
  --primary-light: #3c4a63;
  --bg: #f7f6f3;
  --surface: #ffffff;
}

.hero-home {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f7f6f3 0%, #efece3 100%);
  padding: 4.5rem 0 6rem;
}
.hero-home .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 880px) { .hero-home .container { grid-template-columns: 1fr; } }

.hero-home .eyebrow { margin-bottom: 1.2rem; }
.hero-home h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  margin-bottom: 1rem;
}
.hero-home h1 em {
  font-style: normal;
  color: var(--accent-dark);
  background: linear-gradient(180deg, transparent 62%, color-mix(in srgb, var(--accent) 35%, transparent) 62%);
}
.hero-home .lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.hero-trust { display: flex; gap: 1.8rem; flex-wrap: wrap; }
.hero-trust .trust-item { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; font-weight: 600; color: var(--primary); }
.hero-trust svg { width: 22px; height: 22px; color: var(--accent-dark); }

.hero-art { position: relative; }
.hero-art img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; box-shadow: var(--shadow-lg); border-radius: var(--radius-lg); }

/* Bloc de navigation par icônes vers les deux univers */
.poles {
  padding: 1rem 0 5.5rem;
}
.poles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 760px) { .poles-grid { grid-template-columns: 1fr; } }

.pole-card {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  padding: 2.6rem 2.2rem;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pole-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pole-card::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
}
.pole-card::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(0,0,0,0.55) 100%);
}
.pole-card.pole-ev::before { background: radial-gradient(120% 120% at 20% 0%, #6b9b5e 0%, #2f5233 55%, #1c3520 100%); }
.pole-card.pole-bt::before { background: radial-gradient(120% 120% at 20% 0%, #59636d 0%, #2b3036 55%, #16181b 100%); }
.pole-card .pole-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
  display: grid; place-items: center;
  margin-bottom: 1.4rem;
}
.pole-card .pole-icon svg { width: 32px; height: 32px; }
.pole-card h3 { color: #fff; font-size: 1.5rem; margin-bottom: 0.5rem; }
.pole-card p { color: rgba(255,255,255,0.82); max-width: 340px; margin-bottom: 1.2rem; }
.pole-card .pole-link { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; color: #fff; }
.pole-card .pole-link svg { width: 18px; height: 18px; transition: transform 0.2s ease; }
.pole-card:hover .pole-link svg { transform: translateX(5px); }
.pole-card .pole-bg-pattern { position: absolute; inset: 0; z-index: -1; opacity: 0.5; }

/* Bande "Nos deux pôles" intro */
.intro-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 760px) { .intro-split { grid-template-columns: 1fr; } }
.intro-split .intro-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.8rem;
}
.intro-split .intro-item svg { width: 30px; height: 30px; color: var(--accent-dark); margin-bottom: 0.8rem; }

/* Bande CTA finale */
.cta-band {
  background: linear-gradient(120deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 3.2rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: #fff; font-size: 1.7rem; margin-bottom: 0.4rem; }
.cta-band p { color: rgba(255,255,255,0.78); margin-bottom: 0; }
.cta-band .cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Bandeau "Nos engagements" */
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
@media (max-width: 900px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pillars-grid { grid-template-columns: 1fr; } }
.pillar {
  text-align: center;
  padding: 1.6rem 1.2rem;
}
.pillar .icon-wrap {
  width: 60px; height: 60px; margin: 0 auto 1rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  color: var(--accent-dark);
  display: grid; place-items: center;
}
.pillar .icon-wrap svg { width: 28px; height: 28px; }
.pillar h3 { font-size: 1.02rem; }
.pillar p { color: var(--text-muted); font-size: 0.9rem; }
