/* ============================================
   SMARTEOS Solutions — Feuille de style
   Palette : navy #283848 · sage #5c7850
   Typo : Inter (Google Fonts)
   ============================================ */

:root {
  --navy:        #283848;
  --navy-deep:   #1e2c3a;
  --navy-mid:    #354d63;
  --sage:        #5c7850;
  --sage-light:  #7a9e6c;
  --sage-dim:    #4a6340;
  --white:       #ffffff;
  --off-white:   #f6f7f8;
  --muted:       #e8eaec;
  --text-dark:   #1a2530;
  --text-body:   #3d4f5e;
  --text-light:  #8a9aaa;
  --border:      #dde3e8;
  --font:        'Inter', system-ui, sans-serif;
  --max-w:       1120px;
  --py:          96px;
  --radius:      4px;
  --radius-lg:   8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ── CONTAINER ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
nav.scrolled { box-shadow: 0 2px 16px rgba(40,56,72,0.08); }

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-brand { line-height: 1.15; }
.nav-brand-name {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--text-dark);
  text-transform: uppercase;
}
.nav-brand-sub {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--text-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-body);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text-dark); }
.nav-cta {
  padding: 8px 20px;
  background: var(--sage) !important;
  color: var(--white) !important;
  border-radius: var(--radius);
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--sage-light) !important; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-dark);
  transition: transform 0.2s, opacity 0.2s;
}

/* ── HERO ── */
.hero {
  background: var(--navy);
  padding: 144px 0 96px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--sage-light);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}
.eyebrow-light { color: var(--sage-light); }

.hero-title {
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 300;
  line-height: 1.18;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.hero-title-small {
  font-size: 0.75em;
}

.hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.62);
  line-height: 1.72;
  margin-bottom: 36px;
  max-width: 500px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border: 1px solid rgba(92,120,80,0.45);
  color: var(--sage-light);
  border-radius: 2px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 26px;
  background: var(--sage);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--sage-light); transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 26px;
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  font-weight: 400;
  border-radius: var(--radius);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--sage-light); color: var(--white); }

/* Piliers hero droite */
.hero-pillars {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.pillar {
  padding: 22px 26px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.2s;
}
.pillar:last-child { border-bottom: none; }
.pillar:hover { background: rgba(255,255,255,0.07); }
.pillar-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--sage-light);
  text-transform: uppercase;
  margin-bottom: 5px;
}
.pillar-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 4px;
}
.pillar-desc {
  font-size: 12.5px;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}

/* ── BANDE ── */
.band {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
}
.band-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
}
.band-item {
  padding: 0 36px;
  border-right: 1px solid var(--border);
  position: relative;
}
.band-item:first-child { padding-left: 0; }
.band-item:last-child { border-right: none; padding-right: 0; }
.band-num {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--sage);
  margin-bottom: 10px;
}
.band-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.band-desc {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.6;
}

/* ── SECTIONS ── */
section { padding: var(--py) 0; }
.section-alt { background: var(--off-white); }
.section-dark { background: var(--navy); }

.section-header { margin-bottom: 52px; }

.section-title {
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 300;
  color: var(--text-dark);
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.section-title-light { color: var(--white); }

.section-sub {
  font-size: 15px;
  color: var(--text-light);
  max-width: 560px;
  line-height: 1.65;
}

/* ── DOMAINES ── */
.domains-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}
.domain-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.domain-card:hover {
  box-shadow: 0 8px 28px rgba(40,56,72,0.1);
  transform: translateY(-2px);
}
.domain-head {
  background: var(--navy);
  padding: 26px 26px 22px;
  border-bottom: 2px solid var(--sage);
}
.domain-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 5px;
}
.domain-sub {
  font-size: 11.5px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
}
.domain-body { padding: 22px 26px 26px; background: var(--white); }
.tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 16px; }
.dtag {
  font-size: 10.5px;
  font-weight: 500;
  padding: 3px 9px;
  background: var(--off-white);
  color: var(--text-body);
  border: 1px solid var(--border);
  border-radius: 2px;
  letter-spacing: 0.02em;
}
.domain-desc {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 18px;
}
.domain-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--sage);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: letter-spacing 0.15s;
}
.domain-link:hover { letter-spacing: 0.05em; }

/* ── MISSIONS / EXPÉRIENCE ── */
.missions-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 14px;
}
.mission-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--sage);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  transition: box-shadow 0.2s;
}
.mission-card:hover { box-shadow: 0 4px 18px rgba(40,56,72,0.08); }
.mission-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.mission-sector {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-light);
  text-transform: uppercase;
}
.mission-duration {
  font-size: 10px;
  font-weight: 500;
  padding: 2px 8px;
  background: rgba(92,120,80,0.1);
  color: var(--sage);
  border-radius: 2px;
  letter-spacing: 0.04em;
}
.mission-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
  line-height: 1.35;
}
.mission-role {
  font-size: 12px;
  color: var(--sage);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.mission-desc {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.62;
}

.missions-note {
  margin-top: 32px;
  padding: 16px 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: var(--text-light);
}
.missions-note svg { flex-shrink: 0; margin-top: 1px; }

/* ── POURQUOI ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.why-item {
  padding: 32px 36px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  transition: background 0.2s;
  position: relative;
}
.why-item::before {
  content: '';
  position: absolute;
  top: 0; left: 36px;
  width: 24px; height: 2px;
  background: var(--sage);
}
.why-item:hover { background: var(--off-white); }
.why-item:nth-child(3n) { border-right: none; }
.why-item:nth-last-child(-n+3) { border-bottom: none; }
.why-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  margin-top: 14px;
}
.why-desc {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.62;
}

/* ── À PROPOS ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-text {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-top: 24px;
}
.about-text p + p { margin-top: 18px; }
.about-text strong { color: rgba(255,255,255,0.9); font-weight: 500; }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat { background: var(--navy); padding: 26px 22px; transition: background 0.2s; }
.stat:hover { background: var(--navy-mid); }
.stat-key {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--sage-light);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.stat-val {
  font-size: 22px;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 4px;
  line-height: 1.2;
}
.stat-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  line-height: 1.5;
}

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-left .section-title { margin-bottom: 16px; }
.contact-left .section-sub { margin-bottom: 36px; }

.contact-details { display: flex; flex-direction: column; gap: 0; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-item:last-child { border-bottom: none; }
.contact-item svg { margin-top: 3px; flex-shrink: 0; }
.contact-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 3px;
}
.contact-val {
  font-size: 14px;
  color: var(--text-dark);
  font-weight: 500;
  text-decoration: none;
  line-height: 1.5;
}
a.contact-val:hover { color: var(--sage); }

/* Formulaire */
.contact-right {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.form-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-body);
  text-transform: uppercase;
  margin-bottom: 5px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 14px;
  color: var(--text-dark);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(92,120,80,0.1);
}
.form-group textarea { resize: vertical; min-height: 96px; }
.btn-submit {
  width: 100%;
  padding: 12px;
  background: var(--sage);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 6px;
}
.btn-submit:hover { background: var(--sage-light); }
.btn-submit:disabled { background: var(--text-light); cursor: not-allowed; }
.form-success {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--sage);
  font-weight: 500;
  text-align: center;
}
.form-error {
  margin-top: 12px;
  font-size: 13.5px;
  color: #c0392b;
  text-align: center;
}

/* ── FOOTER ── */
footer {
  background: var(--navy-deep);
  padding: 44px 0 28px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 24px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-name {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--white);
}
.footer-sub {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
}
.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}
.footer-copy a {
  color: rgba(255,255,255,0.3);
  text-decoration: none;
}
.footer-copy a:hover { color: rgba(255,255,255,0.6); }
.footer-siret {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.05em;
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  :root { --py: 72px; }
  .container { padding: 0 28px; }
  .nav-inner { padding: 0 28px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { display: none; }
  .band-grid { grid-template-columns: 1fr; gap: 28px; }
  .band-item { border-right: none; border-bottom: 1px solid var(--border); padding: 0 0 28px; }
  .band-item:last-child { border-bottom: none; padding-bottom: 0; }
  .domains-grid { grid-template-columns: 1fr; }
  .missions-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-item:nth-child(3n) { border-right: 1px solid var(--border); }
  .why-item:nth-child(2n) { border-right: none; }
  .why-item:nth-last-child(-n+3) { border-bottom: 1px solid var(--border); }
  .why-item:nth-last-child(-n+2) { border-bottom: none; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { flex-direction: column; gap: 20px; align-items: flex-start; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
@media (max-width: 600px) {
  :root { --py: 56px; }
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .nav-links { display: none; position: fixed; top: 68px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); flex-direction: column; padding: 20px; gap: 16px; }
  .nav-links.open { display: flex; }
  .nav-burger { display: flex; }
  .hero { padding: 112px 0 64px; }
  .hero-title { font-size: 28px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-item { border-right: none !important; }
  .why-item:nth-last-child(-n+3) { border-bottom: 1px solid var(--border) !important; }
  .why-item:last-child { border-bottom: none !important; }
  .about-stats { grid-template-columns: 1fr; }
  .contact-right { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
}

/* ── HERO LOGO ── */
.hero-logo {
  height: 160px;
  width: auto;
  display: block;
  margin-bottom: 36px;
}

@media (max-width: 960px) {
  .hero-logo { height: 120px; margin-bottom: 28px; }
}
@media (max-width: 600px) {
  .hero-logo { height: 90px; margin-bottom: 24px; }
}

/* ── HERO LOGO BLOCK (cube + typo) ── */
.hero-logo-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 36px;
}
.hero-logo {
  height: 140px;
  width: auto;
  display: block;
  margin-bottom: 14px;
}
.hero-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.hero-logo-name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--white);
  text-transform: uppercase;
}
.hero-logo-sub {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.5);
}

@media (max-width: 960px) {
  .hero-logo { height: 110px; }
}
@media (max-width: 600px) {
  .hero-logo { height: 80px; }
  .hero-logo-name { font-size: 14px; }
}

/* ── SÉLECTEUR DE LANGUE ── */
.nav-lang {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.nav-lang-active {
  color: var(--sage);
  font-weight: 600;
}
.nav-lang-sep {
  color: var(--border);
}
.nav-lang a {
  color: var(--text-light);
}
.nav-lang a:hover {
  color: var(--text-dark);
}
