/* Céos Solutions — Vitrine statique v1 */

:root {
  --color-bg: #f8f9fb;
  --color-surface: #ffffff;
  --color-text: #1a2332;
  --color-text-muted: #5a6578;
  --color-accent: #1e4d7b;
  --color-accent-light: #2a6cb0;
  --color-border: #e2e6ed;
  --color-hero-bg: #0f2744;

  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 3px rgba(26, 35, 50, 0.06);
  --shadow-md: 0 4px 16px rgba(26, 35, 50, 0.08);
  --shadow-lg: 0 8px 32px rgba(26, 35, 50, 0.12);

  --header-height: 4rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-accent-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

a:focus-visible {
  outline: 2px solid var(--color-accent-light);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

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

/* Header */

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: var(--space-sm);
}

.logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--color-accent);
}

.nav-toggle {
  display: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-menu a:hover {
  color: var(--color-accent);
}

.lang-hint {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  padding: var(--space-xs) var(--space-sm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

/* Hero */

.hero {
  background: linear-gradient(160deg, var(--color-hero-bg) 0%, #1a3a5c 100%);
  color: #ffffff;
  padding: var(--space-xl) 0;
}

.hero-content {
  max-width: 720px;
}

.hero-tagline {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-sm);
}

.hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 var(--space-sm);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 var(--space-md);
  max-width: 560px;
}

.hero-subtitle-en {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
  margin: 0 0 var(--space-lg);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-primary {
  background: #ffffff;
  color: var(--color-hero-bg);
}

.btn-primary:hover {
  background: #f0f4f8;
  color: var(--color-hero-bg);
  transform: translateY(-1px);
}

/* Sections */

.section {
  padding: var(--space-xl) 0;
}

.section-alt {
  background: var(--color-surface);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0 0 var(--space-xs);
  letter-spacing: -0.02em;
}

.section-header .section-label-en {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.section-header p {
  color: var(--color-text-muted);
  max-width: 600px;
  margin: var(--space-sm) auto 0;
}

/* Services grid */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 var(--space-xs);
  color: var(--color-accent);
}

.service-card .service-label-en {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-sm);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* Approach steps */

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  counter-reset: step;
}

.step {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50%;
}

.step-content h3 {
  font-size: 1.05rem;
  margin: 0 0 var(--space-xs);
}

.step-content .step-label-en {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-xs);
}

.step-content p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* About */

.about-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  color: var(--color-text-muted);
  margin: 0 0 var(--space-sm);
}

.about-content p:last-child {
  margin-bottom: 0;
}

/* Contact */

.contact-block {
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.contact-block p {
  color: var(--color-text-muted);
  margin: 0 0 var(--space-md);
}

.contact-email {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-accent);
}

/* Footer */

.site-footer {
  background: var(--color-hero-bg);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-lg) 0 var(--space-md);
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-align: center;
}

.footer-inner a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-inner a:hover {
  color: #ffffff;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm) var(--space-md);
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-bilingual {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive */

@media (min-width: 480px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .step {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

@media (max-width: 767px) {
  .nav-toggle-label {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-muted);
    padding: var(--space-xs);
  }

  .nav-toggle-label::before {
    content: "☰";
    font-size: 1.2rem;
  }

  .nav-toggle:checked ~ .nav-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-md);
    box-shadow: var(--shadow-md);
  }

  .nav-menu {
    display: none;
  }

  .header-inner {
    position: relative;
  }
}
