/* ============================================================
   ODF.vision — Style Unifié | Dark Futuristic Theme
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* ---------- Variables ---------- */
:root {
  --bg:           #050a1a;
  --bg-card:      #0d1533;
  --bg-card2:     #0a1229;
  --border:       rgba(60, 100, 255, 0.18);
  --border-hover: rgba(0, 212, 255, 0.4);
  --blue:         #3c3ce1;
  --blue-bright:  #5555ff;
  --cyan:         #00d4ff;
  --text:         #e8eaf6;
  --text-muted:   #8892b0;
  --white:        #ffffff;
  --glow:         0 0 40px rgba(60, 60, 225, 0.35);
  --glow-cyan:    0 0 32px rgba(0, 212, 255, 0.25);
  --shadow-card:  0 20px 50px rgba(0, 0, 0, 0.35);
  --font-display: 'Poppins', sans-serif;
  --font-body:    'Poppins', sans-serif;
  --radius:       12px;
  --transition:   0.35s cubic-bezier(.16,1,.3,1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

::selection { background: var(--blue); color: var(--white); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Container ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   HEADER / NAVIGATION — identique à la page Motion Design
   ============================================================ */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(3, 6, 15, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  gap: 24px;
  flex-wrap: nowrap;
  max-width: 1440px;
}
header nav { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; }

/* Logo */
.logo-div { flex-shrink: 0; }
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--white);
  white-space: nowrap;
}
.logo span { color: var(--cyan); }

/* Style de l'image du logo — contrainte à la hauteur du header pour éviter tout débordement */
.logo img {
  max-height: 42px;
  width: auto;
  display: block;
  transition: transform var(--transition);
}
.logo img:hover { transform: scale(1.05); }

/* Nav */
nav ul {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
  flex-wrap: nowrap;
}
nav ul li { position: relative; }
nav ul li a {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: #C3CCE2;
  padding: 8px 12px;
  border-radius: 8px;
  display: block;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
}
nav ul li a:hover {
  color: var(--white);
  background: rgba(30, 79, 255, 0.18);
}
nav ul li a.active { color: var(--cyan); }

/* Dropdown */
.dropdown-content {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 250px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  overflow: hidden;
  animation: dropIn .25s ease;
  list-style: none;
}
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.dropdown-content li a {
  padding: 12px 18px;
  border-radius: 0;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.dropdown-content li:last-child a { border-bottom: none; }
.dropdown-content li a:hover {
  background: rgba(30, 79, 255, 0.18);
  color: var(--cyan);
}
.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content { display: block; }

/* CTA Button */
.btn-header { flex-shrink: 0; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: var(--white) !important;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover {
  background: transparent;
  border-color: var(--blue);
  color: var(--cyan) !important;
  box-shadow: var(--glow);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  z-index: 1100;
  flex-shrink: 0;
}
.hamburger div {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.35s ease;
}
.hamburger.toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); background: var(--cyan); }
.hamburger.toggle .line2 { opacity: 0; transform: translateX(10px); }
.hamburger.toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); background: var(--cyan); }

/* Mobile only button inside nav */
.mobile-only-btn { display: none; }

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--bg);
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
          radial-gradient(ellipse 80% 60% at 50% 20%, rgba(60,60,225,0.25) 0%, transparent 70%),
          url("https://res.cloudinary.com/dcno88ooa/image/upload/v1774866821/Image15_f8qkuz.jpg") center/cover no-repeat;
  z-index: 0;
}
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(5,10,26,0.55) 0%, rgba(5,10,26,0.7) 60%, var(--bg) 100%);
  z-index: 1;
}

#hero .container {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.3);
  color: var(--cyan);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeDown 0.8s ease both;
}
.hero-badge span { width: 6px; height: 6px; background: var(--cyan); border-radius: 50%; animation: pulse 2s infinite; }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

#hero h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  color: var(--white);
  margin-bottom: 22px;
  animation: fadeDown 0.9s 0.15s ease both;
}
#hero h2 span {
  background: linear-gradient(135deg, var(--blue-bright), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 40px;
  animation: fadeDown 1s 0.3s ease both;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeDown 1.1s 0.45s ease both;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  transition: all var(--transition);
  box-shadow: 0 8px 30px rgba(60,60,225,0.4);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(60,60,225,0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: 13px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.25);
  transition: all var(--transition);
}
.btn-secondary:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0,212,255,0.08);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeIn 1.5s 1s ease both;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: scrollLine 2s infinite;
}
@keyframes scrollLine {
  0% { height: 50px; opacity: 1; }
  100% { height: 10px; opacity: 0; transform: translateY(30px); }
}

/* ============================================================
   ABOUT STRIP
   ============================================================ */
#about-strip {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 60px 0;
}

#about-strip .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

#about-strip .about-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.2;
}
#about-strip .about-intro h2 span { color: var(--cyan); }

#about-strip .subtitle-tag {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-bright);
  font-weight: 600;
  margin-bottom: 12px;
}

.about-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.stats-row {
  display: flex;
  gap: 36px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.stat-item { display: flex; flex-direction: column; gap: 2px; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
}
.stat-label { font-size: 12px; color: var(--text-muted); letter-spacing: 0.5px; }

/* ============================================================
   SECTIONS COMMUNES
   ============================================================ */
.section {
  padding: 100px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 14px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1px;
  line-height: 1.15;
}
.section-header h2 span { color: var(--cyan); }
.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 540px;
  margin: 14px auto 0;
}

/* ============================================================
   PROJETS PHARES
   ============================================================ */
#projets-phares {
  padding: 100px 0;
  background: var(--bg);
}

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

.projet-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: pointer;
}
.projet-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0,212,255,0.4);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), var(--glow);
}

.projet-img {
  position: relative;
  overflow: hidden;
  height: 220px;
}
.projet-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.projet-card:hover .projet-img img { transform: scale(1.08); }

.projet-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(5,10,26,0.8);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 50px;
}

.projet-body { padding: 22px; }
.projet-body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.projet-body p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 18px; }
.projet-body a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
  transition: gap var(--transition);
}
.projet-body a:hover { gap: 14px; }

/* ============================================================
   SERVICES
   ============================================================ */
#services {
  padding: 100px 0;
  background: var(--bg-card2);
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(60,60,225,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(0,212,255,0.35); box-shadow: var(--shadow-card); }
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(60,60,225,0.15);
  border: 1px solid rgba(60,60,225,0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  transition: all var(--transition);
}
.service-card:hover .service-icon {
  background: rgba(0,212,255,0.15);
  border-color: rgba(0,212,255,0.5);
  color: var(--cyan);
  box-shadow: 0 0 20px rgba(0,212,255,0.2);
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.service-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }

.service-card .service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-bright);
  transition: gap var(--transition), color var(--transition);
}
.service-card:hover .service-link { gap: 12px; color: var(--cyan); }

/* ============================================================
   WHY US
   ============================================================ */
#why-us {
  padding: 100px 0;
  background: var(--bg);
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.why-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.15;
}
.why-content h2 span { color: var(--cyan); }
.why-content > p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 30px; }

.why-list { display: flex; flex-direction: column; gap: 14px; }
.why-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all var(--transition);
}
.why-item:hover { border-color: rgba(0,212,255,0.35); background: rgba(13,21,51,0.8); }
.why-item-icon {
  width: 36px;
  height: 36px;
  background: rgba(60,60,225,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  flex-shrink: 0;
  font-size: 1rem;
}
.why-item-text h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 3px;
}
.why-item-text p { font-size: 0.83rem; color: var(--text-muted); }

.why-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.why-visual img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 20px;
}
.why-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,10,26,0.6) 0%, transparent 50%);
  z-index: 1;
  border-radius: 20px;
}
.why-float-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 2;
  background: rgba(13,21,51,0.9);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  padding: 14px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.why-float-badge i { font-size: 1.4rem; color: var(--cyan); }
.why-float-badge span { font-size: 12px; color: var(--text-muted); }
.why-float-badge strong { display: block; font-size: 0.95rem; color: var(--white); font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand .logo { font-size: 20px; margin-bottom: 14px; }
.footer-brand p { font-size: 0.88rem; color: var(--text-muted); max-width: 280px; line-height: 1.7; }

.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.social-btn {
  width: 36px;
  height: 36px;
  background: rgba(60,60,225,0.12);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  transition: all var(--transition);
}
.social-btn:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }

footer h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
footer ul li {
  margin-bottom: 10px;
}
footer ul li a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
footer ul li a:hover { color: var(--cyan); }
footer ul li a::before { content: '→'; font-size: 10px; opacity: 0.5; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.footer-contact-item i { color: var(--cyan); margin-top: 3px; flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }
.footer-bottom a { color: var(--cyan); }

/* ============================================================
   PAGE HEROES (sous-pages)
   ============================================================ */
.page-hero {
  padding: 90px 0 70px;
  background: var(--bg-card2);
  border-bottom: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(60,60,225,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 14px;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 18px;
}
.page-hero h1 span { color: var(--cyan); }
.page-hero p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
  padding: 90px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 50px;
  align-items: start;
}
.contact-info-block h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 8px;
}
.contact-info-block > p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 32px; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  transition: all var(--transition);
}
.contact-detail:hover { border-color: rgba(0,212,255,0.35); }
.contact-detail-icon {
  width: 42px;
  height: 42px;
  background: rgba(60,60,225,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail-text strong { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 2px; }
.contact-detail-text span { font-size: 0.95rem; color: var(--white); }

/* Form */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
}
.form-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group select option { background: var(--bg-card); color: var(--text); }

.btn-submit {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.5px;
}
.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(60,60,225,0.5);
}
.btn-submit:disabled {
  cursor: not-allowed;
  transform: none !important;
}

/* ============================================================
   À PROPOS
   ============================================================ */
.services-apropos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.service-item-apropos {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 24px;
  text-align: center;
  transition: all var(--transition);
}
.service-item-apropos:hover {
  border-color: rgba(0,212,255,0.35);
  transform: translateY(-5px);
}
.service-item-apropos .svc-icon {
  font-size: 2rem;
  color: var(--cyan);
  margin-bottom: 16px;
  display: block;
}
.service-item-apropos h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.service-item-apropos p { font-size: 0.86rem; color: var(--text-muted); }

/* ============================================================
   ARCHITECTURE PAGE
   ============================================================ */
.arch-hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 90px 0;
  align-items: center;
}
.arch-images {
  position: relative;
  height: 480px;
}
.arch-img-main {
  position: absolute;
  top: 0; left: 0;
  width: 72%;
  height: 80%;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--border);
  z-index: 2;
}
.arch-img-secondary {
  position: absolute;
  bottom: 0; right: 0;
  width: 55%;
  height: 55%;
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid var(--cyan);
  z-index: 3;
  box-shadow: 0 8px 40px rgba(0,212,255,0.2);
}

.arch-content .tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 14px;
}
.arch-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.arch-content h1 span { color: var(--cyan); }
.arch-content p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; }

.avantages { display: flex; flex-direction: column; gap: 10px; margin: 24px 0; }
.avantage-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text);
}
.avantage-item i { color: var(--cyan); font-size: 0.9rem; }

.arch-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* Process steps */
.process-section { padding: 80px 0; background: var(--bg-card2); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  position: relative;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  position: relative;
  transition: all var(--transition);
}
.step-card:hover { transform: translateY(-5px); border-color: rgba(0,212,255,0.35); box-shadow: var(--shadow-card); }
.step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(0,212,255,0.15);
  line-height: 1;
  margin-bottom: 12px;
}
.step-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.step-card p { font-size: 0.86rem; color: var(--text-muted); }

/* Testimonials */
.testimonials { padding: 80px 0; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all var(--transition);
}
.testimonial-card:hover { border-color: rgba(0,212,255,0.35); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.stars { color: #ffd700; font-size: 0.9rem; margin-bottom: 16px; }
.quote-text { font-size: 0.95rem; color: var(--text-muted); font-style: italic; line-height: 1.7; margin-bottom: 20px; }
.client-name { font-weight: 600; color: var(--white); font-size: 0.9rem; }
.client-loc { font-size: 0.8rem; color: var(--cyan); }

/* CTA Section */
.cta-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(60,60,225,0.15) 0%, rgba(0,212,255,0.05) 100%);
  border-top: 1px solid var(--border);
}
.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}
.cta-section p { color: var(--text-muted); font-size: 1rem; margin-bottom: 32px; }

/* ============================================================
   DEVIS
   ============================================================ */
.devis-form-section {
  padding: 80px 0;
}
.devis-form-section .form-card {
  max-width: 820px;
  margin: 0 auto;
}

/* ============================================================
   ANIMATIONS SCROLL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- Keyframes generaux ---------- */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============================================================
   RESPONSIVE — HEADER (identique à Motion Design)
   ============================================================ */
@media (max-width: 1150px) {
  nav ul { gap: 0; }
  nav ul li a { padding: 8px 10px; font-size: 13px; }
  .btn { padding: 10px 16px; }
}

@media (max-width: 980px) {
  .hamburger { display: flex; order: 3; }
  header nav { flex: 0 0 auto; }
  .btn-header { display: none; }
  .mobile-only-btn { display: block; margin-top: 18px; }
  .mobile-only-btn .btn { width: 100%; justify-content: center; text-align: center; }

  nav #nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(85vw, 320px);
    height: 100vh;
    height: 100dvh;
    background: rgba(3, 6, 15, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-left: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 4px;
    padding: 90px 24px 40px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(.16,1,.3,1);
    overflow-y: auto;
    z-index: 1050;
  }
  nav #nav-menu.nav-active { transform: translateX(0); }

  nav #nav-menu > li { width: 100%; }
  nav #nav-menu > li > a { padding: 14px 12px; font-size: 15px; border-bottom: 1px solid var(--border); }
  nav #nav-menu li a:hover { background: none; color: var(--cyan); font-weight: 600; border-radius: 0; }

  .dropdown-content {
    position: static;
    display: none;
    min-width: 0;
    border: none;
    border-left: 2px solid var(--border);
    border-radius: 0;
    background: rgba(30, 79, 255, 0.08);
    box-shadow: none;
    padding-left: 12px;
    margin-top: 6px;
    animation: none;
  }
  .dropdown:hover .dropdown-content { display: none; }
  .dropdown.open .dropdown-content { display: block; }
  .dropdown-content li a { font-size: 14px; border-bottom: none; padding: 10px 12px; }

  /* Overlay quand menu ouvert */
  body.menu-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
  }
  body.menu-open { overflow: hidden; }
}

/* ============================================================
   RESPONSIVE — TABLETTE (≤900px)
   ============================================================ */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-visual img { height: 300px; }
  #about-strip .container { grid-template-columns: 1fr; gap: 40px; }
  .arch-hero-section { grid-template-columns: 1fr; }
  .arch-images { height: 300px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤768px)
   ============================================================ */
@media (max-width: 768px) {

  /* Sections */
  .section { padding: 70px 0; }
  #projets-phares, #services, #why-us { padding: 70px 0; }
  .projets-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-row { gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-scroll { display: none; }
  .arch-hero-section { padding: 60px 0; }
  .form-card { padding: 24px; }
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--cyan); }