/* Accueil de l'Agence Trait d'Union — finitions propres à l'ordinateur.
   Aucun style ne s'applique sous 701 px, ni aux autres pages du site. */
@media (min-width: 701px) {
  body.compact-home > main {
    padding-bottom: 0;
  }

  /* Haut de page : deux colonnes équilibrées, texte lisible et vidéo préservée. */
  body.compact-home .home-welcome {
    width: calc(100% - 56px);
    max-width: 1280px;
    margin: 20px auto 0;
    padding: 34px clamp(30px, 4vw, 60px) 24px;
    border-radius: 26px;
  }
  body.compact-home .home-welcome-layout {
    display: grid;
    max-width: 1140px;
    grid-template-columns: minmax(0, 1fr) clamp(190px, 20vw, 244px);
    grid-template-rows: auto auto;
    column-gap: clamp(34px, 4.7vw, 74px);
    row-gap: 12px;
    padding-bottom: 18px;
    align-items: start;
  }
  body.compact-home .home-welcome-heading {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
  }
  body.compact-home .home-welcome-heading .eyebrow {
    margin-bottom: 17px;
  }
  body.compact-home .home-welcome-heading h1 {
    max-width: 760px;
    font-size: clamp(2.25rem, 3.2vw, 3.4rem);
    line-height: 1.09;
    letter-spacing: -.025em;
  }
  body.compact-home .home-welcome-copy {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    max-width: 730px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    border: 0;
  }
  body.compact-home .home-welcome-copy > .home-welcome-lead {order: 0; margin-bottom: 8px;}
  body.compact-home .home-welcome-copy > p:nth-of-type(2) {order: 1;}
  body.compact-home .home-welcome-copy p {line-height: 1.58; margin-bottom: 12px;}
  body.compact-home .home-welcome-copy .home-welcome-expertise {
    order: 2;
    margin: 3px 0 16px;
    max-width: 650px;
  }
  body.compact-home .home-welcome-copy .button {order: 3; margin: 0;}
  body.compact-home .home-welcome-copy .home-welcome-phone {order: 4; margin: 13px 0 0;}
  body.compact-home .hero-film {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    justify-self: end;
    width: 100%;
    max-width: 244px;
    margin: 0;
  }
  body.compact-home .home-welcome-proof {
    max-width: 1140px;
    margin-top: 5px;
    padding: 17px 0 0;
    gap: 24px;
  }

  /* Rythme cohérent entre les sections : moins de grands espaces vides. */
  body.compact-home .home-situations,
  body.compact-home .home-steps {padding: 58px clamp(28px, 4.5vw, 64px);}
  body.compact-home .home-situations {padding-bottom: 60px;}
  body.compact-home .home-steps {padding-top: 55px; padding-bottom: 30px;}
  body.compact-home .home-human {padding: 56px clamp(28px, 4.5vw, 64px);}
  body.compact-home .home-content-wrap {max-width: 1140px;}
  body.compact-home .home-section-heading {margin-bottom: 28px;}
  body.compact-home .home-section-heading h2 {max-width: 800px;}
  body.compact-home .home-situations-grid {gap: 18px;}
  body.compact-home .home-situation-card {padding: 24px 23px 27px; min-height: 240px;}
  body.compact-home .home-card-number {margin-bottom: 17px;}
  body.compact-home .home-human-layout {max-width: 1140px;}

  /* Le texte sur l'expérience bénéficie d'une composition éditoriale, sans portrait. */
  body.compact-home .home-human-copy {
    display: grid;
    grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
    column-gap: clamp(32px, 5vw, 82px);
    row-gap: 13px;
    align-items: start;
  }
  body.compact-home .home-human-copy > .home-section-kicker {grid-column: 1; grid-row: 1; margin-bottom: 0;}
  body.compact-home .home-human-copy > h2 {grid-column: 1; grid-row: 2 / 5; max-width: 470px; margin: 0;}
  body.compact-home .home-human-copy > p:nth-of-type(2) {grid-column: 2; grid-row: 2; margin: 0;}
  body.compact-home .home-human-copy > p:nth-of-type(3) {grid-column: 2; grid-row: 3; margin: 0;}
  body.compact-home .home-human-copy > .home-text-link {grid-column: 2; grid-row: 4; justify-self: start; margin-top: 0;}

  /* Les trois étapes gardent leur largeur, mais la fin de section respire moins. */
  body.compact-home .home-steps-grid {gap: 30px;}
  body.compact-home .home-steps-grid article {padding-top: 17px;}
  body.compact-home .home-steps-grid article > span {margin-bottom: 13px;}
  body.compact-home .home-steps-note {margin: 24px 0 0; line-height: 1.6;}

  /* Bloc final : titre et bouton sur la même ligne, coordonnées sur une rangée distincte. */
  body.compact-home main > .question-band {
    width: calc(100% - 56px);
    max-width: 1280px;
    margin: 0 auto 0;
    padding: 25px clamp(26px, 3.8vw, 58px) 27px;
    border-radius: 24px;
  }
  body.compact-home main > .question-band .question-band-inner {
    display: grid;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 24px clamp(24px, 3.5vw, 40px) 20px;
    grid-template-columns: minmax(0, 1fr) minmax(215px, 255px);
    gap: 16px 32px;
    align-items: center;
    border-radius: 22px;
    text-align: left;
  }
  body.compact-home main > .question-band .question-icon {display: none;}
  body.compact-home main > .question-band .question-band-inner > div:not(.question-icon) {
    grid-column: 1; grid-row: 1;
  }
  body.compact-home main > .question-band h2 {
    font-size: clamp(1.6rem, 2.15vw, 2.05rem);
    line-height: 1.22;
    margin: 0 0 7px;
  }
  body.compact-home main > .question-band p {font-size: .95rem; line-height: 1.55; margin: 0; max-width: 550px;}
  body.compact-home main > .question-band .button {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    width: 100%;
    max-width: 255px;
    min-height: 52px;
    border-radius: 50px;
    font-size: .86rem;
  }
  body.compact-home main > .question-band .question-band-inner > address {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    gap: 8px 25px;
    margin: 6px 0 0;
    padding: 17px 0 0;
    border: 0;
    border-top: 1px solid rgba(216, 198, 177, .26);
    text-align: center;
    font-size: .84rem;
  }
}
@media (min-width: 701px) and (max-width: 1100px) {
  body.compact-home .home-welcome {width:calc(100% - 32px);padding:25px 28px 22px;}
  body.compact-home .home-welcome-layout {grid-template-columns:minmax(0,1fr) 185px;column-gap:28px;}
  body.compact-home .home-welcome-heading h1 {font-size:clamp(2.05rem, 3.35vw, 2.8rem);}
  body.compact-home .home-human-copy {grid-template-columns: 1fr;gap:10px;max-width:750px;margin:0 auto;}
  body.compact-home .home-human-copy > .home-section-kicker,
  body.compact-home .home-human-copy > h2,
  body.compact-home .home-human-copy > p:nth-of-type(2),
  body.compact-home .home-human-copy > p:nth-of-type(3),
  body.compact-home .home-human-copy > .home-text-link {grid-column:1;grid-row:auto;}
  body.compact-home .home-situations-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
  body.compact-home .home-situation-card {min-height:175px;}
  body.compact-home main > .question-band {width:calc(100% - 32px);padding:22px;}
}
@media (min-width:701px) and (max-width:810px) {
  body.compact-home .home-welcome-layout {grid-template-columns:minmax(0,1fr);}
  body.compact-home .home-welcome-heading,
  body.compact-home .home-welcome-copy,
  body.compact-home .hero-film {grid-column:1;grid-row:auto;}
  body.compact-home .hero-film {justify-self:center;max-width:200px;}
  body.compact-home main > .question-band .question-band-inner {grid-template-columns: 1fr;}
  body.compact-home main > .question-band .question-band-inner > div:not(.question-icon),
  body.compact-home main > .question-band .button,
  body.compact-home main > .question-band .question-band-inner > address {grid-column:1;grid-row:auto;}
  body.compact-home main > .question-band .button {justify-self:start;}
  body.compact-home .home-steps-grid {grid-template-columns:1fr;}
}
