
body {
  margin: 0;
  font-family: sans-serif;
  background: #17183B;
  color: white;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em;
  background: #17183B;
  position: sticky;
  top: 0;
}

nav a {
  color: white;
  margin-left: 1em;
  text-decoration: none;
}

.hero {
  padding: 6em 2em;
  text-align: center;
  background: url('background_hero.jpg') no-repeat center center;
  background-size: cover;
  color: white;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(23, 24, 59, 0.6);
  z-index: 0;
}

.hero h1, .hero p {
  position: relative;
  z-index: 1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.2s ease-out forwards;
}

.hero h1 {
  animation-delay: 0.2s;
}

.hero p {
  animation-delay: 0.6s;
}

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

section {
  padding: 2em;
}

footer {
  text-align: center;
  padding: 2em;
  background: #17183B;
}

img {
  vertical-align: middle;
  height: 20px;
  margin-right: 0.5em;
}


.linkedin-link span {
  margin-left: 0.5em;
  vertical-align: middle;
}


/* Liens e-mail et LinkedIn au survol */
.email-link,
.linkedin-link span {
  color: white;
  text-decoration: none;
}

.email-link:hover,
.linkedin-link:hover span {
  color: #F0803C;
}


.email-link,
.linkedin-link {
  color: white;
  text-decoration: none;
}

.email-link:hover,
.linkedin-link:hover {
  color: #F0803C;
}

.linkedin-link {
  
}


html {
  scroll-behavior: smooth;
}

nav a.active {
  border-bottom: 2px solid #F0803C;
}


nav a {
  color: white;
  margin-left: 1em;
  text-decoration: none;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #F0803C;
}

.navbar {
  z-index: 1000;
}


/* Active nav link highlight (except Accueil) */
nav a.active:not([href="#accueil"]) {
  border-bottom: 2px solid #F0803C;
}



.hero h1 {
  font-size: clamp(1.5rem, 5vw, 4rem);
  text-align: center;
  white-space: normal;
  word-break: break-word;
  overflow: visible;
}


.hero p {
  font-size: clamp(1rem, 2.5vw, 2rem);
  text-align: center;
  white-space: normal;
  word-break: break-word;
  overflow: visible;
}


.hero h1 {
  color: #F0803C;
}


#services h2,
#contact h2 {
  color: #F0803C;
}


#services p {
  text-align: left;
  margin: 0.5em 0;
}


#services h2,
#contact h2 {
  text-align: center;
}


.services-row {
  display: flex;
  justify-content: space-around;
  text-align: center;
  gap: 1em;
  margin-top: 1em;
  flex-wrap: wrap;
}

.services-row div {
  flex: 1 1 200px;
  padding: 1em;
  color: white;
}


.contact-row {
  display: flex;
  justify-content: space-around;
  text-align: center;
  gap: 1em;
  margin-top: 1em;
  flex-wrap: wrap;
}

.contact-row div {
  flex: 1 1 200px;
  padding: 1em;
  color: white;
}


.contact-row {
  display: flex;
  justify-content: space-around;
  text-align: center;
  gap: 1em;
  margin-top: 1em;
  flex-wrap: wrap;
}

.contact-row div {
  flex: 1 1 200px;
  padding: 1em;
}


.hero h1,
.hero p {
  font-variant: small-caps;
}


#services h2,
#contact h2 {
  font-variant: small-caps;
}


.services-intro {
  text-align: center;
  font-style: italic;
  margin-bottom: 1em;
}


.services-intro {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 1em;
  color: white;
}


/* Correction du style pour la phrase d'intro des services */
.services-intro {
  font-style: normal;
  font-size: 1rem;
}


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


.services-row div {
  font-variant: small-caps;
}


.services-intro {
  display: block;
  width: 100%;
  text-align: center;
}


.services-intro {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  display: block;
}


.services-intro {
  margin-left: auto;
  margin-right: auto;
  display: table;
}


.services-intro {
  width: 100%;
  text-align: center !important;
  margin: 0 auto;
  display: block;
}


.services-row div {
  font-size: 1.5rem;
}


.services-row div {
  font-size: 1.5rem;
}


#services h2,
#contact h2 {
  font-size: 2.25rem;
}


#services h2,
#contact h2 {
  font-size: 2.25rem;
}


/* Réduction de taille à 0.75x */
#services h2,
#contact h2 {
  font-size: 1.125rem; /* 1.5rem x 0.75 */
}

.services-row div {
  font-size: 1.125rem; /* 1.5rem x 0.75 */
}
