@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

/* ===== Base : variables, reset, typographie ===== */
:root {
  --ink: #18354a;
  --ink-2: #28495f;
  --muted: #647887;
  --blue: #276e8e;
  --blue-dark: #1b536f;
  --aqua: #d9e9eb;
  --paper: #fff;
  --soft: #f4f7f7;
  --line: #dfe7e9;
  --green: #477c72;
  --radius: 14px;
  --shadow: 0 20px 55px rgba(27,62,80,.09);

  /* Voile blanc sur la photo du hero : 0 = photo pleine, 1 = photo invisible */
  --hero-veil: .25;

  /* ===== ÉCHELLE DES TEXTES =====
     Valeurs ORDINATEUR. Elles sont redéfinies plus bas, dans les blocs
     « Responsive » (tablette ≤ 900 px, smartphone ≤ 720 px). */
  --fs-xs: 12px;        /* très petits textes, bouton Menu */
  --fs-ui: 13px;        /* boutons et liens d'action */
  --fs-consent: 13px;   /* case à cocher du formulaire */
  --fs-label: 14px;     /* numéros, libellés, mentions, sur-titres */
  --fs-intro: 15px;     /* paragraphe d'introduction (Approche) */
  --fs-small: 16px;     /* textes courants des cartes et du formulaire */
  --fs-body: 16px;      /* texte de base du site et du hero */
  --fs-nav: 16px;       /* liens du menu */
  --fs-text: 18px;      /* paragraphes d'introduction de section */
  --fs-title: 21px;     /* titres de cartes (h3) */
  --fs-number: 28px;    /* grands chiffres (méthode, repères) */
  --fs-monogram: 64px;  /* initiales du cadre photo provisoire */
  --fs-h1: clamp(35px, 3.5vw, 52px);     /* titre principal du hero */
  --fs-h2: clamp(32px, 3.3vw, 43px);     /* titres de section */
  --fs-h2-big: clamp(35px, 3.6vw, 47px); /* titre « Parlons de votre projet » */
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans',Arial,sans-serif;
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
.container {
  width: min(1220px,calc(100% - 48px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: white;
  padding: 10px;
}
.skip-link:focus {
  left: 8px;
  z-index: 99;
}

/* ===== En-tête et navigation ===== */
.site-header {
  border-bottom: 1px solid rgba(223,231,233,.8);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  height: 76px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 1px 0 rgba(20,54,80,.08);
}
.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  justify-content: space-between;
  gap: 30px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0;
}
.navigation {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: var(--fs-nav);
  font-weight: 600;
  color: #526977;
}
.brand-mark {
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--ink);
  border-radius: 12px;
  color: white;
  font-family: Manrope,sans-serif;
  font-size: var(--fs-intro);
  font-weight: 800;
  letter-spacing: -1px;
  display: none;
}
.brand-mark span {
  color: #83c1c0;
}
.brand-copy {
  display: grid;
  line-height: 1.3;
}
.brand-copy strong {
  font: 800 var(--fs-intro) Manrope,sans-serif;
  font-size: var(--fs-text);
  letter-spacing: -.4px;
}
.brand-copy small {
  color: var(--muted);
  margin-top: 4px;
  font-size: var(--fs-xs);
}
.navigation>a:not(.nav-contact):hover,
.text-link:hover {
  color: var(--blue);
}
.navigation>a.active {
  color: var(--blue);
  position: relative;
}
.navigation>a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 2px;
  background: var(--blue);
}
.nav-contact {
  background: #edf4f5;
  padding: 11px 15px;
  border-radius: 8px;
  color: var(--ink);
}
.nav-contact span {
  margin-left: 6px;
  color: var(--blue);
}
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: white;
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--ink);
}

/* ===== Hero (bandeau d'accueil) ===== */
.hero {
  display: flex;
  align-items: center;
  min-height: 0;
  background: linear-gradient(115deg,#f5f8f7 0%,#f3f7f6 52%,#e8f1f1 100%);
  position: relative;
  overflow: hidden;
  background-image: linear-gradient( 90deg, rgba(239, 247, 252, 0.78) 0%, rgba(239, 247, 252, 0.86) 34%, rgba(239, 247, 252, 0.32) 62%, rgba(239, 247, 252, 0.02) 100% ), url("assets/photo_2.avif");
  background-position: center, center 48%;
  background-size: cover;
  background-repeat: no-repeat;
  border: 0;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(24px, 4vw, 54px);
  min-height: 350px;
  padding-block: 42px;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: var(--fs-label);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow-line {
  width: 26px;
  height: 2px;
  background: #78a9ab;
  display: inline-block;
}
.hero h1 {
  font-family: Manrope,'DM Sans',sans-serif;
  line-height: 1.12;
  font-weight: 700;
  margin: 0 0 24px;
  max-width: 590px;
  margin-bottom: 17px;
  color: #173d5d;
  font-size: var(--fs-h1);
  letter-spacing: -1.3px;
}
.section h2 {
  font-family: Manrope,'DM Sans',sans-serif;
  line-height: 1.12;
  font-weight: 700;
  font-size: var(--fs-h2);
  margin: 0;
  letter-spacing: -.8px;
}
.hero h1 em {
  font-style: normal;
  color: #1c629e;
}
.section h2 em {
  font-style: normal;
  color: var(--blue);
}
.hero-lead {
  margin: 0;
  max-width: 520px;
  color: #294c67;
  font-size: var(--fs-body);
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 0;
  font-weight: 700;
  font-size: var(--fs-ui);
  cursor: pointer;
  transition: transform .2s,background .2s;
  border-radius: 4px;
  padding: 13px 17px;
}
.button:hover {
  transform: translateY(-2px);
}
.button-primary {
  color: white;
  background: #1767a8;
  box-shadow: none;
}
.button-primary:hover {
  background: var(--blue-dark);
}
.button span {
  font-size: var(--fs-text);
  line-height: 1;
}
.text-link {
  font-size: var(--fs-ui);
  font-weight: 700;
  color: var(--ink-2);
}
.text-link span {
  margin-left: 5px;
  color: var(--blue);
}
.hero-proof {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 560px;
  margin-top: 22px;
  color: #34566d;
  font-size: var(--fs-label);
  line-height: 1.6;
}
.proof-dot,
.status-dot {
  width: 8px;
  height: 8px;
  display: inline-block;
  background: #6a9d91;
  border-radius: 50%;
  flex-shrink: 0;
}
.hero-decoration {
  position: absolute;
  border: 1px solid rgba(80,137,151,.12);
  border-radius: 50%;
  pointer-events: none;
  display: none;
}
.decor-one {
  width: 500px;
  height: 500px;
  right: -160px;
  top: -220px;
}
.decor-two {
  width: 700px;
  height: 700px;
  right: -260px;
  top: -310px;
}


/* ===== Sections : introduction, services, expertises, méthode ===== */
.section {
  padding: 54px 0;
}
.intro-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 54px;
  align-items: center;
}
.intro-text {
  padding-top: 7px;
  color: #607582;
  font-size: var(--fs-intro);
}
.intro-text p {
  margin: 0 0 16px;
}
.services {
  padding-block: 36px 42px;
  background: #fff;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  margin-bottom: 28px;
}
.section-heading h2 {
  margin-top: 4px;
}
.section-heading>p {
  max-width: 380px;
  color: #70828c;
  font-size: var(--fs-small);
  margin: 0 0 4px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 0;
  border-top: 1px solid #e4edf3;
  border-bottom: 1px solid #e4edf3;
}
.service-card {
  /* Grille : [icône + n° / thème] / titre / texte / lien */
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto 1fr auto;
  row-gap: 0;
  column-gap: 10px;
  align-items: center;
  transition: transform .2s,box-shadow .2s;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  min-height: 0;
  padding: 22px 20px 20px 20px;
  border-right: 1px solid #e4edf3;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.service-card.featured {
  border-color: #b9d2d4;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  min-height: 0;
  padding: 22px 20px 20px;
  border-right: 1px solid #e4edf3;
}
.service-icon,
.project-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #eaf3fa;
  color: #175d97;
  grid-column: 1;
  grid-row: 1;
}
.service-icon svg,
.project-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-number {
  font-weight: 700;
  margin: 0;
  grid-column: 2;
  grid-row: 1;
  font-size: var(--fs-label);
  letter-spacing: 1px;
  color: #47789c;
}
.service-card h3 {
  font-family: Manrope,sans-serif;
  letter-spacing: -.4px;
  margin: 18px 0 0;
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: var(--fs-title);
  line-height: 1.3;
}
.service-card>p:not(.service-number) {
  grid-column: 1 / -1;
  grid-row: 3;
  align-self: start;
  margin: 12px 0 24px;
  font-size: var(--fs-small);
  line-height: 1.6;
  color: #4d6a80;
}
.card-link {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  grid-column: 1 / -1;
  grid-row: 4;
  align-items: center;
  min-height: calc(3.3em + 13px); /* même hauteur même si le lien passe sur 2 lignes */
  padding-top: 13px;
  border-top: 1px solid #edf1f2;
  font-weight: 700;
  color: var(--ink-2);
  font-size: var(--fs-small);
}
.card-link span {
  color: var(--blue);
  font-size: var(--fs-title);
}
.expertise {
  background: #eef5fa;
}
.expertise-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 55px;
}
.expertise-intro h2 {
  font-size: var(--fs-h2);
  margin-bottom: 22px;
}
.expertise-intro>p:not(.eyebrow) {
  color: #6a7e88;
  font-size: var(--fs-text);
  margin: 0 0 16px;
}
.expertise-intro .text-link {
  display: inline-block;
  margin-top: 14px;
}
.expertise-list {
  border-top: 1px solid var(--line);
}
.expertise-list article {
  display: grid;
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
  grid-template-columns: 30px 1fr;
  gap: 12px;
}
.expertise-index {
  font-size: var(--fs-label);
  color: #7da1a7;
  font-weight: 700;
  padding-top: 4px;
}
.expertise-list h3 {
  font: 700 var(--fs-title) Manrope,sans-serif;
  margin: 0 0 7px;
  letter-spacing: -.3px;
}
.expertise-list p {
  color: #71828b;
  margin: 0;
  max-width: 600px;
  font-size: var(--fs-small);
  line-height: 1.6;
}
.method {
  color: var(--ink);
  background: #fff;
}
.method .eyebrow {
  color: var(--blue);
}
.method .section-heading>p {
  color: #3f5d73;
  font-size: var(--fs-small); /* 16px ; mettre 15px ou 14px pour réduire encore */
}
.method h2 {
  color: var(--ink);
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 25px;
}
.method-grid article {
  border-top: 2px solid #d8e7f1;
  padding-top: 18px;
}
.method-step {
  font: 700 var(--fs-number) Manrope,sans-serif;
  letter-spacing: -1px;
  color: #1c629e;
}
.method-grid h3 {
  font: 700 var(--fs-title) Manrope,sans-serif;
  margin: 18px 0 9px;
  color: var(--ink);
}
.method-grid p {
  color: #3f5d73;
  font-size: var(--fs-small);
  line-height: 1.8;
  margin: 0;
}
.method-note {
  display: flex;
  align-items: center;
  gap: 17px;
  background: #eef5fa;
  border: 1px solid #d8e7f1;
  border-radius: 10px;
  padding: 18px 22px;
  margin-top: 36px;
}
.method-note-mark {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 9px;
  background: #31566a;
  color: #a8d1d0;
  font-size: var(--fs-title);
  flex-shrink: 0;
}
.method-note p {
  font-size: var(--fs-small);
  line-height: 1.7;
  color: #3f5d73;
  margin: 0;
}
.method-note strong {
  color: var(--ink);
}

/* ===== Contact et formulaire ===== */
.contact {
  background: #eef5fa;
  padding-block: 46px;
}
.contact-grid {
  display: grid;
  align-items: start;
  grid-template-columns: .85fr 1.15fr;
  gap: 60px;
}
.contact-copy h2 {
  font-size: var(--fs-h2-big);
  margin-bottom: 20px;
}
.contact-copy>p:not(.eyebrow) {
  color: #6a7e88;
  font-size: var(--fs-text);
  line-height: 1.85;
  margin: 0 0 28px;
  max-width: 390px;
}
.contact-promise {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 17px;
}
.promise-icon {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  background: #deecea;
  color: #3c7a70;
  border-radius: 50%;
  font-size: var(--fs-small);
  font-weight: 800;
  flex-shrink: 0;
}
.contact-promise span:last-child {
  display: grid;
  line-height: 1.4;
}
.contact-promise strong {
  font-size: var(--fs-small);
}
.contact-promise small {
  font-size: var(--fs-label);
  color: #7c8e96;
  margin-top: 4px;
}
.contact-form-wrap {
  border: 1px solid #e4ebec;
  border-radius: 3px;
  box-shadow: none;
  border-color: #dbe7ef;
  padding: 25px;
  background: rgba(255,255,255,.88);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 13px;
  gap: 5px;
}
.form-field label {
  font-size: var(--fs-label);
  font-weight: 700;
  color: #3c596a;
}
.form-field label span,
.consent span span {
  color: #397d8b;
}
.form-field input,
.form-field select {
  width: 100%;
  border: 1px solid #dce6e8;
  color: var(--ink);
  font-size: var(--fs-small);
  outline: none;
  transition: border .2s,box-shadow .2s;
  border-radius: 2px;
  background: #fff;
  padding: 10px 11px;
}
.form-field textarea {
  width: 100%;
  border: 1px solid #dce6e8;
  color: var(--ink);
  font-size: var(--fs-small);
  outline: none;
  transition: border .2s,box-shadow .2s;
  resize: vertical;
  border-radius: 2px;
  background: #fff;
  padding: 10px 11px;
  min-height: 100px;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #79aab3;
  box-shadow: 0 0 0 3px rgba(80,143,155,.12);
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #a0adb3;
}
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #7c8c94;
  font-size: var(--fs-consent);
  line-height: 1.6;
  margin: 0 0 20px;
}
.consent input {
  accent-color: var(--blue);
  margin-top: 3px;
}
.submit-button {
  width: auto;
  justify-content: center;
}
.form-privacy {
  font-size: var(--fs-label);
  color: #92a0a5;
  margin: 13px 0 0;
  text-align: center;
}
.form-notice {
  font-size: var(--fs-small);
  color: var(--blue);
  margin: 12px 0 0;
}

/* ===== Pied de page ===== */
.site-footer {
  color: #dbe6e9;
  background: #173d5a;
  padding: 20px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-brand {
  font-size: var(--fs-small);
  font-weight: 700;
}
.footer-brand span {
  font-weight: 400;
  color: #9fb4bd;
  margin-left: 7px;
}
.footer-inner>p {
  font-size: var(--fs-label);
  color: #9fb4bd;
}
.footer-links {
  display: flex;
  gap: 20px;
  font-size: var(--fs-label);
  color: #b9c9ce;
}
.footer-links a:hover {
  color: white;
}

/* ===== Retouches navigation / hero / services / logo ===== */
.navigation a {
  font-size: var(--fs-nav);
}
.navigation a:not(.nav-contact) {
  color: #244761;
}
.navigation .nav-contact {
  background: transparent;
  color: #175a9a;
  border: 1px solid #d5e3ef;
  border-radius: 5px;
  padding: 10px 14px;
}
.hero-copy {
  max-width: 600px;
}
.hero .eyebrow {
  color: #1d6096;
}
.intro {
  background: #fff;
  padding-block: 34px;
}
.intro h2 {
  letter-spacing: -.8px;
}
.service-card:last-child {
  border-right: 0;
}
.brand-logo {
  display: block;
  width: 190px;
  max-width: 42vw;
  height: auto;
  object-fit: contain;
}
.hero-visual.hero-illustration-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  margin: 0;
  transform: none;
}
.hero-illustration {
  display: block;
  width: 100%;
  max-width: 510px;
  margin-left: auto;
  transform: translateX(clamp(0px, 4vw, 56px)); /* décalage vers la droite */
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  filter: drop-shadow(0 14px 24px rgba(29, 62, 83, 0.08));
}

/* ===== Réalisations ===== */
.portfolio {
  background: #fff;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));   /* 3 cartes, puis 2 plus larges */
  gap: 22px;
}
.project-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: #f8fbfd;
  border: 1px solid #e4edf3;
  border-radius: 12px;
  transition: transform .2s, box-shadow .2s;
}
.project-card:nth-child(n+4) {
  grid-column: span 3;
}
.project-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.project-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.project-sector {
  margin: 0;
  color: #47789c;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.4;
  text-transform: uppercase;
}
.project-card h3 {
  margin: 18px 0 8px;
  color: var(--ink);
  font-family: Manrope, sans-serif;
  font-size: var(--fs-title);
  letter-spacing: -.4px;
  line-height: 1.3;
}
.project-text {
  margin: 0 0 20px;
  color: #4d6a80;
  font-size: var(--fs-small);
  line-height: 1.65;
}
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}
.project-tags li {
  padding: 4px 12px;
  border-radius: 999px;
  background: #eaf3fa;
  color: #175d97;
  font-size: var(--fs-label);
  font-weight: 600;
  line-height: 1.5;
}
.project-cta {
  margin: 32px 0 0;
}

/* ===== À propos ===== */
.about {
  background: #f6fafc;
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .5fr) minmax(0, 1.5fr);
  gap: clamp(30px, 4.5vw, 70px);
  align-items: center;
}
.about-photo {
  margin: 0;
}
.about-photo-frame,
.about-photo img {
  display: block;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  object-fit: cover;
}
.about-photo-frame {
  display: grid;
  place-items: center;
  border: 1px solid #d8e7f1;
  background: linear-gradient(135deg, #dcebf3, #f3f8fb);
  color: #1c629e;
  font: 700 var(--fs-monogram) Manrope, sans-serif;
  letter-spacing: -2px;
}
.about-photo figcaption {
  margin-top: 12px;
  color: #4d6a80;
  font-size: var(--fs-label);
}
.about-copy h2 {
  max-width: 560px;
}
.about-copy p:not(.eyebrow) {
  max-width: 680px;
  color: #4d6a80;
  font-size: var(--fs-text);
  line-height: 1.7;
}
.about-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}
.about-facts li {
  padding-top: 12px;
  border-top: 2px solid #d8e7f1;
}
.about-facts strong {
  display: block;
  color: #1c629e;
  font: 700 var(--fs-number)/1.2 Manrope, sans-serif;
  letter-spacing: -1px;
}
.about-facts span {
  display: block;
  margin-top: 4px;
  color: #4d6a80;
  font-size: var(--fs-label);
  line-height: 1.5;
}

/* ===== Mentions légales ===== */
.legal {
  min-height: 65vh;
  background: #f6f9fb;
}
.legal h1 {
  margin: 0;
  color: var(--ink);
  font-family: Manrope, 'DM Sans', sans-serif;
  font-size: var(--fs-h2);
  letter-spacing: -1.2px;
  line-height: 1.12;
}
.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 48px;
  margin-top: 26px;
}
.legal-block {
  padding-top: 16px;
  border-top: 1px solid #dfe7e9;
}
.legal-block h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-family: Manrope, sans-serif;
  font-size: var(--fs-text);
}
.legal-block h3:not(:first-child) {
  margin-top: 22px;
}
.legal-back {
  display: inline-block;
  margin-top: 30px;
}
.legal-block p {
  margin: 0 0 8px;
  color: #506777;
  font-size: var(--fs-small);
  line-height: 1.6;
}

/* Champs à compléter (surlignés en jaune) */
.todo {
  padding: 2px 5px;
  border-radius: 3px;
  background: #fff6db;
  color: #604d1d;
}

/* ===== Responsive : ≤ 980 px ===== */
@media (max-width: 980px) {
  .navigation {
    gap: 16px;
  }
  .hero-visual {
    transform: scale(.94);
  }
  .method-grid {
    grid-template-columns: repeat(2,1fr);
    row-gap: 35px;
  }
}

/* ===== Responsive : ≤ 900 px ===== */
@media (max-width: 900px) {
  /* Tablette : valeurs des textes */
  :root {
    --fs-text: 17px;
    --fs-title: 20px;
    --fs-h1: clamp(31px, 4vw, 43px);
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 24px;
    min-height: 320px;
    padding-block: 34px;
  }
  .service-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .service-card:nth-child(2) {
    border-right: 0;
  }
  .service-card:nth-child(-n+2) {
    border-bottom: 1px solid #e4edf3;
  }
  .hero-illustration {
    max-width: 440px;
  }
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .project-card,
  .project-card:nth-child(n+4) {
    grid-column: auto;
  }
  .project-card:last-child {
    grid-column: 1 / -1;
  }
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .about-photo-frame,
  .about-photo img {
    max-width: 260px;
  }
}

/* ===== Responsive : ≤ 720 px (mobile) ===== */
@media (max-width: 720px) {
  /* Smartphone : valeurs des textes (modifiez ici pour réduire/agrandir sur mobile) */
  :root {
    --fs-label: 13px;
    --fs-consent: 12px;
    --fs-small: 15px;
    --fs-text: 16px;
    --fs-title: 19px;
    --fs-number: 24px;
    --fs-h1: clamp(34px, 9vw, 46px);
    --fs-h2: 34px;
    --fs-h2-big: 39px;
  }
  .container {
    width: min(100% - 36px,540px);
  }
  .site-header {
    height: 68px;
  }
  .navigation {
    display: none;
    position: absolute;
    top: 71px;
    left: 0;
    right: 0;
    padding: 18px;
    background: white;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 20px rgba(20,50,60,.08);
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }
  .brand-mark {
    width: 38px;
    height: 38px;
  }
  .nav-contact {
    margin-top: 5px;
  }
  .menu-toggle {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: var(--fs-xs);
  }
  .hero {
    background-image: linear-gradient( 90deg, rgba(239, 247, 252, 0.94), rgba(239, 247, 252, 0.78) ), url("assets/photo-3.avif");
    background-position: center, center;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    padding-block: 42px 34px;
  }
  .hero-visual {
    min-height: 350px;
    transform: none;
    margin: 0 -7px;
  }
  .orbit-a {
    width: 340px;
    height: 270px;
  }
  .orbit-b {
    width: 390px;
    height: 310px;
  }
  .visual-card {
    width: min(350px,82%);
  }
  .note-top {
    right: 0;
    top: 20px;
  }
  .note-bottom {
    left: 0;
    bottom: 20px;
  }
  .visual-caption {
    right: 6px;
    bottom: -3px;
  }
  .section {
    padding: 45px 0;
  }
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .services {
    padding-block: 32px;
  }
  .section-heading {
    display: block;
  }
  .section-heading>p {
    margin-top: 17px;
  }
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
  .service-card {
    padding: 18px 14px;
  }
  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .method-grid {
    gap: 28px 20px;
  }
  .contact {
    padding-block: 42px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .footer-inner>p {
    margin: 0;
  }
  .footer-links {
    margin-top: 5px;
  }
  .navigation a {
    padding: 12px 10px;
  }
  .navigation.open {
    display: flex;
  }
  .navigation .nav-contact {
    margin: 0;
  }
  .brand-logo {
    width: 165px;
    max-width: 48vw;
  }
  .hero-visual.hero-illustration-wrap {
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
  }
  .hero-illustration {
    max-width: 100%;
    transform: none;
  }
  .project-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .about-facts,
  .legal-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ===== Responsive : ≤ 420 px (petit mobile) ===== */
@media (max-width: 420px) {
  .hero-actions {
    gap: 18px;
    align-items: flex-start;
    flex-direction: column;
  }
  .hero-visual {
    min-height: 315px;
  }
  .visual-card {
    padding: 16px;
  }
  .flow-node {
    padding: 10px;
  }
  .floating-note {
    padding: 9px 10px;
  }
  .floating-note b {
    font-size: var(--fs-xs);
  }
  .floating-note small {
    font-size: var(--fs-xs);
  }
  .note-top {
    right: -2px;
  }
  .note-bottom {
    left: -2px;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service-card,
  .service-card.featured {
    border-right: 0;
    border-bottom: 1px solid #e4edf3;
  }
  .service-card>p:not(.service-number) {
    margin-bottom: 17px;
  }
  .method-grid {
    grid-template-columns: 1fr;
  }
  .method-grid h3 {
    margin-top: 10px;
  }
  .service-card:last-child {
    border-bottom: 0;
  }
}

/* ===== Accessibilité : réduction des animations ===== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
