/* =========================================
   style.css — Part'Enr
   Couleurs : orange #E8600A, vert foncé #2C5F2E
   ========================================= */

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange:      #E8600A;
  --orange-dark: #C04F08;
  --green:       #2C5F2E;
  --green-light: #3A7A3D;
  --white:       #FFFFFF;
  --beige:       #F8F5F0;
  --grey-light:  #F2F2F2;
  --grey:        #E0E0E0;
  --anthracite:  #333333;
  --text:        #444444;
  --radius:      10px;
  --shadow:      0 4px 18px rgba(0,0,0,0.10);
  --transition:  0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}

img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* === UTILITAIRES === */
.container {
  width: 90%;
  max-width: 1160px;
  margin: 0 auto;
}

.section { padding: 72px 0; }
.section--beige  { background: var(--beige); }
.section--green  { background: #EEF5EE; }
.section--dark   { background: var(--anthracite); color: var(--white); }

.section__label {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.section__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--anthracite);
  line-height: 1.2;
  margin-bottom: 18px;
}
.section--dark .section__title { color: var(--white); }

.section__intro {
  font-size: 1.05rem;
  color: #666;
  max-width: 720px;
  margin-bottom: 40px;
}
.section--dark .section__intro { color: #ccc; }

/* === GRILLES === */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }

/* === CARTES === */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--orange);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.14);
}
.card--green { border-top-color: var(--green); }

.card__icon {
  font-size: 2rem;
  margin-bottom: 14px;
}
.card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--anthracite);
  margin-bottom: 10px;
}
.card__text {
  font-size: 0.92rem;
  color: #666;
  line-height: 1.6;
}

/* === BOUTONS === */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  border: 2px solid transparent;
}
.btn--orange {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn--orange:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
}
.btn--green {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn--green:hover {
  background: var(--green-light);
  border-color: var(--green-light);
  transform: translateY(-2px);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--outline:hover {
  background: var(--white);
  color: var(--orange);
  transform: translateY(-2px);
}
.btn--sm { padding: 9px 20px; font-size: 0.875rem; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}

/* Logo */
.logo {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--anthracite);
  white-space: nowrap;
}
.logo span { color: var(--orange); }

/* Nav principale */
.site-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.site-nav a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--anthracite);
  padding: 6px 10px;
  border-radius: 5px;
  transition: color var(--transition), background var(--transition);
}
.site-nav a:hover { color: var(--orange); background: var(--grey-light); }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--anthracite);
  border-radius: 2px;
  transition: var(--transition);
}

/* Menu mobile */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--grey);
  padding: 16px 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--anthracite);
  border-bottom: 1px solid var(--grey-light);
}
.mobile-menu a:hover { color: var(--orange); background: var(--beige); }
.mobile-menu .btn {
  margin: 12px 20px 0;
  text-align: center;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Image temporaire à remplacer par une photo client */
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(232,96,10,0.88) 0%, rgba(44,95,46,0.82) 100%),
    url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1600&q=80') center/cover no-repeat;
}

.hero__content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 760px;
  padding: 60px 0 80px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 30px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: var(--white);
}

.hero__title {
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 22px;
  color: var(--white);
}

.hero__subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  line-height: 1.7;
  margin-bottom: 36px;
  color: rgba(255,255,255,0.92);
  max-width: 660px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.hero__certifs {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.80);
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* ============================================================
   INTRO / ENTREPRISE
   ============================================================ */
.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.intro__badge-exp {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 900;
  padding: 8px 20px;
  border-radius: var(--radius);
  margin-bottom: 24px;
}

.intro__text { font-size: 1rem; color: #555; margin-bottom: 20px; }

.intro__highlight {
  background: var(--beige);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  font-size: 0.95rem;
  color: var(--anthracite);
  font-style: italic;
}

.intro__image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 360px;
}
.intro__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Image placeholder si pas de photo */
.intro__image--placeholder {
  background: linear-gradient(135deg, var(--green) 0%, var(--orange) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  color: var(--white);
}
.intro__image--placeholder span { font-size: 4rem; }
.intro__image--placeholder p { font-size: 0.85rem; opacity: 0.75; }

/* ============================================================
   CHIFFRES CLÉS
   ============================================================ */
.stats {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  padding: 48px 0;
}

.stats__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 20px 36px;
  color: var(--white);
  border-right: 1px solid rgba(255,255,255,0.25);
  flex: 1;
  min-width: 160px;
}
.stat-item:last-child { border-right: none; }

.stat-item__number {
  display: block;
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-item__label {
  font-size: 0.88rem;
  opacity: 0.9;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================================
   SECTIONS SERVICES — EN-TÊTES COMMUNS
   ============================================================ */
.section-header { margin-bottom: 40px; }
.section-header--center { text-align: center; }
.section-header--center .section__intro { margin-left: auto; margin-right: auto; }

/* ============================================================
   SECTION IMAGE + TEXTE (PAC / CLIM)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split--reverse .split__visual { order: -1; }

.split__visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 320px;
  background: linear-gradient(135deg, #1a4a2e 0%, #3A7A3D 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--white);
}
.split__visual span { font-size: 3.5rem; }
.split__visual p { font-size: 0.8rem; opacity: 0.7; }

.split__content .section__title { margin-bottom: 14px; }
.split__content .section__intro { margin-bottom: 28px; }

/* ============================================================
   POURQUOI NOUS CHOISIR
   ============================================================ */
.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform var(--transition);
}
.why-card:hover { transform: translateY(-3px); }

.why-card__icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--white);
}
.why-card__body {}
.why-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--anthracite);
  margin-bottom: 6px;
}
.why-card__text { font-size: 0.88rem; color: #666; line-height: 1.55; }

/* ============================================================
   RÉALISATIONS
   ============================================================ */
.realisations-notice {
  text-align: center;
  background: var(--beige);
  border-radius: var(--radius);
  padding: 20px 28px;
  font-size: 0.9rem;
  color: #888;
  font-style: italic;
  margin-bottom: 32px;
}

/* ============================================================
   RÉFÉRENCES & PARTENAIRES
   ============================================================ */
.refs__group { margin-bottom: 36px; }
.refs__group-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 14px;
  border-bottom: 2px solid var(--grey);
  padding-bottom: 6px;
}

.refs__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.refs__tag {
  background: var(--white);
  border: 1px solid var(--grey);
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--anthracite);
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.refs__tag--ref {
  border-color: var(--orange);
  color: var(--orange);
}

/* ============================================================
   ZONE D'INTERVENTION
   ============================================================ */
.zone__intro { margin-bottom: 28px; }

.zone__cities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.zone__city {
  background: var(--green);
  color: var(--white);
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 600;
}

.zone__depts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.zone__dept {
  background: var(--white);
  border: 2px solid var(--green);
  color: var(--green);
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 700;
}

/* ============================================================
   ACTUALITÉS
   ============================================================ */
.actu-notice {
  background: var(--beige);
  border-radius: var(--radius);
  padding: 16px 22px;
  font-size: 0.88rem;
  color: #888;
  font-style: italic;
  margin-bottom: 28px;
  text-align: center;
}

.actu-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.actu-card__header {
  height: 8px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange-dark) 100%);
}
.actu-card__body { padding: 24px; }
.actu-card__cat {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 10px;
}
.actu-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--anthracite);
  margin-bottom: 10px;
  line-height: 1.35;
}
.actu-card__text { font-size: 0.88rem; color: #666; line-height: 1.6; }

/* ============================================================
   INFOS PRATIQUES / CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-block {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.contact-block__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--anthracite);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--orange);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.contact-info-item__icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  background: var(--orange);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--white);
}
.contact-info-item__content {}
.contact-info-item__label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #999;
}
.contact-info-item__value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--anthracite);
}
.contact-info-item__value a {
  color: var(--orange);
}
.contact-info-item__value a:hover { text-decoration: underline; }

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

/* CTA bande */
.cta-band {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  padding: 64px 0;
  text-align: center;
  color: var(--white);
}
.cta-band__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  margin-bottom: 14px;
  color: var(--white);
}
.cta-band__sub {
  font-size: 1rem;
  opacity: 0.88;
  margin-bottom: 32px;
}
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #1e1e1e;
  color: #ccc;
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid #333;
}

.footer-col__logo {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-col__logo span { color: var(--orange); }

.footer-col__desc {
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 20px;
  color: #aaa;
}

.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  background: #333;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--white);
  transition: background var(--transition);
}
.footer-social a:hover { background: var(--orange); }

.footer-col__title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 18px;
}

.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: 0.88rem;
  color: #aaa;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--orange); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  color: #aaa;
  margin-bottom: 10px;
  line-height: 1.5;
}
.footer-contact-item a { color: #aaa; }
.footer-contact-item a:hover { color: var(--orange); }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: #666;
}
.footer-bottom a { color: #888; }
.footer-bottom a:hover { color: var(--orange); }
.footer-bottom .moove { color: var(--orange); font-weight: 700; }

/* ============================================================
   PAGE MENTIONS LÉGALES
   ============================================================ */
.legal-hero {
  background: linear-gradient(135deg, var(--anthracite) 0%, #222 100%);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}
.legal-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
}

.legal-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 20px 80px;
}
.legal-content h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--orange);
  margin-top: 36px;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--grey);
}
.legal-content p, .legal-content address {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.75;
  font-style: normal;
  margin-bottom: 10px;
}
.legal-content a { color: var(--orange); }
.legal-content a:hover { text-decoration: underline; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  color: var(--orange);
  font-weight: 700;
}
.back-link:hover { text-decoration: underline; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 52px 0; }

  /* Header */
  .site-nav  { display: none; }
  .header-cta { display: none; }
  .burger { display: flex; }

  /* Hero */
  .hero { min-height: 70vh; }
  .hero__content { padding: 48px 0 64px; }

  /* Grilles */
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }

  /* Intro */
  .intro { grid-template-columns: 1fr; gap: 32px; }
  .intro__image { height: 220px; order: -1; }

  /* Stats */
  .stats__grid { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); }
  .stat-item:last-child { border-bottom: none; }

  /* Split */
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse .split__visual { order: 0; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Why grid */
  .why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .cta-band__actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; text-align: center; }
}
