@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&family=Archivo:wght@500;700&display=swap');

:root {
  --orange: #d66a1d;
  --orange-strong: #e28131;
  --dark: #2b2a28;
  --dark-2: #3a342f;
  --gray: #e8dccb;
  --text: #2b2a28;
  --muted: #6b6258;
  --max-width: 1100px;
  --shadow: 0 18px 45px rgba(43, 42, 40, 0.12);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Barlow', 'Arial', sans-serif;
  background:
    radial-gradient(circle at 16% 14%, rgba(214, 106, 29, 0.16), transparent 38%),
    radial-gradient(circle at 88% 6%, rgba(214, 106, 29, 0.12), transparent 32%),
    linear-gradient(180deg, #f6efe6 0%, #efe3d4 55%, #e8dccb 100%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--orange);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 239, 230, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(43, 42, 40, 0.08);
  box-shadow: 0 12px 30px rgba(43, 42, 40, 0.08);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text);
}

.brand img {
  width: 120px;
  height: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 12px;
  transition: background 0.2s ease, color 0.2s ease;
  font-weight: 600;
  color: var(--muted);
}

.nav-links a.active,
.nav-links a:hover {
  background: rgba(216, 111, 33, 0.12);
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.25s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: linear-gradient(120deg, var(--orange), var(--orange-strong));
  color: #fff;
  box-shadow: 0 14px 28px rgba(214, 106, 29, 0.32), 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
}

.btn-primary:hover { transform: translateY(-1px); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(27, 31, 36, 0.12);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 60px 0 60px;
  background: radial-gradient(circle at 16% 20%, rgba(214, 106, 29, 0.18), transparent 38%),
    radial-gradient(circle at 84% 12%, rgba(214, 106, 29, 0.12), transparent 30%),
    linear-gradient(160deg, #f6efe6 0%, #efe3d4 70%, #e8dccb 100%);
  isolation: isolate;
}

.hero::after,
.hero::before {
  content: none;
}

.hero-contact {
  background: url('../../image/IMG_6557.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-home {
  background: url('../../image/image-chantier1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-infos {
  background: url('../../image/IMG_6555.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-entreprise {
  background: url('../../image/IMG_6555.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-services {
  background: url('../../image/imageservice.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
  position: relative;
  z-index: 1;
  align-items: center;
}

.hero-content {
  text-align: center;
  margin: 0 auto;
  max-width: 820px;
}

.hero h1 {
  font-family: 'Archivo', 'Barlow', sans-serif;
  font-size: clamp(34px, 6vw, 60px);
  margin: 0 0 16px;
  color: var(--text);
  letter-spacing: 0.6px;
  text-shadow: 0 10px 24px rgba(30, 34, 40, 0.15);
}

.hero-subtitle {
  margin: 0 0 12px;
  color: #3a342f;
  font-size: clamp(18px, 3vw, 26px);
  font-weight: 600;
}

.hero p {
  margin: 0 0 22px;
  color: #5e544a;
  font-size: 1.08rem;
}

:is(.hero-home, .hero-services, .hero-contact, .hero-entreprise, .hero-infos) .hero-grid > div:first-child h1 {
  color: #fdfdfd;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

:is(.hero-home, .hero-services, .hero-contact, .hero-entreprise, .hero-infos) .hero-grid > div:first-child .hero-subtitle {
  color: #f1f3f7;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

:is(.hero-home, .hero-services, .hero-contact, .hero-entreprise, .hero-infos) .hero-grid > div:first-child p:not(.pill):not(.hero-subtitle) {
  color: #e1e6ee;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

:is(.hero-home, .hero-services, .hero-contact, .hero-entreprise, .hero-infos) .hero-grid > div:first-child {
  background: linear-gradient(135deg, rgba(9, 11, 15, 0.66), rgba(9, 11, 15, 0.28));
  padding: 20px 22px;
  border-radius: 18px;
  box-shadow: 0 22px 50px rgba(9, 11, 15, 0.35);
}

.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.card {
  background: linear-gradient(155deg, rgba(253, 248, 241, 0.92), rgba(242, 232, 220, 0.88));
  border: 1px solid rgba(43, 42, 40, 0.1);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(6px);
}

.card::before {
  content: '';
  position: absolute;
  width: 110px;
  height: 110px;
  background: radial-gradient(circle, rgba(216, 111, 33, 0.1), transparent 60%);
  top: -30px;
  right: -30px;
}

.card h3 {
  margin-top: 0;
  color: var(--text);
}

.section {
  padding: 80px 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
}

.section-title {
  font-size: clamp(26px, 3vw, 34px);
  margin: 0;
  font-weight: 700;
  color: var(--text);
}

.section-subtitle {
  color: var(--muted);
  margin: 0;
}

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.advantages li {
  list-style: none;
  padding: 12px 0;
  border-bottom: 1px solid rgba(43, 42, 40, 0.1);
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.advantages li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--orange), var(--orange-strong));
  box-shadow: 0 0 0 6px rgba(216, 111, 33, 0.12);
}

.advantages li strong { color: var(--text); }

.timeline {
  position: relative;
  padding-left: 20px;
  margin: 0;
  list-style: none;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(var(--orange), rgba(214, 106, 29, 0.2));
}

.timeline li {
  position: relative;
  padding: 14px 0 14px 18px;
  color: var(--muted);
}

.timeline li::before {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  left: -1px;
  top: 18px;
  box-shadow: 0 0 0 6px rgba(216, 111, 33, 0.12);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}

.team-card {
  text-align: center;
  padding: 18px;
}

.team-card .avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 12px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(214, 106, 29, 0.9), rgba(214, 106, 29, 0.45)),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.18), transparent 40%);
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 700;
  color: #2b1b0f;
  box-shadow: 0 10px 30px rgba(214, 106, 29, 0.22);
}

.team-card h3 { margin: 10px 0 6px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.service-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  color: var(--text);
}

.info-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.contact-panels {
  position: relative;
  overflow: hidden;
}

.contact-panels::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(214, 106, 29, 0.18), transparent 36%),
    radial-gradient(circle at 82% 8%, rgba(214, 106, 29, 0.12), transparent 32%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.35));
  opacity: 0.5;
  filter: saturate(1.05) blur(1px);
  pointer-events: none;
}

.contact-panels .container { position: relative; z-index: 1; }

.contact-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 12px;
}

.contact-list li {
  position: relative;
  padding-left: 18px;
}

.contact-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--orange), var(--orange-strong));
  box-shadow: 0 0 0 6px rgba(216, 111, 33, 0.12);
}

.card-photo {
  background:
    radial-gradient(circle at 20% 22%, rgba(214, 106, 29, 0.16), transparent 38%),
    linear-gradient(170deg, rgba(253, 248, 241, 0.92), rgba(242, 232, 220, 0.82));
  border-color: rgba(43, 42, 40, 0.12);
}

.card-photo p { color: #4a4037; }

.info-card h3 { margin-top: 0; }

.map {
  width: 100%;
  border: none;
  min-height: 240px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

form {
  display: grid;
  gap: 14px;
}

input, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(43, 42, 40, 0.12);
  background: rgba(253, 248, 241, 0.9);
  color: var(--text);
  font-size: 1rem;
}

textarea { min-height: 140px; resize: vertical; }

footer {
  padding: 40px 0;
  background: #eadfce;
  border-top: 1px solid rgba(43, 42, 40, 0.08);
  margin-top: 60px;
}

.accordion {
  background: rgba(253, 248, 241, 0.94);
  border-radius: 12px;
  padding: 0;
  border: 1px solid rgba(43, 42, 40, 0.1);
}

.accordion summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 16px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.accordion summary::marker,
.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion[open] summary {
  border-bottom: 1px solid rgba(43, 42, 40, 0.1);
}

.accordion .advantages {
  margin: 0;
  padding: 0 16px 12px 16px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.footer-grid h4 { margin-top: 0; }

.quick-links { list-style: none; padding: 0; margin: 0; }
.quick-links li { margin: 6px 0; }

.tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.3px;
}

p.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(120deg, rgba(214, 106, 29, 0.92), rgba(214, 106, 29, 0.75));
  color: #fdf8f1;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  box-shadow: 0 10px 26px rgba(214, 106, 29, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.45) inset;
  text-shadow: 0 2px 6px rgba(43, 42, 40, 0.35);
}

.hamburger {
  display: none;
  background: transparent;
  border: 1px solid rgba(43, 42, 40, 0.2);
  padding: 10px;
  border-radius: 12px;
  color: var(--text);
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  margin: 4px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-open .hamburger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .hamburger span:nth-child(2) { opacity: 0; }
.nav-open .hamburger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 12px 0 20px;
}

.mobile-nav a {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(253, 248, 241, 0.9);
  color: var(--text);
  font-weight: 600;
}

.hero-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

@media (max-width: 1024px) {
  .navbar { height: 68px; }
  .section { padding: 70px 0; }
}

@media (max-width: 768px) {
  .hero-home { background-image: url('../../image/image-chantier1-mobile.png'); }
  .hero-services { background-image: url('../../image/imageservice-mobile.png'); }
  .hero-entreprise,
  .hero-infos { background-image: url('../../image/IMG_6555-mobile.png'); }
  .hero-contact { background-image: url('../../image/IMG_6557-mobile.png'); }
  .nav-links { display: none; }
  .hamburger { display: block; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .hero { padding: 54px 0 48px; }
  .hero h1 { font-size: clamp(28px, 6vw, 40px); }
  .btn { width: fit-content; }
}

.nav-open .mobile-nav {
  display: flex;
}

@media (max-width: 480px) {
  .navbar { height: 64px; }
  .hero { padding: 50px 0 44px; }
  .section { padding: 60px 0; }
  .card { padding: 18px; }
  .brand img { width: 100px; }
  .btn { width: 100%; justify-content: center; }
  .hero .actions { flex-direction: column; }
}
