






:root {
  --bg: #0f1724;
  --card: #ffffff;
  --muted: #64748b;
  --accent: #0ea5e9; /*Cyan blue*/
  --accent-2: #06b6d4;
  --radius: 12px;
  --shadow: 0 12px 30px rgba(2,6,23,0.18);
  --maxw: 1100px;
  --glass: rgba(14,165,233,0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color-scheme: light;
}

/* Base */
*{box-sizing:border-box}
html,body{height:100%}
body {
  margin: 0;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  color: #0f1724;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: 28px 18px;
  display: flex;
  justify-content: center;
}

.container {
  width: 100%;
  max-width:var(--maxw);
}

/* Header / Nav */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white; /* A définir après */
  font-weight: 700;
  font-size: 18px;
  box-shadow: var(--shadow);
}

nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.cta {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(14,165,233,0.18);
}

/* Hero */
.hero {
  background: linear-gradient(180deg, white 0%; #fcfdff 100%);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr;
  gap: 18Px;
  align-items: center;
}

.hero-head {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.hero h1 {
  margin: 0;
  font-size: 26px;
  line-height: 1.10;
}

.hero p {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 780px;
}

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

.secondary {
  background: transparent;
  border: 1px solid rgba(15, 23, 36, 0.06);
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}


/*Section d'images*/
.image-row {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
 /* margin-top: 40px;*/
}

.image-box {
  flex: 1;
  text-align: center;
  position: relative;
  width: 32%;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  cursor: zoom-in;
}

.image-box img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.image-box:hover img {
  transform: scale(1.2); /*effet loupe*/
}

/* Layout main grid */
main {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

/* Services */
.services {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.card {
  background: white;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(2,6,24,0.06);
  border: 1px solid rgba(2,6,23,0.03);
}

.services-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.s-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.s-ic {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: var(--glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.s-title {
  font-weight: 700;
  margin: 0;
}

.s-desc {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 16px;
}

/*Accordion for services details */
.accordion {
  margin-top: 12px;
  border-radius: 10px;
  overflow: hidden;
}

.accordion button {
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border: 0;
  background: transparent;
  border-top: 1px solid rgba(2,6,23;0.03);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  cursor: pointer;
}

.panel {
  padding: 12px 14px;
  background: linear-gradient(180deg, #fbfcfe, #ffffff);
  display: none;
  color: var(--muted);
  font-size: 14px;
}

/* Panel timeline */
.timeline {
  display: grid;
  gap: 12px;
}

.step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.step-body {
  flex: 1;
}

.step-title {
  margin: 0;
  font-weight: 700;
}

.step-desc {
  margin: 6px 0 0;
  color: var(--muted);
}

/*Why us grid */
.grid-3 {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.pill {
  padding: 10px;
  border-radius: 10px;
  background: linear-gradient(180deg,#fff,#fbfdff);
  border: 1px solid rgba(2,6,23,0.03);
}

/* Portfolio */
.works-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.work {
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, #fbfdff);
  box-shadow: var(--shadow);
  display: block;
  text-decoration: none;
  color: inherit;
}

.work-img {
  height: 160px;
  background: linear-gradient(180deg, #e6f7ff, #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 700;
  font-size: 20px;
}

.work-body {
  padding: 12px;
}

/* Conact */
.contact-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

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

input,
textarea,
select {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(2,6,23,0.06);
  font-size: 14px;
}

.btn-submit {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: white;
  border-radius: 10px;
  padding: 12px;
  border: 0;
  font-weight: 800;
  cursor: pointer;
}

/* Footer */
footer {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

/* Responsive */
@media(min-width:800px) {
  .hero {
    grid-template-columns: 1fr 380px;
  }
  
  .services-grip {
    grid-template-columns: repeat(2,1fr);
  }
  
  .grid-3 {
    grid-template-columns: repeat(3,1fr);
  }
  
  .works-grid {
    grid-template-columns: repeat(3,1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr 360px;
  }

   
  .image-row {
    flex-direction: row;
  }
  
  .image-box {
    width: 100%;
  }
}

