/* Fondations : reset et styles globaux */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
  font-family: var(--font-family-body);
  color: var(--color-text-bright);
  line-height: 1.6;
  background-color: #e3f4e7;
  background-image: var(--gradient-page);
  background-size: 32px 32px, 100% 100%;
  background-attachment: scroll, fixed;
}

[hidden] {
  display: none !important;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-body);
}

::-webkit-scrollbar-thumb {
  background: var(--color-primary-line);
  border: 2px solid var(--color-bg-body);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(30, 77, 59, 0.25);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-family-headings);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-primary-dark);
}

h2 {
  margin-bottom: 16px;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

section {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 120px 24px;
}

:is(
  .header-container,
  .hero-container,
  .metrics-container,
  .services-grid,
  .specialites-grid,
  .interactive-container,
  .contact-container,
  .footer-container,
  .footer-bottom
) {
  max-width: var(--container);
  margin-inline: auto;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 72px;
  text-align: center;
}

.section-subtitle {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 14px;
  border: 1px solid rgba(166, 196, 162, 0.25);
  border-radius: 30px;
  background-color: rgba(166, 196, 162, 0.12);
  color: var(--color-primary);
  font-family: var(--font-family-headings);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.section-header p {
  font-size: 1.15rem;
}
