/* ===========================================
   IQobot - Styles principaux
   Mobile-first approach
   =========================================== */

/* -----------------------------------------
   0. FONTS (self-hosted Inter)
   ----------------------------------------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* -----------------------------------------
   1. CUSTOM PROPERTIES
   ----------------------------------------- */
:root {
  /* Colors */
  --color-primary: #5CE1E6;
  --color-primary-dark: #3bbcc1;
  --color-primary-light: #a8f0f3;
  --color-primary-rgb: 92, 225, 230;
  --color-dark: #1a1a2e;
  --color-dark-light: #2d2d44;
  --color-grey: #B0B0B0;
  --color-grey-light: #f5f5f7;
  --color-grey-dark: #888888;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-white: #ffffff;
  --color-error: #e74c3c;
  --color-success: #2ecc71;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-base: 1rem;
  --line-height-base: 1.6;

  /* Spacing (8px grid) */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Layout */
  --max-width: 1200px;
  --header-height: 70px;
  --border-radius: 8px;
  --border-radius-sm: 4px;
  --border-radius-lg: 12px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-header: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* -----------------------------------------
   2. BASE / TYPOGRAPHY
   ----------------------------------------- */
body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-text);
  background-color: var(--color-white);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-weight: 700;
  color: var(--color-dark);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
}

p {
  color: var(--color-text-light);
}

/* -----------------------------------------
   3. UTILITY CLASSES
   ----------------------------------------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

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

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

.section-header h2 {
  margin-bottom: var(--space-sm);
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-primary);
  margin: var(--space-sm) auto 0;
  border-radius: 2px;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.0625rem;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* -----------------------------------------
   4. BUTTONS
   ----------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-base);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-dark);
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(var(--color-primary-rgb), 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-dark);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

.btn-white {
  background: var(--color-white);
  color: var(--color-dark);
  border-color: var(--color-white);
}

.btn-white:hover {
  background: var(--color-grey-light);
  transform: translateY(-2px);
}

/* -----------------------------------------
   5. HEADER / NAVIGATION
   ----------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color var(--transition-base), box-shadow var(--transition-base);
  height: var(--header-height);
}

.header.scrolled {
  background-color: var(--color-white);
  box-shadow: var(--shadow-header);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-dark);
  z-index: 1001;
}

.logo-img {
  height: 40px;
  width: auto;
}

.logo-text {
  color: var(--color-dark);
}

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

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  z-index: 1001;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-dark);
  transition: all var(--transition-base);
  border-radius: 1px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--color-white);
  padding: calc(var(--header-height) + var(--space-lg)) var(--space-lg) var(--space-lg);
  transition: right var(--transition-base);
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.nav-menu.open {
  right: 0;
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: 999;
}

.nav-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.nav-link {
  display: block;
  padding: 0.75rem 0;
  font-weight: 500;
  font-size: 1.0625rem;
  color: var(--color-text);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary-dark);
}

.nav-cta {
  display: none;
}

.body-no-scroll {
  overflow: hidden;
}

/* -----------------------------------------
   6. HERO
   ----------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  background: linear-gradient(135deg, var(--color-white) 0%, var(--color-grey-light) 50%, rgba(var(--color-primary-rgb), 0.05) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(var(--color-primary-rgb), 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  background: rgba(var(--color-primary-rgb), 0.1);
  border: 1px solid rgba(var(--color-primary-rgb), 0.3);
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-md);
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
}

.hero h1 {
  margin-bottom: var(--space-md);
}

.hero-subtitle {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
  max-width: 560px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.hero-visual {
  display: none;
}

/* Hero geometric decoration */
.hero-decoration {
  position: absolute;
  bottom: 10%;
  right: 5%;
  width: 300px;
  height: 300px;
  opacity: 0.06;
  pointer-events: none;
}

/* -----------------------------------------
   7. SERVICES
   ----------------------------------------- */
.services {
  background: var(--color-white);
}

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

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-grey-light);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  transition: all var(--transition-base);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-md);
  color: var(--color-primary);
}

.service-card h3 {
  margin-bottom: var(--space-xs);
}

.service-card p {
  font-size: 0.9375rem;
}

/* -----------------------------------------
   8. CHIFFRES CLES
   ----------------------------------------- */
.stats {
  background: var(--color-dark);
  padding: var(--space-2xl) 0;
}

.stats .section-header h2 {
  color: var(--color-white);
}

.stats .section-header h2::after {
  background: var(--color-primary);
}

.stats .section-header p {
  color: var(--color-grey);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  text-align: center;
}

.stat-item {
  padding: var(--space-sm);
}

.stat-number {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-grey);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* -----------------------------------------
   9. SECTEURS
   ----------------------------------------- */
.sectors {
  background: var(--color-grey-light);
}

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

.sector-card {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  cursor: default;
}

.sector-card-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-light) 100%);
  transition: transform var(--transition-slow);
}

.sector-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  transition: opacity var(--transition-base);
}

.sector-card:hover .sector-card-bg img {
  opacity: 0.55;
}

.sector-card:hover .sector-card-bg {
  transform: scale(1.05);
}

.sector-card-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-md);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
}

.sector-card h3 {
  color: var(--color-white);
  font-size: 1.125rem;
  margin-bottom: var(--space-2xs);
}

.sector-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* -----------------------------------------
   10. REALISATIONS
   ----------------------------------------- */
.realisations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.realisation-card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.realisation-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.realisation-image {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-light) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.realisation-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.realisation-card:hover .realisation-image img {
  transform: scale(1.05);
}

.realisation-image svg {
  width: 48px;
  height: 48px;
  color: var(--color-primary);
  opacity: 0.5;
}

.realisation-body {
  padding: var(--space-md);
}

.realisation-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(var(--color-primary-rgb), 0.1);
  color: var(--color-primary-dark);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.realisation-card h3 {
  margin-bottom: var(--space-xs);
  font-size: 1.125rem;
}

.realisation-card p {
  font-size: 0.9375rem;
  margin-bottom: var(--space-sm);
}

.realisation-result {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  font-size: 0.9375rem;
}

.realisation-result svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* -----------------------------------------
   11. A PROPOS
   ----------------------------------------- */
.about {
  background: var(--color-grey-light);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}

.about-text p {
  margin-bottom: var(--space-sm);
  font-size: 1.0625rem;
}

.about-text .lead {
  font-size: 1.1875rem;
  color: var(--color-text);
  font-weight: 500;
}

.values-list {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.value-item {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.value-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(var(--color-primary-rgb), 0.1);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.value-icon svg {
  width: 20px;
  height: 20px;
}

.value-item h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.value-item p {
  font-size: 0.9375rem;
}

.about-journey {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

@media (min-width: 480px) {
  .about-journey {
    grid-template-columns: 1fr 1fr;
  }
}

.journey-card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-md);
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.journey-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.journey-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-light) 100%);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.journey-icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
}

.journey-label {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-dark);
  display: block;
  margin-bottom: 2px;
}

.journey-text p {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin: 0;
}

/* -----------------------------------------
   12. CONTACT
   ----------------------------------------- */
.contact-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--space-2xs);
  font-size: 0.9375rem;
  color: var(--color-text);
}

.form-group label .required {
  color: var(--color-error);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius-sm);
  font-size: 1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  background: var(--color-white);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.15);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--color-error);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-error {
  font-size: 0.8125rem;
  color: var(--color-error);
  margin-top: 0.25rem;
  display: none;
}

.form-error.visible {
  display: block;
}

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

.form-success {
  display: none;
  padding: var(--space-md);
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid var(--color-success);
  border-radius: var(--border-radius);
  text-align: center;
  color: var(--color-text);
}

.form-success.visible {
  display: block;
}

.form-success h3 {
  color: var(--color-success);
  margin-bottom: var(--space-xs);
}

.contact-info {
  order: -1;
}

.contact-info > p {
  font-size: 1.0625rem;
  margin-bottom: var(--space-lg);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-detail {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(var(--color-primary-rgb), 0.1);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.contact-detail-icon svg {
  width: 20px;
  height: 20px;
}

.contact-detail h4 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-grey-dark);
  margin-bottom: 0.125rem;
}

.contact-detail p,
.contact-detail a {
  font-size: 1rem;
  color: var(--color-text);
}

.contact-detail a:hover {
  color: var(--color-primary-dark);
}

/* -----------------------------------------
   13. FOOTER
   ----------------------------------------- */
.footer {
  background: var(--color-dark);
  padding: var(--space-2xl) 0 var(--space-lg);
  color: var(--color-grey);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-brand .logo {
  margin-bottom: var(--space-sm);
}

.footer-brand .logo-text {
  color: var(--color-white);
}

.footer-brand p {
  font-size: 0.9375rem;
  color: var(--color-grey);
  max-width: 300px;
}

.footer-links h4,
.footer-legal h4 {
  color: var(--color-white);
  font-size: 0.9375rem;
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links ul,
.footer-legal ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a,
.footer-legal a {
  font-size: 0.9375rem;
  color: var(--color-grey);
  transition: color var(--transition-fast);
}

.footer-links a:hover,
.footer-legal a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-md);
  text-align: center;
  font-size: 0.875rem;
}

/* -----------------------------------------
   14. ANIMATIONS
   ----------------------------------------- */
[data-animate] {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate="fade-up"] {
  transform: translateY(30px);
}

[data-animate="fade-in"] {
  transform: none;
}

[data-animate="fade-left"] {
  transform: translateX(30px);
}

[data-animate="fade-right"] {
  transform: translateX(-30px);
}

[data-animate].animate-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Hero animations */
.hero-content > * {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 0.6s ease forwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -----------------------------------------
   15. MEDIA QUERIES
   ----------------------------------------- */

/* Tablet */
@media (min-width: 768px) {
  .section {
    padding: var(--space-3xl) 0;
  }

  .container {
    padding: 0 2rem;
  }

  .hero-cta {
    flex-direction: row;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

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

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .contact-info {
    order: 0;
  }

  .contact-content {
    grid-template-columns: 1fr 1fr;
  }

  .footer-content {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    width: auto;
    max-width: none;
    height: auto;
    background: transparent;
    padding: 0;
    box-shadow: none;
    flex-direction: row;
    gap: var(--space-lg);
    align-items: center;
  }

  .nav-link {
    padding: 0.5rem 0;
    font-size: 0.9375rem;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-base);
  }

  .nav-link:hover::after,
  .nav-link.active::after {
    width: 100%;
  }

  .nav-cta {
    display: inline-flex;
  }

  .nav-overlay {
    display: none;
  }

  .hero .container {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
  }

  .hero-content {
    flex: 1;
  }

  .hero-visual {
    display: flex;
    flex: 0 0 45%;
    justify-content: center;
    align-items: center;
  }

  .hero-visual-graphic {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
    position: relative;
  }

  .hero-ring {
    position: absolute;
    border: 2px solid rgba(var(--color-primary-rgb), 0.15);
    border-radius: 50%;
    animation: ringPulse 4s ease-in-out infinite;
  }

  .hero-ring:nth-child(1) {
    inset: 0;
    animation-delay: 0s;
  }

  .hero-ring:nth-child(2) {
    inset: 15%;
    animation-delay: 0.5s;
  }

  .hero-ring:nth-child(3) {
    inset: 30%;
    animation-delay: 1s;
    border-color: rgba(var(--color-primary-rgb), 0.25);
  }

  .hero-ring-center {
    position: absolute;
    inset: 40%;
    background: rgba(var(--color-primary-rgb), 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-ring-center svg {
    width: 48px;
    height: 48px;
    color: var(--color-primary);
  }

  @keyframes ringPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.03); }
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .sectors-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .realisations-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-content {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

/* Large desktop */
@media (min-width: 1440px) {
  .container {
    padding: 0 3rem;
  }

  .services-grid {
    gap: var(--space-xl);
  }
}

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* -----------------------------------------
   LEGAL PAGES
   ----------------------------------------- */
.legal-page {
  padding-top: calc(var(--header-height) + var(--space-3xl));
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-xs);
  border-bottom: 2px solid var(--color-primary);
}

.legal-content p {
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

.legal-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: var(--space-md);
}

.legal-content ul li {
  color: var(--color-text-light);
  line-height: 1.8;
  padding-left: var(--space-md);
  position: relative;
}

.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
}

.legal-content a {
  color: var(--color-primary-dark);
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.legal-content a:hover {
  color: var(--color-primary);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-md);
}

.legal-table th,
.legal-table td {
  padding: var(--space-sm);
  text-align: left;
  border: 1px solid #e0e0e0;
  color: var(--color-text-light);
  line-height: 1.6;
}

.legal-table th {
  background: var(--color-dark);
  color: var(--color-white);
  font-weight: 600;
}

/* -----------------------------------------
   COOKIE BANNER
   ----------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--color-dark);
  border-top: 2px solid var(--color-primary);
  padding: var(--space-md) var(--space-sm);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.cookie-banner-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
  flex: 1;
  min-width: 250px;
}

.cookie-banner-content a {
  color: var(--color-primary);
  text-decoration: underline;
}

.cookie-banner-content a:hover {
  color: var(--color-primary-light);
}

.cookie-banner-actions {
  flex-shrink: 0;
}

.btn-sm {
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
}
