/* CEDETI INGENIERIE — temporary EN/DE landing page
   Palette and type sourced from the CEDETI brand (cedeti-ingenierie.com):
   navy #0d3b7f / #2e4392, grays #58585a #7e8a98 #9c9e9f, Oswald + Roboto */

:root {
  --navy: #0d3b7f;
  --navy-dark: #082a5c;
  --navy-alt: #2e4392;
  --gray-dark: #58585a;
  --gray-mid: #7e8a98;
  --gray-light: #9c9e9f;
  --bg-light: #f4f6f9;
  --white: #ffffff;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(13, 59, 127, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: var(--gray-dark);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Oswald', 'Arial Narrow', sans-serif;
  color: var(--navy);
  margin: 0 0 16px 0;
  font-weight: 600;
}

a { color: inherit; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid #ececec;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.site-header img.logo {
  height: 48px;
  display: block;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-nav a.nav-link {
  text-decoration: none;
  color: var(--navy);
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.header-nav a.nav-link:hover { color: var(--navy-alt); }

.btn {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 13px;
  padding: 12px 26px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--white); color: var(--navy); }
.btn-primary:hover { box-shadow: 0 8px 20px rgba(0,0,0,0.15); }

.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }

.btn-solid { background: var(--navy); color: var(--white); }
.btn-solid:hover { background: var(--navy-alt); box-shadow: 0 8px 20px rgba(13,59,127,0.25); }

.header-nav .btn { padding: 10px 20px; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 16px;
  margin-left: 4px;
  border-left: 1px solid #e2e5ea;
}

.lang-switch a { display: flex; line-height: 0; }

.lang-switch img {
  width: 24px;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
  transition: transform .15s ease;
}

.lang-switch img:hover { transform: scale(1.15); }

.lang-switch a.social img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  box-shadow: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-alt) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 96px 0 110px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.5) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.5) 0 1px, transparent 1px 64px);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 0 0 60px rgba(255,255,255,0.04), 0 0 0 120px rgba(255,255,255,0.02);
  pointer-events: none;
}

.hero .wrap { position: relative; z-index: 2; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  letter-spacing: 0.03em;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4fd1a5;
  box-shadow: 0 0 0 3px rgba(79,209,165,0.25);
}

.hero h1 {
  color: var(--white);
  font-size: 44px;
  max-width: 720px;
  margin-bottom: 18px;
  line-height: 1.15;
}

.hero p.lead {
  max-width: 620px;
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-bottom: 40px;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.75);
}

.hero-tags span { position: relative; padding-left: 16px; }
.hero-tags span::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  width: 8px; height: 8px; margin-top: -4px;
  background: #4fd1a5;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- About ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-light); }

.section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2 { font-size: 32px; }
.section-head .kicker {
  display: block;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12.5px;
  color: var(--gray-light);
  margin-bottom: 10px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: start;
}

.about-grid h2 { font-size: 32px; text-align: left; }

.about-grid p { margin: 0 0 16px 0; color: var(--gray-dark); font-size: 15.5px; }
.about-grid p.muted { color: var(--gray-mid); }
.about-grid p strong { color: var(--navy); }

.stat-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #e7eaf0;
  border-radius: var(--radius);
  overflow: hidden;
}

.stat {
  padding: 22px 26px;
  border-bottom: 1px solid #e7eaf0;
  background: var(--white);
}
.stat:last-child { border-bottom: none; }

.stat .num {
  font-family: 'Oswald', sans-serif;
  font-size: 30px;
  color: var(--navy);
  font-weight: 600;
  display: block;
}

.stat .label {
  font-size: 13px;
  color: var(--gray-mid);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ---------- Expertise cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #4fd1a5, var(--navy-alt));
}

.card .icon {
  height: 44px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}

.card .icon img { height: 100%; width: auto; display: block; }

.card h3 {
  color: var(--white);
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  text-align: center;
}

.card ul {
  list-style: none;
  margin: 0; padding: 0;
  font-size: 13.5px;
  color: rgba(255,255,255,0.8);
}

.card ul li {
  padding: 6px 0 6px 16px;
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.card ul li:first-child { border-top: none; }
.card ul li::before {
  content: "";
  position: absolute; left: 0; top: 14px;
  width: 6px; height: 6px;
  background: #4fd1a5;
}

/* ---------- Clients ---------- */
.clients-wall {
  display: block;
  width: 100%;
  max-width: 980px;
  height: auto;
  margin: 0 auto;
}

/* ---------- Contact ---------- */
.contact {
  background: linear-gradient(160deg, var(--navy-dark), var(--navy-alt));
  color: var(--white);
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.contact h2 { color: var(--white); font-size: 30px; }
.contact p.lead { color: rgba(255,255,255,0.8); font-size: 16px; max-width: 480px; }

.contact-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 32px;
}

.contact-line {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
  font-size: 15px;
}
.contact-line:last-child { margin-bottom: 0; }
.contact-line svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; stroke: #4fd1a5; fill: none; }
.contact-line a { text-decoration: none; color: var(--white); }
.contact-line a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-light);
  padding: 32px 0;
  font-size: 13px;
  color: var(--gray-light);
}

.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer img.logo { height: 30px; opacity: 0.85; }

.site-footer .foot-links a {
  text-decoration: none;
  color: var(--gray-mid);
  margin-left: 20px;
}
.site-footer .foot-links a:hover { color: var(--navy); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 34px; }
  .header-nav { gap: 16px; }
}

@media (max-width: 600px) {
  .cards-grid { grid-template-columns: 1fr; }
  .site-header .wrap { height: auto; padding: 16px 20px; flex-wrap: wrap; gap: 12px; }
  .header-nav { flex-wrap: wrap; gap: 12px; }
  .hero { padding: 64px 0 72px; }
  .section { padding: 64px 0; }
  .site-footer .wrap { flex-direction: column; text-align: center; }
  .site-footer .foot-links a { margin: 0 8px; }
}
