/* DzèTech : direction « Standard du secteur ». */

@font-face { font-family: "Manrope"; src: url("fonts/manrope.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root { --ink: #14242b; --muted: #47585f; --bg: #fff; --soft: #eef4f6; --primary: #1b6f8e; --primary-dark: #145269; --line: #d8e3e7; --ease: cubic-bezier(0.22, 1, 0.36, 1); --gutter: clamp(20px, 5vw, 56px); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 "Manrope", system-ui, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
address { font-style: normal; }
a { color: inherit; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--primary); color: #fff; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }
.wrap { width: 100%; max-width: calc(1240px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: 16px; top: -64px; z-index: 40; padding: 8px 16px; background: var(--primary); color: #fff; }
.skip:focus { top: 8px; }

.btn { display: inline-block; padding: 14px 24px; border-radius: 8px; background: var(--primary); color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background-color 150ms, transform 150ms; }
.btn:hover { background: var(--primary-dark); }
.btn:active { transform: scale(0.98); }
.btn--small { padding: 8px 16px; color: #fff !important; }
.btn--white { background: #fff; color: var(--primary-dark); }
.btn--white:hover { background: var(--soft); }
.link { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; color: var(--primary); font-weight: 700; text-underline-offset: 4px; }

.header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo img { height: 60px; width: auto; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav > a:not(.btn) { font-weight: 600; text-decoration: none; transition: color 150ms; }
.nav > a:not(.btn):hover, .nav > a[aria-current="page"]:not(.btn) { color: var(--primary); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); cursor: pointer; }
.menu-toggle span { display: grid; place-items: center; }
.menu-toggle__close { display: none !important; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: grid !important; }

.hero { position: relative; display: flex; align-items: center; min-height: min(calc(100dvh - 81px), 680px); color: #fff; background: var(--primary-dark); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(12 42 54 / 0.86), rgb(12 42 54 / 0.45) 60%, rgb(12 42 54 / 0.15)); }
.hero__content { position: relative; z-index: 1; padding-block: 64px; }
.hero h1 { max-width: 13em; font-size: clamp(2.25rem, 5vw, 4rem); }
.hero p { max-width: 30em; margin-block: 20px 28px; font-size: 1.25rem; line-height: 1.45; }

.section { padding-block: 80px; }
.section > h2 { margin-bottom: 32px; font-size: clamp(1.875rem, 3.2vw, 2.5rem); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { display: block; padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-decoration: none; transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), border-color 200ms; }
.card:hover { transform: translateY(-3px); border-color: var(--primary); box-shadow: 0 12px 28px rgb(20 82 105 / 0.14); }
.card__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 10px; background: var(--soft); color: var(--primary); font-size: 1.25rem; }
.card h3 { margin-bottom: 8px; font-size: 1.25rem; }
.card p { color: var(--muted); font-size: 1rem; line-height: 1.55; }

.about { padding-block: 80px; background: var(--soft); }
.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.about h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
.about__grid > div > p { margin-top: 16px; color: var(--muted); font-size: 1.125rem; }
.person { display: flex; align-items: center; gap: 16px; margin-top: 28px; line-height: 1.4; font-size: 0.9375rem; }
.person__photo { width: 72px; height: 72px; flex: none; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.person a { text-underline-offset: 3px; }

.cta { background: var(--primary-dark); color: #fff; }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 56px; }
.cta h2 { max-width: 26em; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.cta p { margin-top: 8px; }

.page-hero { padding-block: 64px; background: var(--primary-dark); color: #fff; }
.page-hero h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); }
.details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 48px; padding-block: 72px; }
.detail { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 20px; scroll-margin-top: 104px; }
.detail .card__icon { margin: 0; }
.detail h2 { margin-bottom: 8px; font-size: 1.5rem; }
.detail p { color: var(--muted); }
.detail p + p { margin-top: 8px; }

.bio { display: grid; grid-template-columns: 171px minmax(0, 1fr); gap: 48px; padding-block: 72px; }
.bio__photo { border-radius: 12px; }
.bio h2 { font-size: 2rem; }
.bio__role { margin-block: 8px 16px; color: var(--primary); font-weight: 700; }
.bio > div > p:last-of-type { max-width: 42em; }
.path { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.path li { padding: 20px; border-radius: 12px; background: var(--soft); }
.path strong { display: block; line-height: 1.35; }
.path span { display: block; margin-top: 4px; color: var(--muted); font-size: 0.9375rem; }

.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 80px); align-items: center; padding-block: 72px; }
.contact__intro { margin-bottom: 24px; font-size: 1.25rem; font-weight: 600; line-height: 1.4; }
.contact__list { display: grid; gap: 16px; }
.contact__list li { display: flex; gap: 12px; align-items: flex-start; }
.contact__list .icon { margin-top: 4px; color: var(--primary); }
.contact__list a { font-weight: 700; text-underline-offset: 3px; overflow-wrap: anywhere; }
.contact__photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }

.footer { padding-block: 48px 32px; background: var(--ink); color: #fff; font-size: 0.9375rem; }
.footer__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer nav { display: grid; justify-items: start; }
.footer nav a { text-decoration: none; }
.footer a:hover { color: #9ed8f5; }
.footer__meta { display: flex; justify-content: space-between; gap: 16px 32px; margin-top: 32px; font-size: 0.8125rem; line-height: 1.5; color: #c6d3d8; }
.footer__meta a { text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}

@media (max-width: 999px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .header__inner { height: 72px; }
  .logo img { height: 52px; }
  .menu-toggle { display: grid; place-items: center; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px var(--gutter); background: #fff; border-bottom: 1px solid var(--line); }
  .nav.is-open { display: flex; }
  .cards, .about__grid, .details, .contact { grid-template-columns: minmax(0, 1fr); }
  .section, .about { padding-block: 56px; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .bio { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 48px; }
  .path { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__meta { flex-direction: column; }
}
