/* ============================================
   RESET CSS - RÉINITIALISATION DES STYLES
   ============================================ */

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

/* ============================================
     TYPOGRAPHY - CONFIGURATION DES POLICES
     ============================================ */

body {
  background: var(--bg-primary);
  min-height: 100vh;
}

h1,
h2,
h3,
h4 {
  font-family: "helvetica-lt-pro", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-stretch: normal;
}

p,
a,
li,
button,
label,
input {
  font-family: "ff-tisa-sans-web-pro", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-stretch: normal;
  font-size: 16px;
}

li {
  list-style: none;
}

/* ============================================
     SCROLLBAR
     ============================================ */

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

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #25252580;
}

::-webkit-scrollbar-thumb:hover {
  background: #252525;
}

/* ============================================
     BACKGROUND - FOND DE PAGE
     ============================================ */

.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  opacity: 1;
  background-image:
    var(--dot-pattern),
    linear-gradient(to bottom, var(--bg-dot-gradient) 0%, transparent 100%);
  background-size:
    8px 8px,
    100% 100%;
  background-position:
    0 0,
    0 0;
  background-repeat: repeat, no-repeat;
}

/* ============================================
     HEADER
     ============================================ */

.header {
  position: fixed;
  width: 100%;
  height: auto;
  z-index: 1000;
  background: var(--bg-secondary);
  border-bottom: 2px solid var(--border-color);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 12px 160px;
  position: relative;
}

.logo-container {
  width: 104px;
  height: auto;
  margin: 0;
  display: flex;
  justify-content: center;
}

.logo-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.burger-button {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
}

.burger-icon {
  position: relative;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  transition: all 0.3s ease;
}

.burger-icon::before,
.burger-icon::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  transition: all 0.3s ease;
}

.burger-icon::before {
  top: -8px;
}

.burger-icon::after {
  top: 8px;
}

.burger-button.burger-open .burger-icon {
  background-color: transparent;
}

.burger-button.burger-open .burger-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.burger-button.burger-open .burger-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-item-li {
  width: 80px;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px;
  background-color: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    transform 0.15s ease;
}

.nav-item-li:hover {
  background-color: var(--bg-card-secondary);
}

.nav-item-li:hover .nav-item {
  color: var(--text-hover);
}

.nav-item {
  width: 80px;
  font-size: 16px;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-button {
  display: inline;
  text-decoration: none;
  background-color: var(--button-primary);
  color: var(--text-button);
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  font-size: 16px;
  transition:
    background-color 0.15s ease,
    transform 0.15s ease;
}

.cta-button:hover {
  background-color: var(--button-hover);
  color: var(--text-button-hover);
}

.cta-button img {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  object-fit: contain;
}

.theme-toggle {
  color: var(--item-color);
  padding: 8px;
  border-radius: 50%;
  border: none;
  background-color: var(--bg-card-secondary);
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    transform 0.15s ease;
}

.theme-toggle svg {
  display: block;
}

/* ============================================
     HERO - SECTION
     ============================================ */

#hero-pres-section {
  width: -webkit-fill-available;
  min-height: 100vh;
  height: auto;
  margin: 0px 160px;
  padding-top: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

.hero-text {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.title-pres-hero {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 80px;
  text-align: center;
  background: linear-gradient(to right, var(--text-primary), #0071e3);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.description-pres-hero {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  color: var(--text-primary);
  text-align: center;
}

.hero-button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 8px;
}

.hero-button {
  display: inline;
  text-decoration: none;
  background-color: var(--button-primary);
  color: var(--text-button);
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  font-size: 16px;
  transition:
    background-color 0.15s ease,
    transform 0.15s ease;
}

.hero-button:hover {
  transform: translateY(-2px);
  background-color: var(--button-hover);
  color: var(--text-button-hover);
}

.hero-cards-container {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.hero-card-item {
  width: auto;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  background: var(--bg-card-primary);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  padding: 16px;
}

.hero-card-image {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
}

.hero-card-text-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
}

.hero-card-title {
  font-size: 28px;
  font-weight: 500;
  color: var(--text-primary);
}

/* ============================================
     PROJECTS - SECTION
     ============================================ */

#projects-section {
  width: 100%;
  padding: 64px 0px;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: var(--bg-primary);
  border-top: 2px solid var(--border-color);
  border-bottom: 2px solid var(--border-color);
}

.projects-container {
  width: -webkit-fill-available;
  margin: 0px 160px;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 48px;
}

.projects-pres-container {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.projects-text-container {
  width: auto;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.projects-title {
  font-size: 60px;
  color: var(--text-primary);
}

.projects-description {
  width: 80%;
  font-size: 24px;
  color: var(--text-primary);
  text-align: center;
}

.projects-items-container {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.project-item {
  width: 33%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--bg-card-primary);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  transition:
    border 0.3s ease,
    transform 0.3s ease;
}

.project-item:hover {
  border: 2px solid var(--border-color-hover);
  transform: translateY(-2px);
}

.project-item-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 14px 14px 0px 0px;
}

.project-text-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
}

.project-item-title {
  font-size: 32px;
  color: var(--text-primary);
}

.project-item-description {
  font-size: 16px;
  color: var(--text-primary);
}

.project-button {
  display: inline;
  text-decoration: none;
  background-color: var(--button-primary);
  color: var(--text-button);
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  font-size: 16px;
  transition:
    background-color 0.15s ease,
    transform 0.15s ease;
  margin-top: 8px;
}

.project-button:hover {
  background-color: var(--button-hover);
  color: var(--text-button);
  transform: translateY(-2px);
}

/* ============================================
     PROJECT OVERLAY
     ============================================ */

.project-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(6, 5, 12, 0.95);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  overflow-y: auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.project-overlay.active {
  opacity: 1;
  visibility: visible;
}

.project-overlay-container {
  position: relative;
  width: 100%;
  max-width: 1400px;
  min-height: 100vh;
  padding: 80px 40px;
}

.project-overlay-close {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background-color: var(--button-primary);
  color: var(--text-button);
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 10000;
  transition:
    background-color 0.15s ease,
    transform 0.15s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.project-overlay-close:hover {
  background-color: var(--button-hover);
  color: var(--text-button-hover);
  transform: translateY(-2px);
}

.project-overlay-content {
  width: 100%;
  background-color: var(--bg-dot-gradient);
  border-radius: 16px;
}

/* ============================================
     PROJETS - HERO
     ============================================ */

.hero-projets-section {
  width: -webkit-fill-available;
  height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-projets {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-projets-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px 16px 0px 0px;
}

/* ============================================
     PROJETS - PRESENTATION
     ============================================ */

.presentation-projets-section {
  width: -webkit-fill-available;
  height: auto;
  padding: 80px 0px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background: var(--bg-primary);
}

.presentation-projets {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin: 0px 40px;
}

.presentation-projets-text-container {
  width: 50%;
  height: -webkit-fill-available;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
}

.presentation-projets-title {
  width: 100%;
  font-size: 60px;
  color: var(--text-primary);
}

.presentation-projets-description,
.presentation-projets-description-2 {
  width: 100%;
  font-size: 16px;
  color: var(--text-primary);
}

.presentation-projets-button {
  display: inline;
  text-decoration: none;
  background-color: var(--button-primary);
  color: var(--text-button);
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition:
    background-color 0.15s ease,
    transform 0.15s ease;
}

.presentation-projets-button:hover {
  background-color: var(--button-hover);
  color: var(--text-button-hover);
  transform: translateY(-2px);
}

.presentation-projets-image-container {
  width: 50%;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.presentation-projets-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ============================================
     PROJETS - CONTENT
     ============================================ */

.content-projets-section {
  width: -webkit-fill-available;
  height: auto;
  padding: 80px 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bg-secondary);
  border-radius: 16px;
}

.content-projets-container {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 0px 40px;
}

.content-projets-component-1,
.content-projets-component-2,
.content-projets-component-3,
.content-projets-component-4 {
  width: -webkit-fill-available;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.content-projets-component-1-image,
.content-projets-component-2-image,
.content-projets-component-3-image,
.content-projets-component-4-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.content-projets-component-1-image img,
.content-projets-component-2-image img,
.content-projets-component-3-image img,
.content-projets-component-4-image img {
  width: 100%;
  height: 100%;
}

/* SINGLE IMAGE PROJETS */
.single-image-projets-section {
  width: -webkit-fill-available;
  height: auto;
  padding: 80px 0px 80px 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bg-primary);
  border-radius: 0px 0px 16px 16px;
}

.single-image-projets-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0px 40px;
}

.single-image-projets-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
  border-radius: 16px 16px 16px 16px;
}

/* ============================================
     SERVICES - SECTION
     ============================================ */

#services-section {
  width: -webkit-fill-available;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0px 160px;
  padding: 64px 0px;
}

.services-section-container {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 48px;
}

.services-section-text-container {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.services-section-title {
  font-size: 60px;
  color: var(--text-primary);
  text-align: center;
}

.services-section-description {
  width: 50%;
  font-size: 24px;
  color: var(--text-primary);
  text-align: center;
}

.services-section-btn {
  display: inline;
  text-decoration: none;
  background-color: var(--button-primary);
  color: var(--text-button);
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  font-size: 16px;
  transition:
    background-color 0.15s ease,
    transform 0.15s ease;
  margin-top: 8px;
}

.services-section-btn:hover {
  transform: translateY(-2px);
  background-color: var(--button-hover);
  color: var(--text-button-hover);
}

.services-items-cards-container {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
}

.service-item-card {
  width: 32%;
  height: auto;
  min-height: 450px;
  background: var(--bg-card-primary);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-item-card-content-inner {
  width: 100%;
  height: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.service-item-card-title {
  font-size: 48px;
  color: var(--text-primary);
  margin: 0;
}

.service-item-card-separator {
  width: 100%;
  height: 2px;
  border: none;
  background-color: var(--border-color);
  margin: 0;
}

.service-item-card-achievements-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.service-item-card-achievements-list {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.service-item-card-achievements-item {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
}

.service-item-card-achievements-image {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 8px;
}

.service-item-card-achievements-text {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
}

.service-item-card-achievements-text h4 {
  font-size: 18px;
  color: var(--text-primary);
}

.service-item-card-achievements-text p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ============================================
     ABOUT - SECTION
     ============================================ */

#about-section {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 64px 0px;
  background-color: var(--bg-primary);
  border-top: 2px solid var(--border-color);
  border-bottom: 2px solid var(--border-color);
}

.about-section-container {
  width: -webkit-fill-available;
  height: auto;
  margin: 0px 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 48px;
}

.about-section-text-container {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-section-title {
  width: 40%;
  font-size: 60px;
  color: var(--text-primary);
  text-align: center;
}

.about-skills-container {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
}

.about-skills-cards-container {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.about-skills-card {
  width: 50%;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--bg-card-primary);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  gap: 24px;
}

.about-skills-card-image-container {
  width: -webkit-fill-available;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--bg-card-primary);
  border-radius: 16px 16px 0px 0px;
}

.about-skills-card-image {
  width: 104px;
  height: 104px;
  object-fit: contain;
}

.about-skills-card-description {
  width: 100%;
  height: 70%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  color: var(--text-primary);
  text-align: center;
}

.about-skills-connector-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-skills-connector-image {
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ============================================
     FAQ - SECTION
     ============================================ */

#faq-section {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.faq-section-container {
  width: -webkit-fill-available;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 48px;
  margin: 0px 160px;
  padding: 64px 0px;
}

.faq-section-text-container {
  width: 50%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.faq-section-title {
  width: auto;
  height: auto;
  font-size: 60px;
  color: var(--text-primary);
  margin: 0;
  padding: 0;
}

.faq-section-description {
  width: 100%;
  font-size: 24px;
  color: var(--text-primary);
  text-align: center;
}

.faq-section-items-container {
  width: 60%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.faq-section-item {
  width: 100%;
  height: auto;
  background: var(--bg-card-primary);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition:
    border 0.3s ease,
    transform 0.3s ease;
  will-change: transform;
}

.faq-section-item:hover {
  border: 2px solid var(--border-color-hover);
}

.faq-item-header {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  cursor: pointer;
  gap: 24px;
}

.faq-item-question {
  width: 100%;
  font-size: 24px;
  color: var(--text-primary);
  margin: 0;
  text-align: left;
}

.faq-item-toggle {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  border: none;
  will-change: transform;
}

.faq-item-toggle-icon {
  width: 20px;
  height: 20px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  will-change: transform;
}

.faq-item-toggle-icon::before,
.faq-item-toggle-icon::after {
  content: "";
  position: absolute;
  background-color: var(--item-color);
  transition:
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.2s ease;
  will-change: transform, opacity;
}

.faq-item-toggle-icon::before {
  width: 2px;
  height: 16px;
}

.faq-item-toggle-icon::after {
  width: 16px;
  height: 2px;
}

.faq-item-toggle.faq-toggle-open .faq-item-toggle-icon::before {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-item-toggle.faq-toggle-open .faq-item-toggle-icon::after {
  transform: rotate(180deg);
}

.faq-item-answer {
  width: 100%;
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease 0.1s;
  padding: 0 32px;
  opacity: 0;
}

.faq-item-open .faq-item-answer {
  max-height: 500px;
  padding: 16px 32px 24px 32px;
  opacity: 1;
  transition:
    max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease 0.1s;
}

.faq-item-answer-text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  transform: translateY(-10px);
  opacity: 0;
  transition:
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s,
    opacity 0.3s ease 0.1s;
}

.faq-item-open .faq-item-answer-text {
  transform: translateY(0);
  opacity: 1;
}

/* ============================================
     CONTACT - SECTION
     ============================================ */

#contact-section {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bg-primary);
  border-top: 2px solid var(--border-color);
}

.contact-section-container {
  width: -webkit-fill-available;
  height: auto;
  margin: 0px 160px;
  padding: 64px 0px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-section-items-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 48px;
}

.contact-section-text-container {
  width: 50%;
  height: auto;
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.contact-section-title {
  width: auto;
  height: auto;
  font-size: 60px;
  color: var(--text-primary);
}

.contact-section-description {
  width: 100%;
  height: auto;
  font-size: 24px;
  color: var(--text-primary);
  text-align: center;
}

.contact-section-form-container {
  width: 70%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bg-card-primary);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
}

.contact-section-form {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.contact-section-form-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-form-field-container {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 8px;
}

.contact-section-form-label {
  color: var(--text-primary);
}

.contact-section-form-input {
  width: 100%;
  height: auto;
  background-color: var(--bg-card-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 16px;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.contact-section-form-input:focus {
  outline: none;
  border-color: var(--border-color-hover);
  box-shadow: 0 0 0 3px var(--box-shadow-color);
}

.contact-section-form-input::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}

.contact-section-form-textarea {
  width: 100%;
  height: auto;
  background-color: var(--bg-card-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 16px;
  resize: none;
  min-height: 120px;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.contact-section-form-textarea:focus {
  outline: none;
  border-color: var(--border-color-hover);
  box-shadow: 0 0 0 3px var(--box-shadow-color);
}

.contact-section-form-textarea::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}

.contact-section-form-button-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-section-form-button {
  display: inline;
  text-decoration: none;
  background-color: var(--button-primary);
  color: var(--text-button);
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition:
    background-color 0.15s ease,
    transform 0.15s ease;
}

.contact-section-form-button:hover {
  background-color: var(--button-hover);
  color: var(--text-button-hover);
  transform: translateY(-2px);
}

.contact-form-success-message {
  text-align: center;
  padding: 2rem;
  color: #10b981;
}

/* ============================================
     FOOTER
     ============================================ */

.footer {
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bg-secondary);
  border-top: 2px solid var(--border-color);
}

.footer-container {
  width: -webkit-fill-available;
  margin: 0px 160px;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-nav-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 24px;
}

.footer-nav-separator {
  width: 2px;
  height: 24px;
  border: none;
  background-color: var(--border-color);
  margin: 0;
}

.footer-copyright {
  font-size: 16px;
  color: var(--text-primary);
}

.footer-nav-list {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav-item {
  font-size: 16px;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-nav-item:hover {
  color: var(--text-hover);
}

.footer-social-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.footer-social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: transform 0.15s ease;
  padding: 12px;
  background: var(--button-primary);
  border-radius: 50%;
}

.footer-social-link:hover {
  transform: translateY(-2px);
  background: var(--button-hover);
}

.footer-social-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

/* ============================================
     404 - PAGE NON TROUVÉE
     ============================================ */

.not-found-section {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bg-primary);
}

.not-found-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  text-align: center;
  padding: 0 24px;
}

.not-found-title {
  font-size: 120px;
  color: var(--text-primary);
  line-height: 1;
}

.not-found-description {
  font-size: 18px;
  color: var(--text-secondary);
}

.not-found-button {
  display: inline-block;
  text-decoration: none;
  background-color: var(--button-primary);
  color: var(--text-button);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 16px;
  transition: background-color 0.15s ease;
}

.not-found-button:hover {
  background-color: var(--button-hover);
}

/* ============================================
     MENTIONS LÉGALES / POLITIQUE DE CONFIDENTIALITÉ PAGE
     ============================================ */

.mentions-legales-section,
.politique-confidentialite-section {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: var(--bg-primary);
  padding: 80px 0;
}

.mentions-legales-container,
.politique-confidentialite-container {
  width: 100%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 0 24px;
}

.mentions-legales-back,
.politique-confidentialite-back {
  font-size: 14px;
  color: var(--button-primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.mentions-legales-back:hover,
.politique-confidentialite-back:hover {
  color: var(--button-hover);
}

.mentions-legales-title,
.politique-confidentialite-title {
  font-size: 48px;
  color: var(--text-primary);
}

.politique-confidentialite-update {
  font-size: 14px;
  color: var(--text-secondary);
  font-style: italic;
}

.mentions-legales-intro,
.politique-confidentialite-intro {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.mentions-legales-blocks,
.politique-confidentialite-blocks {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.mentions-legales-block,
.politique-confidentialite-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mentions-legales-block-title,
.politique-confidentialite-block-title {
  font-size: 24px;
  color: var(--text-primary);
}

.mentions-legales-block-content,
.politique-confidentialite-block-content {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  white-space: pre-line;
}

.mentions-legales-footer {
  font-size: 14px;
  color: var(--text-secondary);
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
}

.mentions-legales-footer a {
  color: var(--button-primary);
  text-decoration: none;
}

.mentions-legales-footer a:hover {
  color: var(--button-hover);
}

/* ============================================
   BACK TO TOP - BOUTON RETOUR EN HAUT
   ============================================ */

.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: var(--button-primary);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    background-color 0.15s ease,
    transform 0.15s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.back-to-top:hover {
  background-color: var(--button-hover);
  transform: translateY(-2px);
}

.back-to-top-visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top-icon {
  position: relative;
  width: 12px;
  height: 12px;
  border-left: 2px solid var(--text-button);
  border-top: 2px solid var(--text-button);
  transform: rotate(45deg);
  margin-top: 4px;
}

/* ============================================
     MEDIA QUERIES - RESPONSIVE DESIGN
     ============================================ */

/* DESKTOP (max-width: 1512px) */
@media screen and (max-width: 1512px) {
  .header-container {
    margin: 12px 80px;
  }

  #hero-pres-section {
    min-height: 100vh;
    margin: 0px 80px;
    padding-top: 160px;
  }

  .projects-container {
    margin: 0px 80px;
    gap: 32px;
  }

  #services-section {
    margin: 0px 80px;
  }

  .services-section-container {
    gap: 32px;
  }

  .about-section-container {
    margin: 0px 80px;
    gap: 32px;
  }

  .about-section-title {
    width: 70%;
  }

  .faq-section-container {
    margin: 0px 80px;
    gap: 32px;
  }

  .faq-section-text-container {
    width: 50%;
  }

  .contact-section-container {
    margin: 0px 80px;
  }

  .contact-section-items-container {
    gap: 32px;
  }

  .contact-section-form-container {
    width: 80%;
    padding: 24px;
  }

  .footer-container {
    margin: 0px 80px;
  }

  .mentions-legales-container,
  .politique-confidentialite-container {
    max-width: 700px;
  }
}

/* TABLETTE (max-width: 1024px) */
@media screen and (max-width: 1024px) {
  .header-container {
    margin: 12px 64px;
  }

  #hero-pres-section {
    margin: 0px 64px;
    gap: 48px;
  }

  .title-pres-hero {
    font-size: 64px;
  }

  .description-pres-hero {
    width: 80%;
  }

  .projects-container {
    margin: 0px 64px;
  }

  .projects-items-container {
    flex-wrap: wrap;
  }

  .project-item {
    width: 48%;
  }

  .presentation-projets {
    margin: 0px 64px;
  }

  .content-projets-container {
    margin: 0px 64px;
  }

  #services-section {
    margin: 0px 64px;
  }

  .services-section-description {
    width: 80%;
  }

  .services-items-cards-container {
    flex-wrap: wrap;
  }

  .service-item-card {
    width: 48%;
  }

  .about-section-container {
    margin: 0px 64px;
  }

  .about-section-title {
    width: 80%;
  }

  .faq-section-container {
    margin: 0px 64px;
  }

  .faq-section-text-container {
    width: 80%;
  }

  .faq-section-items-container {
    width: 80%;
  }

  .contact-section-container {
    margin: 0px 64px;
  }

  .contact-section-text-container {
    width: 70%;
  }

  .contact-section-form-container {
    width: 100%;
  }

  .footer-container {
    margin: 0px 64px;
  }

  .mentions-legales-container,
  .politique-confidentialite-container {
    max-width: 600px;
  }

  .mentions-legales-title,
  .politique-confidentialite-title {
    font-size: 36px;
  }

  .mentions-legales-block-title,
  .politique-confidentialite-block-title {
    font-size: 20px;
  }
}

/* SMARTPHONE (max-width: 700px) */
@media screen and (max-width: 700px) {
  .header-container {
    margin: 8px 16px;
  }

  .burger-button {
    display: flex;
  }

  .theme-toggle {
    margin-left: auto;
    margin-right: 16px;
  }

  .nav-container {
    position: fixed;
    left: auto;
    right: -100%;
    top: 0;
    transform: none;
    width: 100%;
    height: 100vh;
    background: var(--bg-secondary);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease;
  }

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

  .nav-list {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    list-style: none;
    gap: 24px;
    width: 100%;
  }

  .nav-item-li {
    width: auto;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
    background-color: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition:
      background-color 0.15s ease,
      transform 0.15s ease;
  }

  .nav-item-li:hover {
    background-color: var(--button-hover);
  }

  .nav-item-li:hover .nav-item {
    color: var(--text-button-hover);
  }

  .nav-item {
    width: 80px;
    font-size: 16px;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #hero-pres-section {
    min-height: 100vh;
    margin: 0px 16px;
    gap: 40px;
    padding-top: 0;
  }

  .hero-text {
    align-items: center;
    gap: 16px;
  }

  .title-pres-hero {
    font-size: 64px;
    justify-content: center;
    text-align: center;
  }

  .description-pres-hero {
    width: 90%;
    text-align: center;
  }

  .hero-button-container {
    flex-direction: column;
    gap: 16px;
    width: auto;
  }

  .hero-button {
    width: auto;
    justify-content: center;
  }

  .hero-cards-container {
    display: none;
    visibility: hidden;
  }

  .hero-card-item {
    width: 100%;
    height: auto;
    gap: 16px;
  }

  .hero-card-text-container {
    gap: 8px;
  }

  #projects-section {
    padding: 48px 0px;
  }

  .projects-container {
    margin: 0px 16px;
    gap: 32px;
  }

  .projects-text-container {
    align-items: flex-start;
  }

  .projects-title {
    font-size: 48px;
    color: var(--text-primary);
  }

  .projects-description {
    width: 100%;
    text-align: start;
  }

  .project-item {
    width: 100%;
  }

  .project-item:hover {
    border: 2px solid var(--border-color);
    transform: none;
  }

  .project-item-image {
    height: 300px;
  }

  .hero-projets-section {
    height: 40vh;
  }

  .presentation-projets-section {
    padding: 24px 0px;
  }

  .presentation-projets {
    flex-direction: column;
    gap: 24px;
    margin: 0px 16px;
  }

  .presentation-projets-text-container {
    width: 100%;
  }

  .presentation-projets-image-container {
    width: 70%;
  }

  .content-projets-section {
    padding: 48px 0px;
  }

  .content-projets-container {
    gap: 24px;
    margin: 0px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .content-projets-component-1,
  .content-projets-component-2,
  .content-projets-component-3,
  .content-projets-component-4 {
    width: 100%;
  }

  .project-overlay-container {
    max-width: 950px;
    padding: 0px;
  }

  .project-overlay-close {
    top: 16px;
    right: 16px;
  }

  #services-section {
    margin: 0px 16px;
    padding: 48px 0px;
  }

  .services-section-container {
    flex-direction: column;
    gap: 32px;
  }

  .services-section-text-container {
    width: 100%;
    align-items: flex-start;
  }

  .services-section-title {
    font-size: 48px;
    text-align: start;
  }

  .services-section-description {
    text-align: start;
    width: 100%;
  }

  .services-items-cards-container {
    flex-direction: column;
    gap: 24px;
  }

  .service-item-card-title {
    font-size: 32px;
  }

  .service-item-card {
    width: 100%;
  }

  .about-section-container {
    margin: 0px 16px;
    gap: 32px;
  }

  .about-section-title {
    width: 100%;
    text-align: start;
    font-size: 48px;
  }

  .about-skills-cards-container {
    flex-direction: column;
  }

  .about-skills-card {
    width: 100%;
  }

  .about-skills-card-image {
    width: 80px;
    height: 80px;
  }

  .about-skills-connector-image {
    width: 48px;
  }

  .faq-section-container {
    margin: 0px 16px;
    padding: 64px 0px;
    gap: 32px;
    flex-direction: column;
  }

  .faq-section-text-container {
    width: 100%;
  }

  .faq-section-title {
    width: 100%;
    font-size: 48px;
  }

  .faq-section-description {
    text-align: start;
  }

  .faq-section-items-container {
    width: 100%;
    flex-direction: column;
    gap: 16px;
  }

  .faq-item-header {
    gap: 16px;
  }

  .faq-item-question {
    font-weight: 400;
  }

  .faq-item-toggle {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }

  .faq-item-answer {
    padding: 0 24px;
  }

  .faq-item-open .faq-item-answer {
    padding: 0 24px 20px 24px;
  }

  .contact-section-container {
    margin: 0px 16px;
    padding: 48px 0px;
  }

  .contact-section-items-container {
    height: auto;
    min-height: 300px;
    gap: 32px;
  }

  .contact-section-text-container {
    position: relative;
    bottom: auto;
    width: 100%;
    gap: 16px;
  }

  .contact-section-title {
    width: 100%;
    text-align: start;
    font-size: 48px;
  }

  .contact-section-description {
    width: 100%;
    text-align: start;
  }

  .contact-section-form-container {
    width: 100%;
    padding: 24px;
  }

  .contact-section-form-grid {
    display: flex;
    flex-direction: column;
  }

  .footer {
    height: auto;
    padding: 16px 0px 16px 0px;
  }

  .footer-container {
    margin: 0px 16px;
    align-items: flex-start;
  }

  .footer-nav-container {
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .footer-nav-separator {
    display: none;
    visibility: hidden;
  }

  .not-found-title {
    font-size: 80px;
  }

  .mentions-legales-section,
  .politique-confidentialite-section {
    padding: 40px 0;
  }

  .mentions-legales-container,
  .politique-confidentialite-container {
    max-width: 100%;
    padding: 0 16px;
  }

  .mentions-legales-title,
  .politique-confidentialite-title {
    font-size: 28px;
  }

  .mentions-legales-block-title,
  .politique-confidentialite-block-title {
    font-size: 18px;
  }

  .mentions-legales-intro,
  .mentions-legales-block-content,
  .politique-confidentialite-intro,
  .politique-confidentialite-block-content {
    font-size: 14px;
  }

  .back-to-top {
    display: none;
    visibility: hidden;
  }
}
