
:root {
  --bg-page: #f5f5f7;
  --bg-main: #ffffff;
  --text-main: #111827;
  --text-muted: #6b7280;
  --border-soft: #e5e7eb;
  --accent: #0ea5e9; /* Bleu scan 3D */
  --accent-soft: #0284c7;
  --accent-light: rgba(14, 165, 233, 0.08);
  --max-width: 1120px;
  --radius-none: 0px;
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
}

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

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

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

/* HEADER / NAV */

header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #ffffff;
  border-bottom: 1px solid var(--border-soft);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  gap: 1rem;
}

.nav-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}


.logo-block {
  display: flex;
  align-items: center;
}


.brand-block {
  display: flex;
  flex-direction: column;
}


.brand-name {
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.25rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.15s ease-out;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

@media (max-width: 900px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* SECTIONS GÉNÉRALES */

main {
  padding: 2.5rem 0 3rem;
}

section {
  padding: 2rem 0;
}

.section-header {
  margin-bottom: 1.4rem;
}

.section-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 42rem;
}

/* HERO */

.hero {
  padding-top: 1rem;
  padding-bottom: 2.5rem;
}

.hero-inner {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    align-items: center;
  }
}

.hero-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.hero-title {
  font-size: clamp(1.95rem, 3vw + 1.2rem, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.hero-text {
  font-size: 0.96rem;
  color: var(--text-main);
  max-width: 40rem;
  margin-bottom: 0.9rem;
}

.hero-accent {
  font-size: 0.9rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 1.4rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-none);
  border: 1px solid var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  transition: background 0.12s ease-out, color 0.12s ease-out, transform 0.12s ease-out;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
}

.btn-ghost:hover {
  background: var(--accent-light);
}

.hero-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-aside {
  border: 1px solid var(--border-soft);
  background: #ffffff;
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow-soft);
}

.hero-aside-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.hero-aside-list {
  font-size: 0.85rem;
}

.hero-aside-list li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

/* GRILLES & TUILES */

.grid {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.tile {
  position: relative;
  border: 1px solid var(--border-soft);
  background: #ffffff;
  padding: 0.9rem 0.95rem;
  cursor: pointer;
  transition: border-color 0.12s ease-out, box-shadow 0.12s ease-out, transform 0.12s ease-out;
}

.tile:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}

.tile-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.tile-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.tile-text {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.tile-arrow {
  position: absolute;
  right: 0.75rem;
  top: 0.75rem;
  font-size: 0.9rem;
  color: var(--accent);
}

/* PROJETS MINI */

.projects-preview {
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 900px) {
  .projects-preview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.project-mini {
  border: 1px solid var(--border-soft);
  background: #ffffff;
  padding: 0.8rem 0.9rem;
}

.project-mini-title {
  font-size: 0.9rem;
  font-weight: 600;
}

.project-mini-client {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.project-mini a {
  font-size: 0.8rem;
  color: var(--accent);
}

/* RUBAN CONFIANCE */

.trust-ribbon {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: #ffffff;
  padding: 1.1rem 0;
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.trust-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.trust-logos {
  position: relative;
  overflow: hidden;
  flex: 1;
}

.trust-logos-track {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  animation: trust-scroll 25s linear infinite;
}

.trust-logo {
  min-width: 80px;
  min-height: 30px;
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* FOOTER */

footer {
  border-top: 1px solid var(--border-soft);
  background: #ffffff;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 1.2rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}


@keyframes trust-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.logo-block img.site-logo {
  height: 150px;
  width: auto;
  display: block;
}

.brand-by {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.brand-by-logo {
  height: 50px;
  width: auto;
  display: block;
}

.brand-partners {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.brand-by-link {
    cursor: pointer;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  /* image de fond sous toutes les sections */
  background-image: url("HD_3000x1561_2025-12-05_17-29-44.JPG"); /* nom de ton image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* optionnel, effet parallaxe léger */
}

/* pour garder la lisibilité du texte si besoin */
main .container {
  background: rgba(255, 255, 255, 0.82); /* voile blanc léger */
  backdrop-filter: blur(2px);
}


.maintenance {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
}