/* ==========================================================================
   Groupe Alikon — feuille de styles principale
   Palette : tons de bleu marine, neutres et sobres
   ========================================================================== */

:root {
  --navy-950: #081a33;
  --navy-900: #0b2545;
  --navy-700: #16365f;
  --navy-500: #2a5082;
  --accent: #3d7bb3;
  --accent-soft: #e8f0f8;

  --ink: #1b2636;
  --muted: #5a6a80;
  --border: #dde3ec;
  --surface: #f4f6fa;
  --white: #ffffff;

  --radius: 10px;
  --shadow: 0 1px 2px rgba(11, 37, 69, 0.06), 0 8px 24px rgba(11, 37, 69, 0.06);
  --container: 1120px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
}

h1,
h2,
h3 {
  color: var(--navy-900);
  line-height: 1.2;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }

p { margin: 0 0 1em; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy-900);
  color: var(--white);
  padding: 8px 16px;
  z-index: 100;
}
.skip-link:focus { left: 16px; }

/* ---------- En-tête ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy-900);
}
.brand-mark {
  width: 36px;
  height: 36px;
}
.brand-name {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}
.brand-name small {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: -2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--accent);
}

.lang-switch {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em;
}
.lang-switch:hover {
  border-color: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  color: var(--navy-900);
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 16px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 10px 0; width: 100%; }
  .lang-switch { margin-top: 8px; width: auto !important; }
}

/* ---------- Boutons ---------- */

.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.97rem;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary {
  background: var(--white);
  color: var(--navy-900);
}
.btn-primary:hover { background: var(--accent-soft); }
.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }
.btn-navy {
  background: var(--navy-900);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-700); }

/* ---------- Héros ---------- */

.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(61, 123, 179, 0.35), transparent 45%),
    linear-gradient(160deg, var(--navy-900), var(--navy-950));
  color: var(--white);
  padding: 110px 0 120px;
}
.hero h1 {
  color: var(--white);
  max-width: 20ch;
}
.hero .lead {
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 62ch;
  margin-bottom: 2rem;
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.hero .eyebrow { color: #9cc3e6; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-hero {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-950));
  color: var(--white);
  padding: 72px 0 64px;
}
.page-hero h1 { color: var(--white); }
.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 64ch;
  font-size: 1.1rem;
  margin: 0;
}

/* ---------- Sections ---------- */

.section { padding: 88px 0; }
.section-alt { background: var(--surface); }
.section-head {
  max-width: 680px;
  margin-bottom: 48px;
}
.section-head p { color: var(--muted); font-size: 1.07rem; }

.grid {
  display: grid;
  gap: 24px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 80px 0 88px; }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card p { color: var(--muted); margin: 0; font-size: 0.97rem; }
.card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.15s;
}
.card-link:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.card-link .more {
  margin-top: auto;
  padding-top: 20px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--accent);
}

.icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--navy-700);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.icon svg { width: 22px; height: 22px; }

.value h3 { margin-bottom: 0.4em; }
.value p { color: var(--muted); font-size: 0.96rem; margin: 0; }
.value .bar {
  width: 36px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 16px;
  border-radius: 2px;
}

/* ---------- Page services ---------- */

.service-group {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 72px;
}
.service-group:last-of-type { border-bottom: 0; }
.service-group-head {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 36px;
  max-width: 780px;
}
.service-group-head .num {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.service-group-head p { color: var(--muted); margin: 0; }
.service-group-head h2 { margin-bottom: 0.35em; }

/* ---------- À propos ---------- */

.two-col {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
}
.facts {
  list-style: none;
  padding: 0;
  margin: 0;
}
.facts li {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.facts li:first-child { padding-top: 0; }
.facts strong {
  display: block;
  color: var(--navy-900);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

/* ---------- Contact ---------- */

.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-card .icon { margin: 0; flex-shrink: 0; }
.contact-card h3 { margin-bottom: 0.2em; }
.contact-card a { font-weight: 600; text-decoration: none; }

/* ---------- Bandeau d'appel à l'action ---------- */

.cta {
  background: var(--navy-900);
  color: var(--white);
  border-radius: 14px;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta h2 { color: var(--white); margin-bottom: 0.3em; }
.cta p { color: rgba(255, 255, 255, 0.78); margin: 0; max-width: 56ch; }
@media (max-width: 620px) {
  .cta { padding: 36px 28px; }
}

/* ---------- Pied de page ---------- */

.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 32px;
  font-size: 0.93rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.site-footer .brand { color: var(--white); }
.site-footer .brand-name small { color: rgba(255, 255, 255, 0.55); }
.footer-tagline { margin-top: 12px; max-width: 36ch; }
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.site-footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}
.site-footer a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 24px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}
