:root {
  --primary: #9d4300;
  --primary-container: #f97316;
  --background: #faf8ff;
  --surface: #ffffff;
  --surface-alt: #f2f3ff;
  --text-main: #131b2e;
  --text-secondary: #515f74;
  --outline: rgba(140, 113, 100, 0.15);
}

.current-role {
  padding: 6rem 0;
  background-color: var(--surface);
  border-bottom: 1px solid var(--outline);
}

.role-card {
  background: var(--surface-alt);
  padding: 3rem;
  border-radius: 4px; /* On reste sur du carré/peu arrondi comme le reste */
  border-right: 4px solid var(--primary-container);
}

.role-header {
  margin-bottom: 1.5rem;
}

.role-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
}

.role-header .company {
  color: var(--primary-container);
  font-weight: 700;
  font-size: 0.9rem;
}

.role-description {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  max-width: 800px;
}

.role-tasks {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.role-tasks li {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.role-tasks li::before {
  content: "→";
  color: var(--primary-container);
}

.current-role .accent {
  color: var(--primary-container);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.4;
  z-index: 999;
}

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

body {
  font-family: "Manrope", sans-serif;
  background-color: var(--background);
  color: var(--text-main);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-project {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero {
  padding: 8rem 0 4rem 0;
}

.title-group {
  transform: rotate(-1deg);
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
  flex-wrap: nowrap;
}

.brand-logo {
  transform: rotate(2deg);
  height: 20rem;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.main-title {
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
  font-size: clamp(2.5rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -0.05em;
}

.main-title .accent {
  color: var(--primary-container);
}

.hero-footer {
  border-top: 1px solid var(--outline);
  padding-top: 2rem;
}

.hero-description {
  font-size: 1.2rem;
  font-weight: 300;
  text-align: center;
  color: var(--text-secondary);
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.expertise {
  padding: 6rem 0;
}

.flex-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.section-title.center {
  text-align: center;
  margin-bottom: 3rem;
}

.expertise-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.expertise-item {
  border-left: 3px solid var(--primary-container);
  padding-left: 2rem;
}

.expertise-item h3 {
  text-transform: uppercase;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.projects {
  padding: 6rem 0;
  background: var(--surface-alt);
  border-top: 1px solid var(--outline);
  border-bottom: 1px solid var(--outline);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1px;
  background: var(--outline);
}

.project-card {
  position: relative;
  transition: all 0.25s ease;
  background: var(--surface);
  padding: 3.5rem 2.5rem;
  min-height: 420px;
  display: flex;
  flex-direction: column;
}

.project-number {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.2em;
}

.project-number::before {
  content: ">";
  margin-right: 6px;
}

.project-name {
  font-size: 1.75rem;
  font-weight: 800;
  margin-top: 0.5rem;
}

.project-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 1rem 0 2rem 0;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-container);
}

.project-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.project-desc a {
  color: inherit;
  font-weight: 700;
}

.project-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--primary-container);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;

  align-self: flex-end;
  margin-top: auto;
}

.project-link {
  position: relative;
}

.project-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: var(--primary-container);
  transition: width 0.3s;
}

.project-link:hover::after {
  width: 100%;
}

.project-link .arrow {
  font-size: 1.2rem;
}

.footer {
  padding: 6rem 0 4rem 0;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-link {
  text-decoration: none;
  color: var(--primary-container);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-link:hover {
  color: var(--text-main);
}

.footer-icon {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

.footer-link span:last-child {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.copyright {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--text-secondary);
  opacity: 0.4;
  text-transform: uppercase;
  text-align: center;
}

@media (max-width: 992px) {
  .flex-layout {
    grid-template-columns: 1fr;
  }

  .container-project {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 4rem 0 3rem 0;
  }

  .container-project {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .title-group {
    margin-bottom: -0.3rem !important;
  }

  .hero-description {
    font-size: 1rem;
  }

  .brand-logo {
    height: 7rem;
    margin-left: -1.5rem !important;
  }

  .main-title {
    margin-left: -1.5rem !important;
    font-size: 2.5rem;
  }

  .footer-nav {
    gap: 2rem;
  }
}

