/* L'agence ----------------------------------------------------------------- */

/* Hero photo (fond sombre sous le header overlay) */
.ag-hero {
  position: relative; overflow: hidden; background: var(--ink); color: var(--white);
  height: clamp(560px, 86vh, 860px); display: flex; align-items: flex-end;
}
.ag-hero__img { object-position: center 35%; transition: transform 2.4s var(--ease-out); will-change: transform; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .ag-hero:hover .ag-hero__img { transform: scale(1.06); }
}
.ag-hero__shade { background: linear-gradient(180deg, rgba(9, 9, 2, .35) 0%, rgba(9, 9, 2, 0) 30%, rgba(9, 9, 2, .75) 100%); }
.ag-hero__inner {
  position: relative; width: 100%; max-width: var(--wrap); margin: 0 auto;
  padding: clamp(40px, 7vw, 96px) var(--gutter);
  display: flex; flex-direction: column; gap: 18px;
}
.ag-hero__h1 {
  max-width: 1100px; color: var(--white);
  font-size: clamp(40px, 6vw, 88px); line-height: 1.02; font-weight: 600; letter-spacing: -.02em;
  display: flex; flex-wrap: wrap; align-items: flex-end; column-gap: .3em; row-gap: .1em;
}
.ag-hero__smile { width: 1.6em; transform: translateY(-.08em); }
.ag-hero__lead { max-width: 640px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; }

/* Blocs texte / image en deux colonnes */
.ag-split {
  padding-block: clamp(72px, 10vw, 140px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: clamp(40px, 6vw, 96px);
}
.ag-split--top { align-items: start; }
.ag-split--center { align-items: center; }
.ag-split__col { display: flex; flex-direction: column; gap: 22px; }
.ag-split__col--offset { padding-top: clamp(0px, 3vw, 40px); }
.ag-title { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.04; font-weight: 600; letter-spacing: -.015em; }
.ag-intro { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.5; font-weight: 500; }
.ag-btns { padding-top: 6px; }

.ag-photo { border-radius: var(--radius-lg); overflow: hidden; background: var(--gray); }
.ag-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.ag-photo--portrait { width: 100%; max-width: 440px; aspect-ratio: 4 / 5; margin-top: 12px; }
.ag-photo--tall { aspect-ratio: 4 / 5; max-height: 760px; }

.ag-stat { padding-top: 20px; border-top: 1px solid var(--line); }
.ag-stat .stat__value { font-size: 48px; letter-spacing: -.02em; }
.ag-stat .stat__label { font-size: 15px; }

/* Mission (bloc jaune) */
.ag-mission {
  border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 96px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(32px, 5vw, 80px); align-items: center;
}
.ag-mission__head { display: flex; flex-direction: column; gap: 18px; }
.ag-mission__title { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.08; font-weight: 600; letter-spacing: -.015em; }
.ag-mission__text { font-size: 17px; line-height: 1.75; }

/* Pour qui ? */
.ag-clients { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.ag-client {
  display: flex; flex-direction: column; gap: 14px; min-height: 240px;
  padding: 32px 28px; border-radius: var(--radius); background: var(--white);
  transition: background .3s, opacity .8s ease, transform .8s var(--ease-out);
}
.ag-client:hover { background: var(--yellow); }
.ag-client__num { font-size: 13px; font-weight: 700; }
.ag-client__title { font-size: 22px; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; }
.ag-client p { font-size: 15px; line-height: 1.6; }

/* Pourquoi nous ? (carte sombre) */
.ag-why { display: flex; flex-direction: column; gap: 18px; padding: clamp(28px, 3vw, 44px); border-radius: var(--radius-lg); }
.ag-why__title {
  display: flex; align-items: center; gap: 14px; color: var(--white);
  font-size: clamp(24px, 2.2vw, 32px); line-height: 1.2; font-weight: 600; letter-spacing: -.015em;
}
.ag-why__smile { width: 64px; }
.ag-why__item { display: flex; gap: 18px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .2); }
.ag-why__num { min-width: 24px; padding-top: 3px; font-size: 13px; font-weight: 700; color: var(--yellow); }
.ag-why__item p { font-size: 16px; line-height: 1.6; }
.ag-why__btn { align-self: flex-start; }

/* Valeurs */
.ag-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(24px, 3vw, 48px); }
.ag-value { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 2px solid var(--ink); }
.ag-value__title { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; font-weight: 600; letter-spacing: -.015em; }
.ag-value p { font-size: 16px; line-height: 1.65; }

/* Méthode */
.ag-method { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 12px; }
.ag-step { display: flex; flex-direction: column; gap: 14px; padding: clamp(28px, 3vw, 40px); border-radius: var(--radius); background: var(--gray); }
.ag-step__title { margin-top: 6px; font-size: 26px; line-height: 1.15; font-weight: 600; letter-spacing: -.015em; }
.ag-step__lead { font-size: 17px; line-height: 1.5; font-weight: 600; }
.ag-step__text { font-size: 15px; line-height: 1.65; }

.ag-cta {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); border: 1.5px solid var(--ink);
  transition: background .3s;
}
.ag-cta:hover { background: var(--gray); }
.ag-cta__text { display: flex; flex-direction: column; gap: 8px; max-width: 640px; }
.ag-cta__title { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.2; font-weight: 600; letter-spacing: -.015em; }
.ag-cta__text p { font-size: 16px; line-height: 1.6; }

@media (max-width: 479px) {
  .ag-cta .btn, .ag-btns .btn { white-space: normal; text-align: center; }
}
