:root {
  --anthracite: #1F2124;
  --anthracite-fonce: #15171A;
  --anthracite-clair: #2A2D31;
  --bleu-tech: #3D6DFF;
  --bleu-fonce: #264279;
  --orange-travaux: #E96D2C;
  --texte-principal: #F4F4F6;
  --texte-secondaire: #C2C4C9;
  --border-subtile: rgba(255,255,255,0.06);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Open Sans", system-ui, -apple-system, sans-serif;
  color: var(--texte-principal);
  background: radial-gradient(circle at top left, #292D33 0, var(--anthracite) 40%, var(--anthracite-fonce) 80%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* NAV + HERO */

.hero-2t {
  background: linear-gradient(135deg, #101116 0%, #181B21 50%, #101116 100%);
  border-bottom: 1px solid var(--border-subtile);
  padding: 1.5rem 1.5rem 4rem;
  color: var(--texte-principal);
}

.top-nav {
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.top-nav a {
  position: relative;
  padding-bottom: 0.2rem;
  color: var(--texte-secondaire);
}

.top-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--orange-travaux);
  transition: width 0.2s ease;
}

.top-nav a:hover::after { width: 100%; }

.top-nav a:hover { color: var(--texte-principal); }

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.2rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

h1, h2, h3 {
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.1rem, 3vw, 2.8rem);
  margin-bottom: 0.7rem;
  color: var(--texte-principal);
}

h1 span { color: var(--orange-travaux); }

.hero-text p {
  max-width: 32rem;
  margin-bottom: 1rem;
  font-size: 1.02rem;
  color: var(--texte-secondaire);
}

.hero-bullets {
  list-style: none;
  margin-bottom: 1.5rem;
}

.hero-bullets li {
  margin-bottom: 0.4rem;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  color: var(--texte-principal);
}

.hero-bullets li::before {
  content: "•";
  color: var(--orange-travaux);
  font-size: 1.2rem;
  line-height: 1;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn-primary,
.btn-secondary {
  border-radius: 999px;
  padding: 0.8rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange-travaux), #FF924C);
  color: #0B0C10;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.5);
}

.btn-secondary {
  border: 1px solid var(--border-subtile);
  color: var(--texte-principal);
  background: rgba(255,255,255,0.03);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.06);
  transform: translateY(-1px);
}

.hero-image {
  position: relative;
  justify-self: center;
  max-width: 400px;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.65);
}

.hero-image img.bg {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.logo-pill {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(15,16,20,0.92);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.08);
}

.logo-pill img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #fff;
}

.logo-pill span {
  font-size: 0.8rem;
  color: var(--texte-secondaire);
}

/* MAIN LAYOUT */

.landing-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

section {
  margin-bottom: 3rem;
}

section > h2 {
  color: var(--texte-principal);
  margin-bottom: 0.8rem;
  font-size: 1.6rem;
}

section > p {
  margin-bottom: 1.4rem;
  color: var(--texte-secondaire);
}

/* SERVICES */

.services-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.services-col {
  border-radius: 1rem;
  padding: 1.4rem 1.6rem;
  color: var(--texte-principal);
  box-shadow: 0 18px 40px rgba(0,0,0,0.5);
  border: 1px solid var(--border-subtile);
  background: radial-gradient(circle at top left, rgba(255,255,255,0.06) 0, rgba(0,0,0,0.85) 45%, rgba(0,0,0,0.95) 100%);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: default;
}

.services-col:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 24px 50px rgba(0,0,0,0.65);
}

.services-col.tech {
  background: radial-gradient(circle at top left, rgba(61,109,255,0.28) 0, #0D1223 45%, #05070D 100%);
}

.services-col.travaux {
  background: radial-gradient(circle at top left, rgba(233,109,44,0.32) 0, #1C1410 45%, #080505 100%);
}

.services-col h3 {
  margin-bottom: 0.6rem;
  font-size: 1.25rem;
}

.services-col ul {
  list-style: none;
  font-size: 0.95rem;
}

.services-col ul li {
  margin-bottom: 0.45rem;
}

.cta-center {
  text-align: center;
  margin-top: 1.8rem;
}

/* REALISATIONS */

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background: linear-gradient(145deg, #1E2127, #14161B);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.55);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-subtile);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 24px 55px rgba(0,0,0,0.7);
}

.card img {
  height: 180px;
  object-fit: cover;
}

.card h3 {
  color: var(--texte-principal);
  font-size: 1.1rem;
  margin: 0.9rem 1rem 0.3rem;
}

.card p {
  font-size: 0.92rem;
  margin: 0 1rem 1.1rem;
  color: var(--texte-secondaire);
}

/* AVIS */

.testimonials .testimonial-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem;
}

.testimonials figure {
  background: linear-gradient(145deg, #1F2228, #14161B);
  border-radius: 0.9rem;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 14px 32px rgba(0,0,0,0.5);
  font-size: 0.96rem;
  border: 1px solid var(--border-subtile);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: default;
}

.testimonials figure:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 18px 40px rgba(0,0,0,0.65);
}

.testimonials .stars {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}

.testimonials .stars .filled {
  color: #FFC107;
}

.testimonials .stars .empty {
  color: rgba(255, 255, 255, 0.2);
}

.testimonials blockquote {
  margin-bottom: 0.5rem;
  font-style: italic;
  color: var(--texte-principal);
}

.testimonials figcaption {
  font-size: 0.86rem;
  color: var(--texte-secondaire);
}

.testimonials .btn-secondary {
  color: var(--texte-principal);
  border-color: rgba(255,255,255,0.18);
}

/* CONTACT */

.contact {
  background: linear-gradient(145deg, #1C1F25, #101217);
  border-radius: 1.2rem;
  box-shadow: 0 20px 45px rgba(0,0,0,0.65);
  padding: 2rem 2rem 2.4rem;
  border: 1px solid var(--border-subtile);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.8rem;
  margin-top: 1rem;
}

form label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  color: var(--texte-secondaire);
}

form input,
form textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: 0.4rem;
  border: 1px solid rgba(255,255,255,0.10);
  font: inherit;
  margin-bottom: 0.9rem;
  background: rgba(0,0,0,0.35);
  color: var(--texte-principal);
}

form input:focus,
form textarea:focus {
  outline: none;
  border-color: var(--orange-travaux);
  box-shadow: 0 0 0 1px rgba(233,109,44,0.6);
}

form textarea {
  resize: vertical;
  min-height: 130px;
}

form button[type="submit"] {
  width: 100%;
}

.contact-infos h3 {
  margin-bottom: 0.8rem;
}

.contact-infos p {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  color: var(--texte-secondaire);
}

.contact-infos p:first-of-type {
  font-size: 1.15rem;
  font-weight: 600;
}

.contact-infos p:first-of-type a {
  color: var(--texte-principal);
}

.contact-infos strong {
  color: var(--texte-principal);
}

.contact-buttons {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

/* FOOTER */

.footer-2t {
  background: #0C0D11;
  color: var(--texte-secondaire);
  font-size: 0.82rem;
  padding: 1.4rem 1.5rem;
  border-top: 1px solid var(--border-subtile);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: minmax(0, 1fr);
    text-align: left;
  }

  .hero-image {
    order: -1;
    margin-bottom: 1.4rem;
  }

  .services-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .testimonials .testimonial-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .top-nav {
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 0.3rem;
  }

  .grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-2t {
    padding: 1.2rem 1rem 3rem;
  }

  .landing-main {
    padding: 2.2rem 1rem 3rem;
  }

  .contact {
    padding: 1.7rem 1.3rem 2rem;
  }
}