:root {
  --accent: #e0722a;
  --accent-light: #f1a06b;
  --text-dark: #333333;
  --bg-light: #ffffff;
  --bg-offwhite: #f2f2f2;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
  background-color: var(--bg-light);
}

#dynamic-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

#dynamic-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.75);
}

/* HERO SECTION */
.hero {
  position: relative;
  min-height: 360px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  padding: 20px 20px 0px;
  color: #ffffff;
}

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

.logo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffffff;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.subtitle {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--text-dark);
  opacity: 0.85;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* SOCIAL ICONS */
.socials {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 20px;
}

.social-icon {
  position: relative;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-dark);
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
  color: var(--accent);
}

.social-icon .icon-default {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  transition: opacity 0.3s ease;
  position: absolute;
  top: 0;
  left: 0;
}

.social-icon .icon-hover {
  font-size: 1.8rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icon:hover .icon-default {
  opacity: 0;
}

.social-icon:hover .icon-hover {
  opacity: 1;
}

.scroll-indicator {
  margin-top: 20px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* GALLERY SECTION */
.gallery-section {
  position: relative;
  z-index: 1;
  padding: 40px 5% 100px;
}

.gallery-section > h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.0rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 160px);
  justify-content: center;
  gap: 15px;
  max-width: 1035px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  width: 160px;
  height: 200px;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid #eee;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-item:hover img {
  filter: brightness(0.9);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  pointer-events: none;
}

.gallery-item:hover::after {
  border-color: var(--accent);
}

/* FOOTER */
footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
  background-color: var(--bg-offwhite);
  color: #777;
  font-size: 0.85rem;
  letter-spacing: 1px;
  border-top: 1px solid #eee;
}

footer .footer-socials {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
}

footer .footer-socials a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 600;
}

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

/* RESPONSIVE */
@media (max-width: 990px) {
  .logo {
    width: 110px;
    height: 110px;
  }
}

/* Protection anti-téléchargement des images */
img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}

/* INTRODUCTION AND SERVICES */
.intro {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 5% 0px;
  text-align: center;
}

.intro h2,
.services h2 {
  margin-bottom: 16px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dark);
}

.intro p {
  line-height: 1.4;
}

.intro-divider {
  width: 48px;
  height: 2px;
  margin: 0 auto 20px;
  background-color: var(--accent);
 
}

.services {
  position: relative;
  z-index: 1;
  padding: 40px 5% 64px;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  max-width: 1035px;
  margin: 0 auto;
}

.service-card {
  padding: 28px 20px;
  background-color: var(--bg-light);
  border: 1px solid #eee;
  border-top: 2px solid var(--accent);
  text-align: center;
}

.service-card h3 {
  margin: 12px 0 8px;
  color: var(--text-dark);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.service-card p {
  font-size: 0.9rem;
  line-height: 1.5;
}

.icon-emoji {
  display: inline-block;
  font-size: 1.8rem;
  line-height: 1;
}

@media (max-width: 700px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .scroll-indicator {
    animation: none;
  }

  .social-icon,
  .social-icon .icon-default,
  .social-icon .icon-hover {
    transition: none;
  }
}
