/* Serpette & Cie - homepage
   Feuille de style unique, sans framework. Police auto-hébergée (Plus Jakarta Sans, OFL). */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Sombres : bleu nuit, jamais noir pur */
  --navy-950: #050c1d;
  --navy-900: #081430;
  --navy-850: #0b1a3c;
  --navy-800: #0f2148;
  --on-dark: #eef3ff;
  --on-dark-soft: #aebbd8;
  --on-dark-line: rgba(196, 214, 255, 0.12);

  /* Clairs */
  --white: #ffffff;
  --light: #f4f7fc;
  --light-2: #eaf0fa;
  --ink: #0b1633;
  --text: #4a5674;
  --muted: #7a859f;
  --line: #e3e9f3;

  /* Accent */
  --blue: #2f6bff;
  --blue-strong: #1f56e6;
  --blue-bright: #4f8dff;
  --blue-soft: #e8f0ff;
  --cyan: #5cc8ff;
  --glow: rgba(47, 107, 255, 0.35);

  /* Liens : bleu nuit des illustrations sur fond clair, bleu ciel des arcs lumineux sur fond sombre */
  --link: #1c3f9e;
  --link-hover: var(--ink);
  --link-underline: rgba(28, 63, 158, 0.35);
  --link-on-dark: #a9cdff;
  --link-on-dark-hover: #ffffff;
  --link-on-dark-underline: rgba(169, 205, 255, 0.4);
  --focus-ring: var(--link);

  --danger: #e5484d;
  --success: #12a37a;

  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --gutter: clamp(16px, 4vw, 40px);
  --container: 1200px;
  --section-space: clamp(72px, 9vw, 120px);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-card: 0 1px 2px rgba(11, 22, 51, 0.04), 0 12px 32px -18px rgba(11, 22, 51, 0.22);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

/* Contour de focus clavier : couleur de lien adaptée au fond de la zone */
.is-dark,
.hero,
.site-header,
.site-footer {
  --focus-ring: var(--link-on-dark);
}

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: var(--blue);
  color: #fff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Thèmes de section ---------- */

.is-dark {
  background: var(--navy-900);
  color: var(--on-dark-soft);
}

.is-dark h1,
.is-dark h2,
.is-dark h3 {
  color: var(--on-dark);
}

.is-light {
  background: var(--white);
}

.is-tinted {
  background: var(--light);
}

.section {
  position: relative;
  padding-block: var(--section-space);
}

/* ---------- Typographie commune ---------- */

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.is-dark .eyebrow {
  color: var(--blue-bright);
}

.section-title {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
}

.section-title em,
.hero-title em {
  font-style: normal;
  color: var(--blue);
}

.is-dark .section-title em,
.is-dark .hero-title em {
  color: var(--blue-bright);
}

.lead {
  font-size: clamp(1.02rem, 1.3vw, 1.12rem);
  line-height: 1.7;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 24px clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 60px);
}

.section-head .lead {
  max-width: 54ch;
  padding-bottom: 6px;
}

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform 0.25s var(--ease);
}

.btn-primary {
  background: linear-gradient(135deg, #3a7bff 0%, #2459f0 100%);
  color: #fff;
  box-shadow: 0 14px 30px -14px var(--glow);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px -14px rgba(47, 107, 255, 0.55);
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

.btn-outline {
  background: var(--white);
  color: var(--link);
  border-color: #cfd8ec;
}

.btn-outline:hover {
  color: var(--link-hover);
  border-color: var(--link);
}

.btn-link {
  min-height: 52px;
  padding: 0;
  background: none;
  color: var(--on-dark);
  font-weight: 600;
}

.btn-link .play {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(143, 180, 255, 0.55);
  border-radius: 50%;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.btn-link .play svg {
  width: 15px;
  height: 15px;
}

.btn-link:hover .play {
  border-color: var(--blue-bright);
  background: rgba(79, 141, 255, 0.14);
}

.btn[disabled] {
  opacity: 0.65;
  cursor: progress;
  transform: none;
}

/* ---------- En-tête ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  color: var(--on-dark);
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(6, 15, 36, 0.94);
  box-shadow: 0 1px 0 var(--on-dark-line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
}

.brand-name {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--on-dark);
  white-space: nowrap;
}

.brand-name span {
  color: var(--blue-bright);
}

.nav-toggle {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav ul a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
  color: var(--on-dark-soft);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.site-nav ul a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: var(--link-on-dark);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}

.site-nav ul a:hover,
.site-nav ul a[aria-current="true"],
.site-nav ul a[aria-current="page"] {
  color: #fff;
}

.site-nav ul a[aria-current="true"]::after,
.site-nav ul a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-cta.btn {
  min-height: 46px;
  padding: 11px 22px;
  font-size: 0.92rem;
  white-space: nowrap;
}

/* Téléphone : dans la navigation sur ordinateur, bouton à côté du menu sur mobile */
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--on-dark);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}

.nav-phone svg {
  width: 18px;
  height: 18px;
  color: var(--link-on-dark);
}

.nav-phone:hover {
  color: var(--link-on-dark-hover);
}

.header-phone {
  display: none;
}

/* Largeurs intermédiaires : téléphone en icône (libellé accessible), espacements resserrés */
@media (min-width: 1101px) and (max-width: 1279px) {
  .site-nav,
  .site-nav ul {
    gap: 22px;
  }

  .nav-phone span {
    display: none;
  }
}

/* Menu replié sous 1100 px : au-delà, les cinq liens, le téléphone et le bouton tiennent sur une ligne */
@media (max-width: 1100px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--on-dark-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--on-dark);
    cursor: pointer;
  }

  .nav-toggle svg {
    width: 22px;
    height: 22px;
  }

  .nav-phone {
    display: none;
  }

  .header-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-left: auto;
    margin-right: -12px;
    border: 1px solid var(--on-dark-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--link-on-dark);
  }

  .header-phone svg {
    width: 22px;
    height: 22px;
  }

  .nav-toggle .icon-close,
  .site-header.is-open .nav-toggle .icon-open {
    display: none;
  }

  .site-header.is-open .nav-toggle .icon-close {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 12px var(--gutter) 28px;
    background: var(--navy-900);
    box-shadow: 0 30px 50px -30px rgba(0, 0, 0, 0.8);
  }

  .js .site-nav {
    display: none;
  }

  .js .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav ul a {
    width: 100%;
    min-height: 54px;
    font-size: 1.08rem;
    border-bottom: 1px solid var(--on-dark-line);
  }

  .site-nav ul a::after {
    display: none;
  }

  .nav-cta.btn {
    min-height: 52px;
  }

  /* Sans JavaScript, la navigation reste visible sous l'en-tête. */
  html:not(.js) .site-header {
    position: absolute;
    height: auto;
    background: var(--navy-900);
  }

  html:not(.js) .header-inner {
    flex-wrap: wrap;
    height: auto;
    padding-block: 14px;
  }

  html:not(.js) .site-nav {
    position: static;
    padding: 0;
    box-shadow: none;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(36px, 6vw, 72px));
  padding-bottom: clamp(56px, 7vw, 88px);
  background:
    radial-gradient(48% 60% at 78% 42%, rgba(47, 107, 255, 0.32), transparent 70%),
    radial-gradient(30% 40% at 96% 8%, rgba(92, 200, 255, 0.16), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(47, 107, 255, 0.12), transparent 70%),
    linear-gradient(180deg, #071029 0%, #0a1838 100%);
  color: var(--on-dark-soft);
  isolation: isolate;
}

.hero-arcs {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: clamp(32px, 4vw, 56px);
}

.hero-copy {
  display: grid;
  justify-items: start;
}

.hero-title {
  color: #fff;
  font-size: clamp(2.4rem, 3.6vw, 3.1rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

/* Le sur-titre du hero porte le H1 : même rendu qu'un paragraphe .eyebrow */
h1.eyebrow {
  line-height: inherit;
  text-wrap: wrap;
}

.br-lg {
  display: none;
}

@media (min-width: 1200px) {
  .br-lg {
    display: inline;
  }
}

.hero-lead {
  max-width: 50ch;
  margin-top: 24px;
  color: #c9d4ee;
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 30px;
  margin-top: 36px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin-top: 40px;
  color: #c9d4ee;
  font-size: 0.92rem;
  font-weight: 500;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-points svg {
  width: 20px;
  height: 20px;
  color: var(--blue-bright);
}

/* Composition : ordinateur + téléphone avec captures réelles */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 640px;
  justify-self: end;
  padding: 0 7% 10% 0;
}

.device-laptop {
  position: relative;
  filter: drop-shadow(0 40px 60px rgba(2, 8, 24, 0.65));
}

.laptop-screen {
  position: relative;
  padding: 2.2% 2.2% 2.6%;
  border-radius: 18px 18px 6px 6px;
  background: linear-gradient(180deg, #1b2433, #0c111b);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.laptop-screen img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  border-radius: 6px;
}

.laptop-base {
  position: relative;
  height: 14px;
  margin: 0 -6%;
  border-radius: 2px 2px 14px 14px;
  background: linear-gradient(180deg, #c9d2e3 0%, #8b96ad 55%, #5d6880 100%);
}

.laptop-base::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 16%;
  height: 6px;
  border-radius: 0 0 8px 8px;
  background: rgba(0, 0, 0, 0.18);
  transform: translateX(-50%);
}

.device-phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 27%;
  padding: 2.6% 2.2%;
  border-radius: 30px;
  background: linear-gradient(160deg, #26314a, #0b101a);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 40px 60px -20px rgba(2, 8, 24, 0.8);
}

.device-phone img {
  width: 100%;
  aspect-ratio: 9 / 18;
  object-fit: cover;
  object-position: top;
  border-radius: 22px;
}

.device-phone::before {
  content: "";
  position: absolute;
  top: 4.2%;
  left: 50%;
  width: 26%;
  height: 2.2%;
  min-height: 6px;
  border-radius: 99px;
  background: #0b101a;
  transform: translateX(-50%);
  z-index: 1;
}

/* ---------- Démarche (clair) ---------- */

.approach-note {
  margin-top: 16px;
  color: var(--ink);
  font-weight: 600;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

.step {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 12px;
  text-align: center;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #ffffff 0%, var(--blue-soft) 70%);
  box-shadow: 0 0 0 1px #d8e5ff, 0 16px 30px -18px rgba(47, 107, 255, 0.6);
  color: var(--blue);
}

.step-icon svg {
  width: 30px;
  height: 30px;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 38px;
  left: calc(50% + 52px);
  right: calc(-50% + 40px);
  height: 2px;
  background: linear-gradient(90deg, #c9d8f5, #e3ebf8);
  -webkit-mask: linear-gradient(90deg, #000 70%, transparent);
  mask: linear-gradient(90deg, #000 70%, transparent);
}

.step h3 {
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}

.step p {
  max-width: 24ch;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ---------- Ce que je réalise (sombre) ---------- */

.services {
  background:
    radial-gradient(50% 60% at 85% 0%, rgba(47, 107, 255, 0.18), transparent 70%),
    linear-gradient(180deg, #0a1736 0%, #081430 100%);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(36, 60, 120, 0.42) 0%, rgba(16, 30, 66, 0.55) 100%);
  box-shadow: inset 0 0 0 1px rgba(170, 196, 255, 0.1);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 1px rgba(170, 196, 255, 0.22), 0 30px 50px -30px rgba(0, 0, 0, 0.7);
}

.service-art {
  display: grid;
  place-items: center;
  height: 170px;
  background: radial-gradient(60% 70% at 50% 60%, rgba(79, 141, 255, 0.28), transparent 72%);
}

.service-art svg {
  width: 150px;
  height: auto;
  filter: drop-shadow(0 18px 24px rgba(4, 12, 34, 0.55));
}

.service-body {
  padding: 4px 26px 30px;
}

.service-body h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
  letter-spacing: -0.01em;
}

.service-body p {
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Carte entièrement cliquable : le lien du titre couvre la carte */
.service-card {
  position: relative;
}

.service-title-link {
  color: inherit;
  text-decoration: none;
}

.service-title-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.service-title-link:focus-visible {
  outline: none;
}

.service-card:focus-within {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.service-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--link-on-dark);
  font-size: 0.88rem;
  font-weight: 700;
}

.service-more svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}

.service-card:hover .service-more svg {
  transform: translateX(3px);
}

/* ---------- Réalisations (clair) : grille de tuiles ---------- */

.work-head {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr);
  gap: 28px clamp(40px, 8vw, 140px);
  align-items: end;
  margin-bottom: clamp(44px, 5vw, 64px);
}

.work-title {
  max-width: 15ch;
  font-size: clamp(2.3rem, 4.3vw, 3.5rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.022em;
}

.work-head-aside {
  position: relative;
  justify-self: end;
  max-width: 30ch;
  padding-top: 22px;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.65;
}

.work-head-aside::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 3px;
  border-radius: 3px;
  background: var(--blue);
}

/* Grille : une colonne par défaut, composition asymétrique au-delà de 700 px */
.metro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.tile {
  --tile-bg: linear-gradient(150deg, #edf2ff 0%, #d4e0ff 100%);
  --tile-ink: var(--ink);
  --tile-cat: var(--blue);
  position: relative;
  border-radius: 26px;
  box-shadow: 0 30px 60px -44px rgba(11, 22, 51, 0.55);
}

.tile:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 4px;
}

.tile-hm {
  --tile-bg: linear-gradient(150deg, #eef3ff 0%, #cfdcff 100%);
}

.tile-lc {
  --tile-bg: linear-gradient(150deg, #f3f1ff 0%, #dcd8fb 100%);
  --tile-cat: #5a4fd6;
}

.tile-hs {
  --tile-bg: linear-gradient(150deg, #f6f3ee 0%, #e4ddd2 100%);
  --tile-cat: #8a5a3a;
}

.tile-fg,
.tile-sm {
  --tile-bg: radial-gradient(80% 70% at 70% 30%, rgba(79, 141, 255, 0.28), transparent 70%), linear-gradient(160deg, #11244f 0%, #081430 100%);
  --tile-ink: #fff;
  --tile-cat: var(--blue-bright);
}

.tile-p4 {
  --tile-bg: linear-gradient(160deg, #3a78ff 0%, #1b45c9 100%);
  --tile-ink: #fff;
  --tile-cat: #cfe0ff;
}

/* Recto */
.tile-front {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  height: 360px;
  padding: 26px 28px 0;
  border-radius: 26px 26px 0 0;
  background: var(--tile-bg);
  color: var(--tile-ink);
  overflow: hidden;
}

.tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 34px;
}

.tile-cat {
  color: var(--tile-cat);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tile-hint {
  display: none;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
}

.tile-hint svg {
  width: 16px;
  height: 16px;
}

.tile-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.tile-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffb547;
}

.tile-name {
  margin-top: 8px;
  color: inherit;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.tile-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 20px 0 28px;
}

/* Capture desktop dans une fenêtre, entièrement visible */
.tile-window {
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 50px -24px rgba(11, 22, 51, 0.45), 0 0 0 1px rgba(11, 22, 51, 0.06);
}

.tile-window::before {
  content: "";
  display: block;
  flex: none;
  height: 22px;
  background:
    radial-gradient(circle at 14px 11px, #ff6b6b 3.6px, transparent 4px),
    radial-gradient(circle at 28px 11px, #ffc94d 3.6px, transparent 4px),
    radial-gradient(circle at 42px 11px, #3ccf8e 3.6px, transparent 4px),
    #f1f4f9;
  border-bottom: 1px solid #e3e8f1;
}

.tile-window.is-wide {
  width: 100%;
}

.tile-window.is-wide img {
  width: 100%;
}

.tile-window.is-tall {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 100%;
}

.tile-window.is-tall img {
  height: calc(100% - 22px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* Capture mobile dans un cadre de téléphone, entièrement visible */
.tile-phone {
  height: 100%;
  padding: 7px;
  border-radius: 28px;
  background: #0f1524;
  box-shadow: 0 24px 44px -20px rgba(11, 22, 51, 0.55);
}

.tile-phone img {
  height: 100%;
  width: auto;
  border-radius: 22px;
}

/* FileGuard : composition graphique à partir de son identité */
.fg-art {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.fg-docs {
  width: auto;
  height: 92%;
  max-width: 100%;
}

.fg-shield {
  position: absolute;
  bottom: 4%;
  left: 50%;
  width: auto;
  height: 46%;
  transform: translateX(-50%);
  filter: drop-shadow(0 14px 22px rgba(4, 12, 34, 0.6)) drop-shadow(0 0 22px rgba(79, 160, 230, 0.35));
}

/* Logo d'un produit sur fond de tuile (visuel sans capture) */
.brand-art {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.brand-art img {
  width: auto;
  height: 78%;
  max-height: 260px;
  filter: drop-shadow(0 18px 28px rgba(4, 12, 34, 0.55)) drop-shadow(0 0 26px rgba(79, 160, 230, 0.3));
}

/* Verso : informations (toujours présentes dans le HTML) */
.tile-back {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 28px 30px;
  border-radius: 0 0 26px 26px;
  background: linear-gradient(160deg, #10224b 0%, #081430 100%);
  color: #c9d4ee;
}

.tile-back-name {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.tile-back-name .tile-status {
  background: rgba(255, 255, 255, 0.12);
}

.tile-desc {
  font-size: 0.95rem;
  line-height: 1.6;
}

.tile-points {
  display: grid;
  gap: 7px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.tile-points li {
  position: relative;
  padding-left: 18px;
}

.tile-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-bright);
}

.tile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.tile-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: auto;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.25s var(--ease);
}

.tile-links .tile-link {
  margin-top: 0;
}

.tile-link svg {
  width: 15px;
  height: 15px;
}

.tile-link:hover {
  background: var(--blue-strong);
}

.tile-link.is-secondary {
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(196, 214, 255, 0.35);
}

.tile-link.is-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Lien vers la page Réalisations, sous la grille */
.work-foot {
  display: flex;
  justify-content: center;
  margin-top: clamp(36px, 4vw, 52px);
}

/* Composition asymétrique (tablette et desktop).
   Homepage : HostManager, Social Manager, ListeCourses, Hestia.
   Page Réalisations (.is-catalog) : les mêmes, puis FileGuard et 4 en ligne. */
@media (min-width: 701px) {
  .metro {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .tile-hm,
  .tile-hs {
    grid-column: span 12;
  }

  .tile-sm,
  .tile-lc,
  .tile-fg,
  .tile-p4 {
    grid-column: span 6;
  }
}

@media (min-width: 1121px) {
  .tile-hm {
    grid-column: 1 / span 7;
  }

  .tile-sm {
    grid-column: 8 / span 5;
  }

  .tile-lc {
    grid-column: 1 / span 5;
  }

  .tile-hs {
    grid-column: 6 / span 7;
  }

  .tile-fg {
    grid-column: 1 / span 7;
  }

  .tile-p4 {
    grid-column: 8 / span 5;
  }
}

/* Bascule 3D : uniquement avec une souris (le verso reste accessible au clavier via le focus) */
@media (min-width: 701px) and (hover: hover) and (pointer: fine) {
  .metro {
    grid-template-rows: 420px 380px 380px;
  }

  .metro.is-catalog {
    grid-template-rows: 420px 380px 380px 380px;
  }

  .tile {
    perspective: 1600px;
  }

  .tile-inner {
    position: relative;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.7s cubic-bezier(0.2, 0.75, 0.25, 1);
  }

  .tile-face {
    position: absolute;
    inset: 0;
    height: auto;
    border-radius: 26px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }

  .tile-back {
    justify-content: center;
    padding-inline: clamp(28px, 3.4vw, 48px);
    background:
      radial-gradient(70% 60% at 85% 0%, rgba(79, 141, 255, 0.22), transparent 70%),
      linear-gradient(160deg, #10224b 0%, #081430 100%);
    transform: rotateY(180deg);
  }

  .tile-back > * {
    max-width: 54ch;
  }

  .tile-back .tile-link,
  .tile-back .tile-links {
    margin-top: 6px;
  }

  .tile-hint {
    display: grid;
  }

  .tile-back-name {
    display: flex;
  }

  .tile:hover .tile-inner,
  .tile:focus-within .tile-inner {
    transform: rotateY(180deg);
  }

  .tile:hover .tile-front,
  .tile:focus-within .tile-front {
    pointer-events: none;
  }

  .tile-p4 .tile-back {
    padding: 24px 22px;
  }
}

@media (min-width: 1121px) and (hover: hover) and (pointer: fine) {
  .metro {
    grid-template-rows: 440px 380px;
  }

  .metro.is-catalog {
    grid-template-rows: 440px 380px 380px;
  }
}

@media (max-width: 960px) {
  .work-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .work-head-aside {
    justify-self: start;
  }
}

@media (max-width: 700px) {
  .tile-hm .tile-front {
    height: 270px;
  }

  .tile-hs .tile-front,
  .tile-sm .tile-front,
  .tile-fg .tile-front {
    height: 320px;
  }

  .tile-lc .tile-front,
  .tile-p4 .tile-front {
    height: 420px;
  }

  .tile-front {
    padding: 22px 22px 0;
  }

  .tile-visual {
    padding: 16px 0 24px;
  }

  .tile-back {
    padding: 22px 22px 26px;
  }
}

/* ---------- Technologie & IA (sombre) ---------- */

.tech {
  overflow: hidden;
  background:
    radial-gradient(40% 70% at 50% 55%, rgba(47, 107, 255, 0.3), transparent 70%),
    linear-gradient(180deg, #081430 0%, #0a1838 100%);
}

.tech-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.tech-title {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
}

.tech-title span {
  display: block;
  color: var(--blue-bright);
}

.tech-copy .lead {
  margin-top: 20px;
}

.tech-copy p + p {
  margin-top: 14px;
}

.tech-art {
  display: grid;
  place-items: center;
}

.tech-art svg {
  width: 100%;
  max-width: 320px;
  height: auto;
}

.ai-panel {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(36, 60, 120, 0.4), rgba(14, 28, 62, 0.6));
  box-shadow: inset 0 0 0 1px rgba(170, 196, 255, 0.14);
}

.ai-panel-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.ai-panel-head svg {
  width: 28px;
  height: 28px;
  flex: none;
  color: var(--blue-bright);
}

.ai-panel h3 {
  font-size: 1.2rem;
}

.ai-panel p {
  font-size: 0.96rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.chips li {
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(79, 141, 255, 0.14);
  color: #d4e0ff;
  font-size: 0.82rem;
  font-weight: 600;
}

/* ---------- À propos (clair) ---------- */

.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.95fr) minmax(0, 0.8fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.about-title {
  font-size: clamp(1.9rem, 2.8vw, 2.4rem);
}

.about-role {
  margin-top: 14px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 700;
}

.about-text {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.about-text + .btn {
  margin-top: 28px;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 28px;
}

.about-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--link);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.about-more svg {
  width: 17px;
  height: 17px;
  transition: transform 0.25s var(--ease);
}

.about-more:hover {
  color: var(--link-hover);
}

.about-more:hover svg {
  transform: translateX(3px);
}

/* Photo détourée de Christophe, posée sur le fond bleu foncé */
.about-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(70% 55% at 70% 20%, rgba(79, 141, 255, 0.45), transparent 70%),
    linear-gradient(160deg, #10224b 0%, #081430 100%);
  box-shadow: 0 30px 60px -30px rgba(11, 22, 51, 0.55);
}

/* Silhouette ancrée en bas, sur toute la largeur : les épaules rejoignent les bords du cadre */
.about-photo img {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: auto;
}

.about-facts {
  display: grid;
  gap: 14px;
}

.about-facts li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 4px 14px;
  align-items: start;
  padding: 18px 18px 18px 16px;
  border-radius: var(--radius);
  background: var(--light);
}

.about-facts .fact-icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 6px 14px -10px rgba(11, 22, 51, 0.5);
}

.about-facts .fact-icon svg {
  width: 22px;
  height: 22px;
}

.about-facts strong {
  color: var(--ink);
  font-size: 0.98rem;
}

.about-facts span:not(.fact-icon) {
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ---------- CTA final & contact (sombre) ---------- */

.contact {
  overflow: hidden;
  background:
    radial-gradient(45% 55% at 85% 10%, rgba(47, 107, 255, 0.35), transparent 70%),
    radial-gradient(40% 50% at 5% 95%, rgba(92, 200, 255, 0.12), transparent 70%),
    linear-gradient(180deg, #0a1838 0%, #071029 100%);
  isolation: isolate;
}

.contact .hero-arcs {
  opacity: 0.7;
}

.cta-final {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 28px clamp(32px, 6vw, 96px);
  align-items: end;
  padding-bottom: clamp(48px, 6vw, 72px);
  border-bottom: 1px solid var(--on-dark-line);
}

.cta-title {
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.022em;
}

.cta-title span {
  display: block;
  color: var(--blue-bright);
}

.cta-side {
  display: grid;
  gap: 24px;
  justify-items: start;
}

.cta-side .lead {
  color: #c9d4ee;
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  padding-top: clamp(48px, 6vw, 72px);
}

.contact-aside h3 {
  font-size: 1.5rem;
}

.contact-aside p {
  margin-top: 12px;
}

.contact-address {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: var(--on-dark);
  font-weight: 600;
}

.contact-address svg {
  width: 20px;
  height: 20px;
  color: var(--blue-bright);
}

.contact-lines {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.contact-lines .contact-address {
  margin-top: 0;
}

.contact-lines a {
  text-decoration: none;
}

.contact-lines a:hover {
  color: #fff;
  text-decoration: underline;
}

.contact-form {
  display: grid;
  gap: 20px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--text);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.field .optional {
  color: var(--muted);
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid #d5ddeb;
  border-radius: 12px;
  background: var(--light);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%232f6bff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.field textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.55;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9aa4ba;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.15);
}

.field.has-error input,
.field.has-error textarea {
  border-color: var(--danger);
}

.field-error {
  color: var(--danger);
  font-size: 0.86rem;
  font-weight: 600;
}

.form-notice {
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
}

.form-notice.is-error {
  background: #fdecec;
  color: #a2262b;
}

.form-notice.is-success {
  background: #e6f7f0;
  color: #0b7354;
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.form-privacy {
  max-width: 44ch;
  color: var(--muted);
  font-size: 0.84rem;
}

.form-privacy a {
  color: var(--link);
  text-decoration-color: var(--link-underline);
  text-underline-offset: 3px;
}

.form-privacy a:hover {
  color: var(--link-hover);
  text-decoration-color: currentColor;
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Pied de page ---------- */

.site-footer {
  padding-block: 56px 36px;
  background: var(--navy-950);
  color: var(--on-dark-soft);
  font-size: 0.92rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-inner h2 {
  margin-bottom: 14px;
  color: var(--on-dark);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-inner p + p {
  margin-top: 6px;
}

.footer-inner a {
  text-decoration: none;
}

.footer-inner a:hover {
  color: #fff;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 40px;
  padding-top: 24px;
  padding-right: 64px; /* place du bouton « retour en haut » */
  border-top: 1px solid var(--on-dark-line);
  font-size: 0.85rem;
}

/* ---------- Retour en haut ---------- */

.back-to-top {
  position: fixed;
  right: max(var(--gutter), env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(196, 214, 255, 0.22);
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 28px -10px var(--glow), 0 2px 6px rgba(5, 12, 29, 0.25);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s, background-color 0.2s var(--ease);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
}

.back-to-top:hover {
  background: var(--blue-strong);
}

/* Avec JavaScript : masqué tant que l'on n'a pas défilé */
.js .back-to-top:not(.is-visible) {
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  pointer-events: none;
}

/* ---------- Apparition au défilement (une seule fois) ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.js .hero-visual {
  animation: hero-in 1.1s var(--ease) 0.1s both;
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive ---------- */

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


  .tech-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .tech-art {
    grid-row: span 2;
    order: 2;
  }

  .about-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }

  .about-facts {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 68px;
  }

  .hero-inner,
  .cta-final,
  .contact-inner,
  .section-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    justify-self: center;
    max-width: 560px;
    margin-top: 12px;
  }

  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 40px;
  }

  .step:nth-child(3)::after {
    display: none;
  }

  .tech-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .tech-art {
    grid-row: auto;
    order: 0;
  }

  .tech-art svg {
    max-width: 240px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .brand-name {
    font-size: 0.8rem;
    letter-spacing: 0.18em;
  }

  .hero-actions .btn-primary {
    width: 100%;
  }

  .hero-points {
    gap: 12px 22px;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 14px;
  }

  .step {
    grid-template-columns: 60px 1fr;
    justify-items: start;
    gap: 2px 18px;
    text-align: left;
    padding: 16px;
    border-radius: var(--radius);
    background: var(--light);
  }

  .step-icon {
    grid-row: span 2;
    width: 60px;
    height: 60px;
    margin: 0;
  }

  .step-icon svg {
    width: 24px;
    height: 24px;
  }

  .step::after {
    display: none;
  }

  .step p {
    max-width: none;
  }

  .service-grid {
    grid-template-columns: minmax(0, 1fr);
  }


  .service-art {
    height: 150px;
  }

  .about-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Cadre carré sur mobile : tête dégagée, menton, col et haut du polo visibles */
  .about-photo {
    aspect-ratio: 1 / 1;
  }

  .about-photo img {
    top: 3%;
    bottom: auto;
  }

  .about-facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-foot .btn,
  .cta-side .btn {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}
