:root {
  --navy-900: #0d2240;
  --navy-800: #15305a;
  --navy-700: #1e4278;
  --navy-600: #2c5a96;
  --navy-100: #e6ecf5;
  --accent: #f2b33d;
  --text: #1b2a41;
  --muted: #5a6b84;
  --white: #ffffff;
  --radius: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }
a { color: inherit; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.btn { display: inline-block; padding: 13px 26px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; border: 2px solid transparent; transition: .2s; cursor: pointer; }
.btn-accent { background: var(--accent); color: var(--navy-900); }
.btn-accent:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 700; color: var(--navy-600); margin-bottom: 10px; }
h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.12; font-weight: 800; }
h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; color: var(--navy-800); font-weight: 800; }
h3 { font-size: 19px; color: var(--navy-800); margin-bottom: 8px; }
.lead { font-size: 18px; color: var(--muted); max-width: 680px; }
section { padding: 84px 0; }
.section-head { margin-bottom: 44px; }
.section-head .lead { margin-top: 12px; }

/* Header */
header { position: sticky; top: 0; z-index: 50; background: var(--navy-800); color: var(--white); box-shadow: 0 2px 14px rgba(0,0,0,.2); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-weight: 800; font-size: 22px; letter-spacing: .02em; text-decoration: none; color: var(--white); }
.logo span { color: var(--accent); }
.nav ul { display: flex; gap: 28px; list-style: none; }
.nav ul a { text-decoration: none; font-size: 15px; opacity: .9; }
.nav ul a:hover, .nav ul a.active { opacity: 1; color: var(--accent); }
.nav .btn { padding: 10px 20px; font-size: 14px; }

/* Hero */
.hero { color: var(--white); padding: 110px 0 100px; background:
  linear-gradient(135deg, rgba(13,34,64,.94) 0%, rgba(30,66,120,.85) 60%, rgba(44,90,150,.78) 100%),
  repeating-linear-gradient(45deg, #1e4278 0 22px, #19376a 22px 44px); }
.hero.compact { padding: 80px 0 72px; }
.hero .lead { color: rgba(255,255,255,.82); margin: 22px 0 36px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .eyebrow { color: var(--accent); }
.crumbs { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 16px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

/* Stats */
.stats { background: var(--navy-900); color: var(--white); padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-value { font-size: 40px; font-weight: 800; color: var(--accent); }
.stat-label { font-size: 14px; color: rgba(255,255,255,.75); }

/* Cards */
.bg-light { background: var(--navy-100); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { background: var(--white); border-radius: var(--radius); padding: 34px 30px; box-shadow: 0 6px 24px rgba(11,31,58,.08); border-top: 4px solid var(--navy-700); display: flex; flex-direction: column; }
.card .icon { width: 52px; height: 52px; border-radius: 12px; background: var(--navy-800); color: var(--accent); display: grid; place-items: center; font-size: 22px; margin-bottom: 20px; }
.card p { color: var(--muted); font-size: 15px; }
.card ul { margin: 14px 0 22px; padding-left: 18px; color: var(--muted); font-size: 15px; }
.card ul li { margin-bottom: 6px; }
.card .more { margin-top: auto; color: var(--navy-700); font-weight: 700; text-decoration: none; font-size: 15px; }
.card .more:hover { color: var(--accent); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { padding: 28px 24px; border-left: 3px solid var(--navy-700); background: #f7f9fc; border-radius: 0 var(--radius) var(--radius) 0; }
.step-num { font-size: 13px; font-weight: 800; color: var(--navy-600); letter-spacing: .1em; }
.step p { color: var(--muted); font-size: 15px; margin-top: 6px; }

/* Split block (offer pages) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split p { color: var(--muted); margin-bottom: 14px; }
.check-list { list-style: none; display: grid; gap: 12px; margin-top: 18px; }
.check-list li { padding-left: 30px; position: relative; color: var(--text); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--navy-800); color: var(--accent); font-size: 12px; display: grid; place-items: center; font-weight: 700; }
.photo-placeholder { height: 340px; border-radius: var(--radius); background: linear-gradient(135deg, var(--navy-600), var(--navy-700)); display: grid; place-items: center; color: rgba(255,255,255,.6); font-size: 13px; letter-spacing: .05em; text-transform: uppercase; }

/* Projects */
.projects { background: var(--navy-800); color: var(--white); }
.projects h2 { color: var(--white); }
.projects .eyebrow { color: var(--accent); }
.projects .lead { color: rgba(255,255,255,.75); }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project { background: var(--navy-700); border-radius: var(--radius); overflow: hidden; }
.photo-small { height: 200px; background: linear-gradient(135deg, var(--navy-600), var(--navy-700)); display: grid; place-items: center; color: rgba(255,255,255,.55); font-size: 13px; letter-spacing: .05em; text-transform: uppercase; }
.project-body { padding: 22px 24px 26px; }
.project-body h3 { color: var(--white); font-size: 17px; }
.project-meta { font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 14px; }
.project-kpis { display: flex; gap: 18px; font-size: 14px; }
.project-kpis strong { color: var(--accent); display: block; font-size: 18px; }

/* Contact */
.contact { background: var(--navy-100); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.contact-info p { color: var(--muted); margin-top: 12px; }
.contact-info .info-line { margin-top: 22px; font-size: 15px; }
.contact-info .info-line strong { color: var(--navy-800); display: block; }
form { background: var(--white); padding: 36px; border-radius: var(--radius); box-shadow: 0 6px 24px rgba(11,31,58,.08); display: grid; gap: 16px; }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-size: 13px; font-weight: 600; color: var(--navy-800); display: grid; gap: 6px; }
input, select, textarea { font: inherit; font-size: 15px; padding: 12px 14px; border: 1px solid #c8d3e3; border-radius: 10px; color: var(--text); background: #fbfcfe; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--navy-600); border-color: transparent; }
textarea { min-height: 110px; resize: vertical; }
form .btn { justify-self: start; border: 0; }
.form-msg { font-size: 14px; color: var(--navy-700); display: none; }

/* CTA band */
.cta-band { background: var(--navy-700); color: var(--white); padding: 60px 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); font-size: 28px; }
.cta-band p { color: rgba(255,255,255,.75); margin-top: 6px; }

/* Footer */
footer { background: var(--navy-900); color: rgba(255,255,255,.75); padding: 60px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr 1fr 1fr; gap: 28px; }
footer h4 { color: var(--white); font-size: 15px; margin-bottom: 14px; }
footer ul { list-style: none; display: grid; gap: 8px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--accent); }
.legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; }

/* Responsive */
@media (max-width: 960px) {
  .nav ul { display: none; }
  .stats-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .cards, .project-grid, .contact-grid, .footer-grid, .split { grid-template-columns: 1fr; }
  form .row { grid-template-columns: 1fr; }
  .photo-placeholder { height: 260px; }
}
@media (max-width: 560px) {
  section { padding: 64px 0; }
  .stats-grid, .steps { grid-template-columns: 1fr; }
  .nav .btn { display: none; }
}

.brand { display: flex; flex-direction: column; }
.tagline { display: block; text-decoration: none; font-size: 12px; color: rgba(255,255,255,.7); letter-spacing: .04em; margin-top: 2px; }

.tagline-nav { font-size: 7px; line-height: 1.05; font-style: normal; opacity: .75; text-align: center; }
.tagline-nav:hover { opacity: 1; color: var(--accent); }

.nav ul { align-items: center; }
.nav ul li { display: flex; align-items: center; }

.nav li.dropdown { position: relative; }
.nav ul.dropdown-menu { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); flex-direction: column; gap: 0; background: var(--navy-800); padding: 8px 0; min-width: 210px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.nav ul.dropdown-menu a { display: block; padding: 10px 20px; font-size: 14px; white-space: nowrap; opacity: .95; }
.nav ul.dropdown-menu a:hover { color: var(--accent); background: rgba(255,255,255,.05); }
.nav li.dropdown:hover > ul.dropdown-menu, .nav li.dropdown:focus-within > ul.dropdown-menu { display: flex; }

.footer-cta { display: block; margin-top: 22px; font-size: 22px; font-weight: 700; color: var(--accent); text-decoration: none; }
.footer-cta:hover { color: var(--white); }
.footer-phone { display: inline-block; margin-top: 14px; background: var(--accent); color: var(--navy-900); font-weight: 800; font-size: 18px; padding: 12px 20px; border-radius: 10px; }

.header-phone { font-size: 13px; color: rgba(255,255,255,.85); margin-top: 2px; }

.brand { align-items: center; text-align: center; }

.project-photo { display: block; width: 100%; height: 200px; object-fit: cover; object-position: center 38%; }

.carousel { overflow: hidden; width: 100%; }
.carousel-track { display: flex; gap: 20px; width: max-content; animation: carousel-scroll 35s linear infinite; }
.carousel-track img { width: 420px; height: 280px; object-fit: cover; border-radius: var(--radius); flex-shrink: 0; }
.carousel:hover .carousel-track { animation-play-state: paused; }
@keyframes carousel-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 560px) { .carousel-track img { width: 300px; height: 200px; } }
@media (prefers-reduced-motion: reduce) { .carousel-track { animation: none; } }

#demande { scroll-margin-top: 90px; }

.split-photo { display: block; width: 100%; height: 340px; object-fit: cover; object-position: center; border-radius: var(--radius); }

/* Menu mobile */
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-left: 8px; cursor: pointer; color: var(--white); }
.nav-toggle span { display: block; width: 26px; height: 3px; background: currentColor; border-radius: 2px; margin: 5px 0; transition: transform .2s, opacity .2s; }
header.menu-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
header.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
header.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav { gap: 8px; }
  .nav > .btn { margin-left: auto; }
  header.menu-open .nav > ul { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy-800); padding: 8px 20px 20px; max-height: calc(100vh - 72px); overflow-y: auto; box-shadow: 0 14px 24px rgba(0,0,0,.3); }
  header.menu-open .nav ul li { display: block; border-bottom: 1px solid rgba(255,255,255,.08); }
  header.menu-open .nav ul a { display: block; padding: 14px 4px; font-size: 16px; opacity: 1; }
  header.menu-open .nav ul .tagline-nav { font-size: 14px; text-align: left; opacity: .75; }
  header.menu-open .nav ul.dropdown-menu { display: flex; align-items: stretch; text-align: left; position: static; transform: none; box-shadow: none; background: transparent; padding: 0 0 8px 14px; min-width: 0; }
  header.menu-open .nav ul.dropdown-menu li { border-bottom: 0; }
  header.menu-open .nav ul.dropdown-menu a { padding: 8px 4px; font-size: 14px; opacity: .85; }
}
@media (max-width: 560px) { .nav > .btn { display: none; } .nav-toggle { margin-left: auto; } }
