/**
 * Main Stylesheet
 * Landing Page - Guillaume de Laroque
 * Consultant en Transformation Organisationnelle
 *
 * Mobile-first responsive design approach
 */

/* ===========================================
   CSS RESET / NORMALIZE
   Modern CSS reset for consistent cross-browser styling
   =========================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Remove default list styles */
ul,
ol {
  list-style: none;
}

/* Prevent font size inflation on mobile */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  line-height: var(--line-height-normal);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-dark);
  background-color: var(--background-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Remove default button styles */
button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Remove default anchor styles */
a {
  color: inherit;
  text-decoration: none;
}

/* Make images easier to work with */
img,
picture,
svg {
  display: block;
  max-width: 100%;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
}

/* ===========================================
   BASE TYPOGRAPHY
   Headings, paragraphs, and text styles
   =========================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--text-dark);
  text-wrap: balance;
}

h1 {
  font-size: var(--text-4xl);
}

h2 {
  font-size: var(--text-3xl);
}

h3 {
  font-size: var(--text-2xl);
}

h4 {
  font-size: var(--text-xl);
}

h5 {
  font-size: var(--text-lg);
}

h6 {
  font-size: var(--text-base);
}

p {
  line-height: var(--line-height-relaxed);
  color: var(--text-medium);
}

strong {
  font-weight: var(--font-weight-semibold);
  color: var(--text-dark);
}

/* Responsive typography - larger screens */
@media (min-width: 768px) {
  h1 {
    font-size: var(--text-5xl);
  }

  h2 {
    font-size: var(--text-4xl);
  }

  h3 {
    font-size: var(--text-3xl);
  }
}

/* ===========================================
   LAYOUT - CONTAINER
   Responsive container with max-width constraints
   =========================================== */

.container {
  width: 100%;
  max-width: var(--container-xl);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}

/* Narrower container for text-heavy content */
.container--narrow {
  max-width: var(--container-md);
}

/* Wide container for full-width sections */
.container--wide {
  max-width: var(--container-max);
}

/* ===========================================
   LAYOUT - SECTIONS
   Base section styling with consistent padding
   =========================================== */

section {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
}

/* Alternating section backgrounds */
section:nth-of-type(even) {
  background-color: var(--background-light);
}

/* Section headers (common pattern) */
section header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

section header h2 {
  margin-bottom: var(--space-sm);
}

section header p {
  font-size: var(--text-lg);
  color: var(--text-light);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===========================================
   LAYOUT - GRID SYSTEM
   Flexible grid utilities for card layouts
   =========================================== */

.grid {
  display: grid;
  gap: var(--space-lg);
}

/* Single column on mobile (default) */
.grid--cols-2,
.grid--cols-3,
.grid--cols-4 {
  grid-template-columns: 1fr;
}

/* Two columns on tablet and up */
@media (min-width: 640px) {
  .grid--cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Three columns on desktop */
@media (min-width: 1024px) {
  .grid--cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid--cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===========================================
   LAYOUT - FLEXBOX UTILITIES
   Common flexbox patterns
   =========================================== */

.flex {
  display: flex;
}

.flex--center {
  justify-content: center;
  align-items: center;
}

.flex--between {
  justify-content: space-between;
  align-items: center;
}

.flex--column {
  flex-direction: column;
}

.flex--wrap {
  flex-wrap: wrap;
}

.flex--gap-sm {
  gap: var(--space-sm);
}

.flex--gap-md {
  gap: var(--space-md);
}

.flex--gap-lg {
  gap: var(--space-lg);
}

/* ===========================================
   BUTTONS - BASE STYLES
   Reusable button component
   =========================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-weight-medium);
  line-height: 1;
  text-align: center;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn:focus-visible {
  outline: 3px solid var(--primary-dark);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(10, 147, 150, 0.25);
}

/* Primary button - filled with brand color */
.btn--primary {
  background-color: var(--primary-color);
  color: var(--background-white);
  border-color: var(--primary-color);
}

.btn--primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

/* Secondary button - outlined */
.btn--secondary {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn--secondary:hover {
  background-color: var(--primary-color);
  color: var(--background-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--secondary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

/* Primary light button - for dark backgrounds */
.btn--primary-light {
  background-color: var(--banner-orange);
  color: var(--banner-dark);
  border-color: var(--banner-orange);
}

.btn--primary-light:hover {
  background-color: #d4952e;
  border-color: #d4952e;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--primary-light:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

/* Outline light button - for dark backgrounds */
.btn--outline-light {
  background-color: transparent;
  color: var(--background-white);
  border-color: var(--background-white);
}

.btn--outline-light:hover {
  background-color: var(--background-white);
  color: var(--banner-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Large button variant */
.btn--large {
  padding: var(--space-md) var(--space-xl);
  font-size: var(--text-lg);
}

/* Button icon styling */
.btn__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.btn--large .btn__icon {
  width: 24px;
  height: 24px;
}

/* ===========================================
   LINKS - BASE STYLES
   Standard link styling with hover states
   =========================================== */

.link {
  color: var(--primary-color);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

.link:hover {
  color: var(--primary-dark);
}

.link:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 3px;
}

/* ===========================================
   UTILITY CLASSES
   Helper classes for common patterns
   =========================================== */

/* Screen reader only - visually hidden but accessible */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Text alignment */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

/* Spacing utilities */
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

/* Color utilities */
.text-primary {
  color: var(--primary-color);
}

.text-dark {
  color: var(--text-dark);
}

.text-medium {
  color: var(--text-medium);
}

.text-light {
  color: var(--text-light);
}

/* Background utilities */
.bg-white {
  background-color: var(--background-white);
}

.bg-light {
  background-color: var(--background-light);
}

.bg-accent {
  background-color: var(--background-accent);
}

.bg-primary {
  background-color: var(--primary-color);
}

/* ===========================================
   ANIMATION CLASSES
   For scroll-triggered animations (used with JS)
   =========================================== */

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fade in animation */
.fade-in {
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.fade-in.visible {
  opacity: 1;
}

/* Slide up animation */
.slide-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.slide-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation delay for children */
.stagger-children > *:nth-child(1) { transition-delay: 0ms; }
.stagger-children > *:nth-child(2) { transition-delay: 100ms; }
.stagger-children > *:nth-child(3) { transition-delay: 200ms; }
.stagger-children > *:nth-child(4) { transition-delay: 300ms; }
.stagger-children > *:nth-child(5) { transition-delay: 400ms; }

/* ===========================================
   SKIP LINK
   Accessibility skip navigation link
   =========================================== */

.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  padding: var(--space-sm) var(--space-lg);
  background-color: var(--primary-color);
  color: var(--background-white);
  font-weight: var(--font-weight-semibold);
  font-size: var(--text-base);
  text-decoration: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-md);
  outline: 3px solid var(--primary-dark);
  outline-offset: 2px;
}

/* ===========================================
   FOCUS STYLES
   Accessible focus indicators (WCAG 2.1 Level AA)
   =========================================== */

:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 3px;
}

/* Remove focus outline for mouse users */
:focus:not(:focus-visible) {
  outline: none;
}

/* Enhanced focus styles for specific elements */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 3px;
}

/* High contrast focus for dark backgrounds */
.footer a:focus-visible,
.footer button:focus-visible {
  outline-color: var(--primary-light);
}

/* ===========================================
   SELECTION STYLES
   Custom text selection styling
   =========================================== */

::selection {
  background-color: var(--primary-light);
  color: var(--text-dark);
}

::-moz-selection {
  background-color: var(--primary-light);
  color: var(--text-dark);
}

/* ===========================================
   HEADER / NAVIGATION
   Fixed navigation bar with mobile menu toggle
   =========================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  background-color: var(--banner-dark);
  box-shadow: none;
  transition: box-shadow var(--transition-normal), background-color var(--transition-normal);
}

/* Header scrolled state - enhanced shadow */
.header--scrolled {
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

/* Navigation Logo */
.nav__logo {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--background-white);
  transition: color var(--transition-fast);
}

.nav__logo:hover {
  color: var(--banner-orange);
}

.nav__logo-text {
  white-space: nowrap;
}

/* Navigation List - Mobile (hidden by default) */
.nav__list {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background-color: var(--banner-dark);
  flex-direction: column;
  align-items: center;
  padding: var(--space-lg) 0;
  gap: var(--space-md);
  box-shadow: var(--shadow-lg);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--transition-normal), opacity var(--transition-normal), visibility var(--transition-normal);
}

/* Mobile menu open state */
.nav__list--open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.nav__item {
  width: 100%;
  text-align: center;
}

.nav__link {
  display: block;
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-weight-medium);
  color: var(--banner-text-light);
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.nav__link:hover,
.nav__link:focus {
  color: var(--background-white);
  background-color: rgba(255, 255, 255, 0.1);
}

.nav__link--active {
  color: var(--banner-orange);
}

/* Mobile Menu Toggle Button */
.nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: var(--space-sm);
  cursor: pointer;
  z-index: var(--z-fixed);
}

.nav__toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--background-white);
  border-radius: var(--radius-full);
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

/* Hamburger to X animation */
.nav__toggle--active .nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle--active .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav__toggle--active .nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Desktop Navigation - 768px and up */
@media (min-width: 768px) {
  .nav {
    height: 80px;
  }

  .nav__logo {
    font-size: var(--text-xl);
  }

  .nav__list {
    position: static;
    display: flex;
    flex-direction: row;
    transform: none;
    opacity: 1;
    visibility: visible;
    padding: 0;
    gap: var(--space-sm);
    background-color: transparent;
    box-shadow: none;
  }

  .nav__item {
    width: auto;
  }

  .nav__link {
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
  }

  .nav__link:hover,
  .nav__link:focus {
    background-color: rgba(255, 255, 255, 0.1);
  }

  /* Hide mobile toggle on desktop */
  .nav__toggle {
    display: none;
  }
}

/* ===========================================
   HERO SECTION
   Main landing section with profile and CTA
   =========================================== */

.hero {
  position: relative;
  padding-top: calc(70px + var(--space-3xl));
  padding-bottom: var(--space-3xl);
  background-color: var(--banner-dark);
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Hero Decorative Arcs */
.hero__arcs {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero__arcs svg {
  width: 100%;
  height: 100%;
}

/* Hero Logo */
.hero__logo {
  margin-bottom: var(--space-xl);
}

.hero__logo-img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1); /* Make logo white on dark background */
}

@media (min-width: 768px) {
  .hero__logo-img {
    height: 50px;
  }
}

/* Hero Bottom Line */
.hero__bottom-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--banner-orange);
}

/* Adjust hero padding for fixed header height on desktop */
@media (min-width: 768px) {
  .hero {
    padding-top: calc(80px + var(--space-4xl));
    padding-bottom: var(--space-4xl);
  }
}

.hero__container {
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero__content {
  max-width: 900px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--background-white);
  margin-bottom: var(--space-lg);
  line-height: var(--line-height-tight);
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-weight-normal);
  color: var(--banner-text-light);
  margin-bottom: var(--space-xl);
  line-height: var(--line-height-relaxed);
  max-width: 700px;
}

/* Hero CTA Text (orange tagline) */
.hero__cta-text {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--font-weight-semibold);
  font-style: italic;
  color: var(--banner-orange);
  margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
  .hero__cta-text {
    font-size: var(--text-xl);
  }
}

/* Hero Buttons */
.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.hero__buttons .btn {
  white-space: nowrap;
}

/* Tablet - 640px and up */
@media (min-width: 640px) {
  .hero__title {
    font-size: var(--text-4xl);
  }

  .hero__subtitle {
    font-size: var(--text-lg);
    max-width: 550px;
  }
}

/* Desktop - 768px and up */
@media (min-width: 768px) {
  .hero__title {
    font-size: var(--text-5xl);
  }

  .hero__subtitle {
    font-size: var(--text-xl);
    max-width: 800px;
  }
}

/* Large Desktop - 1024px and up */
@media (min-width: 1024px) {
  .hero {
    min-height: calc(100vh - 80px);
  }

  .hero__content {
    max-width: 1000px;
  }
}

/* Extra Large Desktop - 1280px and up */
@media (min-width: 1280px) {
  .hero__content {
    max-width: 1100px;
  }
}

/* ===========================================
   EXPERTISE SECTION
   Cards showcasing core competencies
   =========================================== */

.expertise {
  background-color: var(--background-light);
}

.expertise__container {
  width: 100%;
}

/* Expertise Header */
.expertise__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.expertise__title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
}

.expertise__subtitle {
  font-size: var(--text-lg);
  color: var(--text-light);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Expertise Grid - Responsive card layout */
.expertise__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

/* Expertise Card */
.expertise__card {
  background-color: var(--background-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.expertise__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Card Icon */
.expertise__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background-color: var(--background-accent);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
  color: var(--primary-color);
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

.expertise__card:hover .expertise__card-icon {
  background-color: var(--primary-color);
  color: var(--background-white);
}

.expertise__card-icon svg {
  width: 40px;
  height: 40px;
}

/* Card Title */
.expertise__card-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
  line-height: var(--line-height-tight);
}

/* Card Description */
.expertise__card-description {
  font-size: var(--text-base);
  color: var(--text-medium);
  line-height: var(--line-height-relaxed);
}

/* Tablet - 640px and up: 2 columns */
@media (min-width: 640px) {
  .expertise__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Center the 5th card on tablet (takes full width of one column) */
  .expertise__card:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - var(--space-md));
    justify-self: center;
  }

  .expertise__title {
    font-size: var(--text-4xl);
  }
}

/* Desktop - 768px and up */
@media (min-width: 768px) {
  .expertise__header {
    margin-bottom: var(--space-3xl);
  }

  .expertise__card {
    padding: var(--space-2xl);
  }

  .expertise__card-icon {
    width: 90px;
    height: 90px;
  }

  .expertise__card-icon svg {
    width: 44px;
    height: 44px;
  }

  .expertise__card-title {
    font-size: var(--text-xl);
  }
}

/* Large Desktop - 1024px and up: 3 columns */
@media (min-width: 1024px) {
  .expertise__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }

  /* Reset the last card centering - let it flow naturally in 3-col grid */
  .expertise__card:last-child {
    grid-column: auto;
    max-width: none;
    justify-self: auto;
  }

  /* Center last row with 2 cards (cards 4 and 5) */
  .expertise__grid {
    justify-items: center;
  }

  .expertise__card {
    width: 100%;
  }
}

/* ===========================================
   SECTEURS SECTION
   Target audience/industry cards
   =========================================== */

.secteurs__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.secteur__card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background-color: var(--background-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.secteur__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.secteur__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background-color: var(--background-accent);
  border-radius: var(--radius-md);
  color: var(--primary-color);
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

.secteur__card:hover .secteur__icon {
  background-color: var(--primary-color);
  color: var(--background-white);
}

.secteur__content {
  flex: 1;
}

.secteur__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--text-dark);
  margin-bottom: var(--space-xs);
}

.secteur__description {
  font-size: var(--text-base);
  color: var(--text-medium);
  line-height: var(--line-height-relaxed);
}

/* Tablet - 640px and up */
@media (min-width: 640px) {
  .secteurs__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .secteur__card:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - var(--space-md));
    justify-self: center;
  }
}

/* Desktop - 1024px and up */
@media (min-width: 1024px) {
  .secteurs__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .secteur__card:last-child {
    grid-column: auto;
    max-width: none;
    justify-self: auto;
  }
}

/* ===========================================
   ABOUT SECTION
   Company information and professional background
   =========================================== */

.about {
  background-color: var(--background-white);
}

.about__container {
  width: 100%;
}

/* About Header */
.about__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.about__title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
}

.about__subtitle {
  font-size: var(--text-lg);
  color: var(--text-light);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* About Content Layout */
.about__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

/* About Text */
.about__text {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.about__paragraph {
  font-size: var(--text-base);
  color: var(--text-medium);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-md);
}

.about__paragraph:last-child {
  margin-bottom: 0;
}

.about__paragraph strong {
  color: var(--primary-color);
  font-weight: var(--font-weight-semibold);
}

.about__paragraph--light {
  color: var(--text-light);
  font-size: var(--text-sm);
}

/* About Stats - Metrics display */
.about__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  justify-content: center;
}

.about__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-lg);
  background-color: var(--background-light);
  border-radius: var(--radius-lg);
  min-width: 140px;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.about__stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.about__stat-value {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--primary-color);
  margin-bottom: var(--space-xs);
}

.about__stat-label {
  font-size: var(--text-sm);
  color: var(--text-light);
}

/* About Highlights - Key metrics/info */
.about__highlights {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  align-items: center;
}

.about__highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-lg);
  background-color: var(--background-light);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 280px;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.about__highlight:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.about__highlight-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background-color: var(--background-accent);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
  color: var(--primary-color);
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

.about__highlight:hover .about__highlight-icon {
  background-color: var(--primary-color);
  color: var(--background-white);
}

.about__highlight-icon svg {
  width: 28px;
  height: 28px;
}

.about__highlight-value {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
  color: var(--text-dark);
  margin-bottom: var(--space-xs);
}

.about__highlight-label {
  font-size: var(--text-sm);
  color: var(--text-light);
}

/* Tablet - 640px and up: Highlights in row */
@media (min-width: 640px) {
  .about__highlights {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-lg);
  }

  .about__highlight {
    flex: 1 1 auto;
    max-width: 260px;
  }

  .about__title {
    font-size: var(--text-4xl);
  }

  .about__paragraph {
    font-size: var(--text-lg);
  }
}

/* Desktop - 768px and up */
@media (min-width: 768px) {
  .about__header {
    margin-bottom: var(--space-3xl);
  }

  .about__content {
    gap: var(--space-3xl);
  }

  .about__text {
    max-width: 800px;
  }

  .about__highlight {
    padding: var(--space-xl);
  }

  .about__highlight-icon {
    width: 64px;
    height: 64px;
  }

  .about__highlight-icon svg {
    width: 32px;
    height: 32px;
  }

  .about__highlight-value {
    font-size: var(--text-2xl);
  }
}

/* Large Desktop - 1024px and up */
@media (min-width: 1024px) {
  .about__highlights {
    gap: var(--space-xl);
  }

  .about__highlight {
    max-width: 300px;
  }
}

/* ===========================================
   CONTACT SECTION
   Call-to-action for contacting
   =========================================== */

.contact {
  background-color: var(--background-light);
}

.contact__container {
  width: 100%;
  text-align: center;
}

/* Contact Header */
.contact__header {
  margin-bottom: var(--space-2xl);
}

.contact__title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--text-dark);
  margin-bottom: var(--space-md);
}

.contact__subtitle {
  font-size: var(--text-base);
  color: var(--text-medium);
  line-height: var(--line-height-relaxed);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact CTA Buttons */
.contact__cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.contact__cta .btn {
  width: 100%;
  justify-content: center;
}

/* Tablet - 640px and up */
@media (min-width: 640px) {
  .contact__cta {
    flex-direction: row;
    justify-content: center;
    max-width: none;
  }

  .contact__cta .btn {
    width: auto;
  }

  .contact__title {
    font-size: var(--text-4xl);
  }

  .contact__subtitle {
    font-size: var(--text-lg);
  }
}

/* Desktop - 768px and up */
@media (min-width: 768px) {
  .contact__header {
    margin-bottom: var(--space-3xl);
  }

  .contact__subtitle {
    max-width: 700px;
  }
}

/* ===========================================
   FOOTER
   Site footer with branding and links
   =========================================== */

.footer {
  background-color: var(--text-dark);
  color: var(--background-light);
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-lg);
}

.footer__container {
  width: 100%;
}

/* Footer Content - Main section */
.footer__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: var(--space-lg);
}

/* Footer Brand */
.footer__brand {
  text-align: center;
}

.footer__logo {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--background-white);
  margin-bottom: var(--space-xs);
}

.footer__tagline {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.8); /* Improved contrast on dark background */
}

/* Footer Social Links */
.footer__links {
  display: flex;
  gap: var(--space-md);
}

.footer__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: var(--background-white);
  transition: background-color var(--transition-normal), color var(--transition-normal), transform var(--transition-normal);
}

.footer__link:hover {
  background-color: var(--primary-color);
  color: var(--background-white);
  transform: translateY(-2px);
}

.footer__link:focus-visible {
  outline: 3px solid var(--primary-light);
  outline-offset: 3px;
}

.footer__link svg {
  width: 20px;
  height: 20px;
}

/* Footer Bottom - Copyright and location */
.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-align: center;
}

.footer__copyright {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.85); /* Improved contrast on dark background */
}

.footer__copyright a {
  color: var(--primary-light);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

.footer__copyright a:hover {
  color: var(--background-white);
}

.footer__location {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.75); /* Improved contrast on dark background */
}

.footer__location svg {
  flex-shrink: 0;
}

/* Tablet - 640px and up */
@media (min-width: 640px) {
  .footer__content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer__brand {
    text-align: left;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Desktop - 768px and up */
@media (min-width: 768px) {
  .footer {
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-xl);
  }

  .footer__content {
    padding-bottom: var(--space-2xl);
    margin-bottom: var(--space-xl);
  }

  .footer__logo {
    font-size: var(--text-2xl);
  }

  .footer__link {
    width: 48px;
    height: 48px;
  }

  .footer__link svg {
    width: 22px;
    height: 22px;
  }
}

/* ===========================================
   ACCESSIBILITY ENHANCEMENTS
   Additional styles for improved accessibility
   =========================================== */

/* Ensure minimum touch target size (44x44px) */
.nav__link,
.btn,
.footer__link {
  min-height: 44px;
  min-width: 44px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #007a7d;
    --text-medium: #333333;
    --text-light: #4a4a4a;
  }

  .btn--primary {
    border: 2px solid #000;
  }

  .btn--secondary {
    border-width: 3px;
  }

  :focus-visible {
    outline-width: 4px;
  }
}

/* Ensure links in text are distinguishable */
p a,
.about__paragraph a,
.footer__copyright a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Improved active state for interactive elements */
.btn:active,
.nav__link:active,
.footer__link:active {
  transform: scale(0.98);
}

/* Ensure card hover states don't rely solely on transform */
.expertise__card:focus-within,
.about__highlight:focus-within {
  box-shadow: var(--shadow-lg);
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Screen reader announcements helper */
[aria-live] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
