/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.7rem 1.35rem;
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-primary {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.btn-primary:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-1px);
}

.section .btn-primary,
.cta-section .btn-primary {
  background: #000;
  color: #fff;
  border-color: #000;
}

.section .btn-primary:hover,
.cta-section .btn-primary:hover {
  background: #fff;
  color: #000;
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-secondary:hover {
  background: #fff;
  color: #000;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: #000;
  border-color: #000;
  min-height: 2.4rem;
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
}

.btn-ghost:hover {
  background: #000;
  color: #fff;
}

.btn-ghost[aria-disabled="true"] {
  cursor: default;
  opacity: 0.55;
  pointer-events: none;
}

/* ==========================================================================
   Services
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.5rem), 1fr));
  gap: 1.25rem;
}

.service-card {
  padding: 1.5rem 1.35rem 1.6rem;
  border: 2px solid #000;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-card h3 {
  margin: 0;
  text-transform: uppercase;
  font-size: 1.05rem;
}

.service-card .service-summary {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.98rem;
}

.service-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1;
}

.service-card li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  background: #000;
}

.service-card .btn {
  align-self: flex-start;
  margin-top: 0.5rem;
}

/* ==========================================================================
   Process
   ========================================================================== */

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.process-num {
  display: block;
  margin-bottom: 0.85rem;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #000;
  line-height: 1;
}

.process-step p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.98rem;
}

/* ==========================================================================
   Filters & cards (produits / projets)
   ========================================================================== */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-btn {
  min-height: 2.4rem;
  padding: 0.4rem 0.9rem;
  border: 2px solid #000;
  background: transparent;
  color: #000;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.filter-btn:hover {
  background: #000;
  color: #fff;
}

.filter-btn.is-active {
  background: #000;
  color: #fff;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18.5rem), 1fr));
  gap: 1.35rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 2px solid #000;
  overflow: hidden;
  transition: transform 0.25s var(--ease);
}

.project-card:hover {
  transform: translateY(-4px);
}

.project-card.is-hidden {
  display: none;
}

.project-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000;
  border-bottom: 2px solid #000;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}

.project-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.65rem;
  padding: 1.25rem 1.2rem 1.35rem;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.project-category {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-status {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.45rem;
  border: 1.5px solid #000;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.project-body h3 {
  margin: 0;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.project-body p {
  margin: 0;
  flex: 1;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-tech li {
  font-size: 0.75rem;
  font-weight: 600;
  border: 1.5px solid #000;
  padding: 0.15rem 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.project-body .btn {
  align-self: flex-start;
  margin-top: 0.35rem;
}

.projects-empty {
  margin: 1rem 0 0;
  color: var(--ink-muted);
}

/* ==========================================================================
   Skills
   ========================================================================== */

.tech-featured {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
}

.tech-badge {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 6.5rem;
  padding: 0.75rem 0.95rem;
  background: #fff;
  border: 2px solid #000;
}

.tech-badge strong {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.tech-badge span {
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 1.25rem;
}

.skill-group {
  padding: 1.25rem 1.15rem;
  background: #fff;
  border: 2px solid #000;
}

.skill-group h3 {
  margin-bottom: 0.85rem;
  text-transform: uppercase;
}

.skill-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.skill-group li {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.25rem 0.55rem;
  border: 1.5px solid #000;
  background: #fff;
}

/* ==========================================================================
   About
   ========================================================================== */

.about-layout {
  display: grid;
  grid-template-columns: minmax(12rem, 18rem) 1fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}

.about-photo {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: #fff;
  border: 2px solid #000;
  padding: 1.5rem;
}

.about-photo img {
  width: 85%;
  height: auto;
}

.about-content h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.8vw, 2.75rem);
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.about-name {
  margin: 0 0 0.25rem;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.about-location {
  margin: 0 0 1.25rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.about-content p {
  margin: 0 0 1rem;
  max-width: 38rem;
}

.about-content p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   CTA
   ========================================================================== */

.cta-section {
  padding-block: var(--space-section);
  background: #000;
  color: #fff;
  border-top: 2px solid #000;
}

.cta-inner {
  max-width: 36rem;
}

.cta-section h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.cta-lead {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cta-section p {
  margin: 0 0 1rem;
  color: #cfcfcf;
}

.cta-section .btn {
  margin-top: 0.75rem;
}

.cta-section .btn-primary {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.cta-section .btn-primary:hover {
  background: transparent;
  color: #fff;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding-block: 2.75rem;
  background: #fff;
  color: #000;
  border-top: 2px solid #000;
}

.footer-inner {
  display: grid;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-logo {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}

.footer-name {
  margin: 0 0 0.15rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.footer-role {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-links a {
  color: #000;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.55;
}
