/* ================= AMELIORATION RESPONSIVE SANS MODIFIER TON DESIGN ================= */


:root {
  --bg: #090909;
  --surface: #111111;
  --surface-2: #1c1c1c;
  --text: #f8f8f8;
  --muted: #b8b8b8;
  --primary: #ff7a00;
  --secondary: #222222;
  --accent: #f4f4f4;
  --shadow: rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(180deg, #070707 0%, #101010 100%);
  color: var(--text);
}

section {
  scroll-margin-top: 90px;
}

button,
input,
textarea {
  font: inherit;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  gap: 16px;
  background: rgba(8, 8, 8, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
}

.topbar .brand {
  font-weight: 800;
  letter-spacing: 0.18em;
}

.topbar nav {
  display: flex;
  gap: 24px;
}

.topbar a {
  color: var(--muted);
  text-decoration: none;
  transition: color 200ms ease;
}

.topbar a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  color: var(--text);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #ff7a00 0%, #ffb24f 100%);
  box-shadow: 0 20px 45px rgba(255, 122, 0, 0.18);
}

.btn-secondary,
.btn-alt {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}


.logo{
    width: 50px;
    height: 50px;
    border-radius: 50%;
}
.hero {
  min-height: calc(100vh - 90px);
  display: grid;
  place-items: center;
  position: relative;
  padding: 110px 32px 60px;
  background-image: linear-gradient(180deg, rgba(8, 8, 8, 0.82), rgba(8, 8, 8, 0.82)), url('webaliser-_TPTXZd9mOo-unsplash.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 122, 0, 0.18), transparent 28%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.08), transparent 26%);
}

.hero-copy,
.hero-stats {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: #ffa352;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-highlight {
  color: #ffb55c;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.02;
}

.hero p {
  margin: 22px 0 32px;
  max-width: 620px;
  color: #d7d7d7;
  font-size: 1.06rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-stats {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 18px;
}

.stat-card {
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-card strong {
  display: block;
  font-size: 2.1rem;
  margin-bottom: 8px;
  color: #fff;
}

.section {
  padding: 120px 32px;
}

.section-header {
  display: grid;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #ffa352;
  font-weight: 700;
  font-size: 0.82rem;
}

.section h2,
.about h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.container {
  max-width: 1180px;
  margin: 0 auto;
}

.grid-two {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.grid-two-reverse {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
}

.about-text p,
.contact-card p {
  color: #c5c5c5;
  max-width: 680px;
  line-height: 1.8;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 14px;
}

.features-list li {
  padding-left: 18px;
  position: relative;
  color: #e3e3e3;
}

.features-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
}

.about-visual .image-card {
  min-height: 420px;
  background-image: url('brian-babb-XbwHrt87mQ0-unsplash.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.35);
}

.image-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
}

.service-grid,
.portfolio-grid {
  display: grid;
  gap: 24px;
}

.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card,
.portfolio-card,
.contact-card,
.contact-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 28px;
}

.service-card {
  min-height: 380px;
  display: grid;
  gap: 18px;
  overflow: hidden;
}

.service-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  background: rgba(255, 122, 0, 0.16);
  border-radius: 18px;
  font-size: 1.8rem;
}

.service-card h3 {
  margin: 0;
}

.service-card p {
  color: #c4c4c4;
  line-height: 1.75;
}

.service-image {
  flex: 1;
  min-height: 180px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 122, 0, 0.12), 
  rgba(255, 255, 255, 0.06)), url('frames-for-your-heart-mR1CIDduGLc-unsplash.jpg');
  background-size: cover;
  background-position: center;
  transition: transform 0.35s ease;
}

.service-card:hover .service-image {
  transform: scale(1.03);
}

.portfolio-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.portfolio-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.68) 100%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.portfolio-card:hover::before {
  opacity: 1;
}

.portfolio-image {
  min-height: 340px;
  background-image: url('frames-for-your-heart-mR1CIDduGLc-unsplash.jpg');
  background-position: center;
  background-size: cover;
  transition: transform 350ms ease;
}

.portfolio-card:hover .portfolio-image {
  transform: scale(1.05);
}

.portfolio-card.image-2 .portfolio-image {
  background-image: url('frames-for-your-heart-mR1CIDduGLc-unsplash.jpg');
}

.portfolio-card.image-3 .portfolio-image {
  background-image: url('frames-for-your-heart-mR1CIDduGLc-unsplash.jpg');
}

.portfolio-info {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 1;
  color: #fff;
}

.portfolio-info h3,
.portfolio-info p,
.portfolio-info span {
  margin: 0;
}

.portfolio-info p {
  margin: 10px 0 8px;
  max-width: 240px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.6;
}

.contact-card {
  display: grid;
  gap: 24px;
}

.contact-card strong {
  display: block;
  margin-bottom: 8px;
}

.contact-meta {
  display: grid;
  gap: 18px;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  color: #c9c9c9;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  padding: 16px 18px;
  color: var(--text);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(255, 122, 0, 0.6);
}

.map-frame {
  margin-top: 40px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.map-frame iframe {
  width: 100%;
  height: 380px;
  border: 0;
}

footer {
  padding: 28px 32px 40px;
  text-align: center;
  color: #8f8f8f;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: #090909;
}

.loader-content {
  text-align: center;
  max-width: 320px;
  width: 100%;
}

.loader-logo {
  font-size: 2.4rem;
  letter-spacing: 0.22em;
  margin-bottom: 24px;
  color: var(--primary);
}

.loader-bar {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 16px;
}

#loaderProgress {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #ff7a00, #ffd380);
  border-radius: 999px;
  transition: width 0.3s ease;
}

@media (max-width: 960px) {
  .topbar {
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero {
    padding-top: 120px;
  }
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .grid-two,
  .grid-two-reverse {
    grid-template-columns: 1fr;
  }
  .service-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topbar {
    padding: 16px;
  }
  .section {
    padding: 80px 20px;
  }
  .hero {
    padding: 100px 20px 60px;
  }
}

}

.experts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: auto;
  padding: 0 16px;
}

.expert-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 18px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expert-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.expert-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}

.expert-card:hover .expert-img {
  transform: scale(1.05);
}

.expert-card h3 {
  margin: 10px 0 6px;
  color: #fff;
}

.expert-card p {
  color: #bdbdbd;
  font-size: 0.95rem;
  line-height: 1.5;
}
/* TABLETTE */
@media (max-width: 992px) {
  .expert-img {
    height: 200px;
  }
}

/* MOBILE */
@media (max-width: 576px) {
  .experts {
    padding: 40px 16px;
  }

  .expert-card {
    padding: 14px;
      backdrop-filter: blur(10px);
  }

  .expert-img {
    height: 180px;
  }

  .expert-card h3 {
    font-size: 1.1rem;
  }

  .expert-card p {
    font-size: 0.9rem;
  }
}


/* MOBILE */
@media (max-width: 768px) {

  /* NAVBAR */
  .topbar {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .topbar nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .topbar a {
    font-size: 0.9rem;
  }

  /* HERO */
  .hero-copy {
    text-align: center;
  }

  .hero h1 {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .hero-actions {
    justify-content: center;
  }

  /* BOUTONS */
  .btn {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
  }

  /* CARDS */
  .service-card,
  .portfolio-card,
  .contact-card,
  .contact-form {
    padding: 20px;
  }

  .service-card {
    min-height: auto;
  }

  /* GRID */
  .experts-grid {
    grid-template-columns: 1fr;
  }

}

/* PETIT MOBILE */
@media (max-width: 480px) {

  .section {
    padding: 60px 16px;
  }

  .hero {
    padding: 90px 16px 50px;
  }
  .hero {
    padding-top: 120px;
  }
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .grid-two,
  .grid-two-reverse {
    grid-template-columns: 1fr;
  }
  .service-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topbar {
    padding: 16px;
  }
  .section {
    padding: 80px 20px;
  }
  .hero {
    padding: 100px 20px 60px;
  }
}

/* SECTION *//* SECTION */
.experts {
  padding: 60px 20px;
}

/* HEADER */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-label {
  color: orange;
  font-weight: bold;
}

/* GRID */
.experts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 1200px;
  margin: auto;
}

/* CARD */
.expert-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 16px;
  text-align: center;
}

/* IMAGE */
.expert-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
}

/* TABLETTE */
@media (min-width: 576px) {
  .experts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* DESKTOP */
@media (min-width: 992px) {
  .experts-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.entreprise h3 {
  margin-bottom: 10px;
  font-size: 1.4rem;
  color: var(--primary);
}
  /* SLIDER PARTENAIRES */
/* CONTAINER */
.partners-slider {
  overflow: hidden;
  padding: 40px 0;
}

/* TRACK */
.partners-track {
  display: flex;
  gap: 25px;
  width: max-content;
  animation: scroll 25s linear infinite;
}

/* CARD DESIGN */
.partner-card {
  min-width: 260px;
  background: #ffffff;
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* LOGO STYLE */
.partner-logo {
  width: 60px;
  height: 60px;
  margin: auto;
  margin-bottom: 15px;
  background: #c58b39;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* HOVER EFFECT */
.partner-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* TEXT */
.partner-card h3 {
  font-size: 16px;
  color: #070707;
  margin-bottom: 10px;
}

.partner-card p {
  font-size: 14px;
  color: #666;
}

/* ANIMATION */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* PAUSE AU HOVER */
.partners-slider:hover .partners-track {
  animation-play-state: paused;
}

/* GRID */
.travaux-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 25px;
  margin-top: 40px;
}

/* CARD */
.travail-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: 0.4s;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* IMAGE */
.travail-image {
  height: 220px;
  background-size: cover;
  background-position: center;
  transition: 0.4s;
}

/* SIMULATION CHANTIERS */
.chantier-1 { background: #999; }
.chantier-2 { background: #888; }
.chantier-3 { background: #777; }
.chantier-4 { background: #666; }

/* CONTENU */
.travail-content {
  padding: 20px;
}

.travail-content h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--primary);
}

.travail-content p {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
}

.travail-content span {
  font-size: 13px;
  font-weight: bold;
  color: #c58b39;
}

/* CARD HOVER */
.travail-card {
  transition: all 0.4s ease;
}

.travail-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.15);
}

/* IMAGE FIX PRO (IMPORTANT) */
.travail-image {
  overflow: hidden;
}

/* IMAGE ANIMATION */
.travail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* ZOOM IMAGE AU HOVER */
.travail-card:hover .travail-image img {
  transform: scale(1.08);
}


  .section-header {
    margin-bottom: 30px;
  }

}
