/* ==========================================================================
   JustiComm · page « L’agence » (/agence/)
   v3, 26/10/2026. Texte validé par Raoudha (site-conception/contenus-v4/agence.md).
   Retours de Raoudha du 26/10/2026 : de vrais visuels pour que les professionnels se projettent (vitrine à six onglets, écrans
   aux couleurs des vraies applications : Google Maps, le site de démonstration, Messages, l’assistant IA, un e-mail, un tableau
   de bord) ; l’entretien en vraie interview ; les métiers moins entassés ; moins de pictogrammes ; plus de bleu et rouge
   dans la section IA ; des boutons pour joindre l’agence.
   Même esprit que les pages en ligne : sections claires et sombres en alternance, titres modestes (H1 48 px, H2 38 px),
   titres et textes en pleine largeur, un bouton après chaque section forte.
   Visuels propres à la page : trois photos ChatGPT (prompts-images-agence.md), écrans du cabinet fictif « Nonobstant Avocats »
   (celui de la page Avocats, avec sa propre identité, jamais celle de JustiComm), cadre du portrait.
   Aucune image ni animation de l’accueil (le portrait existant est permis sur cette page : consignes-pages-finales § 2).
   Animations courtes jouées une fois, aucune boucle ; état final fixe si « moins d’animations ».
   Préfixe : ag-
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Communs à la page
   -------------------------------------------------------------------------- */
.ag .titre-section { max-width: none; font-size: clamp(1.875rem, 1.5rem + 1.1vw, 2.375rem); line-height: 1.12; color: var(--titre); text-wrap: pretty; }
.ag-or { font-style: italic; color: var(--or-texte); }
.surface-sombre .ag-or, .surface-nuit .ag-or { color: var(--or-clair); }
.ag.section { padding-block: clamp(2.75rem, 1.5rem + 3vw, 4.5rem); }
.ag-tete { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.ag-tete .surtitre { margin-bottom: var(--e-4); }
.ag-chapo { margin-top: var(--e-4); font: italic 500 clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem) / 1.45 var(--f-titre); color: var(--titre); text-wrap: pretty; }
.ag-texte { margin-top: var(--e-5); font-size: var(--t-corps); line-height: 1.65; text-wrap: pretty; }
.ag-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.ag-actions--centre { justify-content: center; }
.ag-actions .lien-suite { margin-top: 0; }
.ag-insecable { white-space: nowrap; }
.ag-btn-icone { flex: none; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 30em) {
  .ag-actions .btn-plaque, .ag-actions .btn-cartouche { width: 100%; max-width: 26rem; white-space: normal; text-align: center; line-height: 1.35; padding-block: 12px; }
}

/* Les écrans reprennent l’apparence des vraies applications : police système, gris et bleus neutres */
.ag-panneau__ecran, .ag-suivi, .ag-chat { --app-texte: #202124; --app-gris: #5F6368; --app-ligne: #DADCE0; --app-fond: #F8F9FA; --app-bleu: #1A73E8; --app-vert: #188038; --app-orange: #B06000;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
.ag-panneau__ecran p, .ag-suivi p, .ag-chat p { margin: 0; }

/* --------------------------------------------------------------------------
   1. Ouverture : photo, titre sur le mur vert (ordinateur) ; photo puis texte (téléphone)
   -------------------------------------------------------------------------- */
body:has(.ag-haut) .entete__fond { opacity: 1; }
.ag-haut { position: relative; overflow: hidden; padding-top: var(--h-entete); background: var(--petrole-profond); }
.ag-haut__photo { display: block; width: 100%; max-width: none; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 66% 40%; }
.ag-haut__contenu { position: relative; z-index: 2; padding-block: 1.75rem clamp(2.5rem, 5vw, 3.5rem); }
.ag-ariane { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: var(--e-2); font-size: 0.875rem; color: var(--creme-doux); }
.ag-ariane a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-underline-offset: 3px; }
.ag-ariane [aria-current] { color: var(--creme); }
.ag-haut__sur { display: block; font-size: 0.9375rem; letter-spacing: 0.2em; line-height: 1.5; color: var(--or-clair); }
.ag-haut__sur::before { display: none; }
.ag-haut__titre { margin: var(--e-4) 0 0; font: 500 clamp(2rem, 1.4rem + 1.9vw, 3rem) / 1.1 var(--f-titre); color: var(--creme); text-wrap: pretty; }
.ag-haut__chapo { margin-top: var(--e-5); font-size: var(--t-corps); line-height: 1.6; color: var(--creme); text-wrap: pretty; }
@media (min-width: 40em) and (max-width: 63.99em) { .ag-haut__photo { aspect-ratio: 16 / 9; } }
@media (min-width: 64em) {
  .ag-haut { display: flex; align-items: center; min-height: clamp(36rem, 44vw, 42rem); }
  /* la photo commence sous l’en-tête : la barre du menu reste sur le pétrole, même sans :has (contrôle de Pauline, D6) */
  .ag-haut__photo { position: absolute; top: var(--h-entete); right: 0; bottom: 0; left: 0; z-index: 0; width: 100%; height: calc(100% - var(--h-entete)); aspect-ratio: auto; object-position: 70% 18%; }
  /* voile plus long et colonne de texte plus étroite : le chapô reste lisible jusqu’à 1920 px (D2) */
  .ag-haut::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, rgba(4, 34, 35, 0.94) 0%, rgba(4, 34, 35, 0.86) 44%, rgba(4, 34, 35, 0.35) 56%, transparent 66%); }
  .ag-haut__contenu { padding-block: clamp(2.5rem, 4vw, 3.5rem); }
  .ag-haut__texte { max-width: min(38rem, 44%); }
  /* le cartouche garde un fond plein sur la photo, à toutes les largeurs (D1) */
  .ag-haut .btn-cartouche::before { background-color: rgba(4, 34, 35, 0.88); }
  .ag-haut .btn-cartouche:hover::before { background-color: rgba(32, 80, 81, 0.95); }
  .ag-haut .ag-actions { flex-wrap: nowrap; width: max-content; }   /* les deux boutons sur une ligne, même si la colonne de texte est plus étroite */
}

/* --------------------------------------------------------------------------
   2. Ce que JustiComm apporte : vitrine à six onglets, un écran réaliste par bénéfice
   -------------------------------------------------------------------------- */
.ag-vitrine { display: grid; gap: clamp(1.5rem, 3vw, 2.25rem); }
.ag-vitrine__choix { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.ag-puce { position: relative; display: inline-flex; cursor: pointer; }
.ag-puce input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.ag-puce span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; font-size: 1rem; color: var(--petrole);
  background: var(--papier); border: 1px solid var(--lin); border-radius: var(--rayon-pilule); transition: background-color var(--d) ease, color var(--d) ease, border-color var(--d) ease; }
.ag-puce:hover span { border-color: var(--bronze); }
.ag-puce input:checked + span { color: var(--creme); background: var(--petrole); border-color: var(--petrole); }
.ag-puce input:focus-visible + span { outline: 2px solid var(--petrole); outline-offset: 3px; }

.ag-panneau { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: center; padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--papier); border-radius: var(--rayon); }
.ag-panneau__titre { margin: 0; font: 500 clamp(1.625rem, 1.4rem + 0.8vw, 2.125rem) / 1.15 var(--f-titre); color: var(--titre); }
.ag-panneau__texte p { margin-top: var(--e-4); font-size: var(--t-corps); line-height: 1.6; color: var(--texte); text-wrap: pretty; }
.ag-panneau__ecran { display: grid; justify-items: center; }
@media (min-width: 64em) {
  .ag-panneau { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); min-height: 31rem; }
}
/* Un onglet = un panneau (sans :has, les six panneaux restent visibles à la suite) */
@supports selector(:has(*)) {
  .ag-panneau { display: none; }
  .ag-vitrine:has(input[value="trouvent"]:checked) [data-panneau="trouvent"],
  .ag-vitrine:has(input[value="choisissent"]:checked) [data-panneau="choisissent"],
  .ag-vitrine:has(input[value="recommandation"]:checked) [data-panneau="recommandation"],
  .ag-vitrine:has(input[value="temps"]:checked) [data-panneau="temps"],
  .ag-vitrine:has(input[value="sereine"]:checked) [data-panneau="sereine"],
  .ag-vitrine:has(input[value="resultats"]:checked) [data-panneau="resultats"] { display: grid; }
}
@media (prefers-reduced-motion: no-preference) {
  .ag-panneau { animation: ag-panneau 0.45s var(--ease-sortie); }
}
@keyframes ag-panneau { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
@media (max-width: 39.99em) {
  /* au téléphone : les onglets défilent sur une ligne, d’un glissement du doigt */
  .ag-vitrine__choix { flex-wrap: nowrap; margin-inline: calc(-1 * var(--marge)); padding: 2px var(--marge) 8px; overflow-x: auto; scrollbar-width: none; }
  .ag-vitrine__choix::-webkit-scrollbar { display: none; }
  .ag-puce span { white-space: nowrap; }
  .ag-panneau__ecran { order: -1; }
}

/* Le téléphone */
.ag-tel { width: min(100%, 17.5rem); padding: 10px; background: #1C1C1E; border-radius: 38px; box-shadow: 0 30px 50px -28px rgba(2, 24, 24, 0.55), inset 0 0 0 1px #3A3A3C; }
.ag-tel__ecran { position: relative; display: grid; align-content: start; height: 31rem; overflow: hidden; color: var(--app-texte); background: #FFFFFF; border-radius: 29px; }
.ag-tel--petit { width: min(100%, 15rem); }
.ag-tel--petit .ag-tel__ecran { height: 22rem; }

/* 1. Google Maps */
.ag-gm { background: #FFFFFF; }
.ag-gm__recherche { position: absolute; z-index: 2; top: 16px; left: 12px; right: 12px; display: flex; align-items: center; gap: 10px; padding: 11px 14px;
  font-size: 0.8125rem; color: var(--app-texte); background: #FFFFFF; border-radius: 999px; box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28); }
.ag-gm__recherche span:nth-child(2) { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ag-gm__menu { display: grid; gap: 3px; }
.ag-gm__menu i { display: block; width: 14px; height: 2px; background: var(--app-gris); }
.ag-gm__recherche svg { flex: none; width: 17px; height: 17px; fill: none; stroke: var(--app-bleu); stroke-width: 1.8; stroke-linecap: round; }
.ag-gm__carte { display: block; width: 100%; height: 13.5rem; }
.ag-gm__feuille { position: relative; display: grid; gap: 4px; margin-top: -14px; padding: 14px 16px 16px; background: #FFFFFF; border-radius: 16px 16px 0 0; box-shadow: 0 -2px 8px rgba(32, 33, 36, 0.12); }
.ag-gm__poignee { justify-self: center; width: 34px; height: 4px; margin-bottom: 6px; background: var(--app-ligne); border-radius: 2px; }
.ag-gm__nom { font-size: 1.125rem; font-weight: 500; color: var(--app-texte); }
.ag-gm__type, .ag-gm__horaires { font-size: 0.8125rem; color: var(--app-gris); }
.ag-gm__horaires span { color: var(--app-vert); font-weight: 600; }
.ag-gm__actions { display: flex; gap: 6px; margin-top: 8px !important; }
.ag-gm__action { display: inline-flex; align-items: center; gap: 5px; padding: 7px 10px; font-size: 0.75rem; font-weight: 600; color: var(--app-bleu); border: 1px solid var(--app-ligne); border-radius: 999px; white-space: nowrap; }
.ag-gm__action svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ag-gm__action--plein { color: #FFFFFF; background: var(--app-bleu); border-color: var(--app-bleu); }
.ag-gm__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px !important; }
.ag-gm__photos img { display: block; width: 100%; height: 5.5rem; object-fit: cover; border-radius: 8px; }

/* 2. Le site, dans un navigateur */
.ag-nav { width: 100%; max-width: 36rem; overflow: hidden; background: #FFFFFF; border: 1px solid var(--app-ligne); border-radius: 12px; box-shadow: 0 30px 50px -28px rgba(2, 24, 24, 0.5); }
.ag-nav__barre { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #F1F3F4; border-bottom: 1px solid var(--app-ligne); }
.ag-nav__points { display: flex; gap: 6px; }
.ag-nav__points i { width: 10px; height: 10px; border-radius: 50%; background: #FF5F57; }
.ag-nav__points i:nth-child(2) { background: #FEBC2E; }
.ag-nav__points i:nth-child(3) { background: #28C840; }
.ag-nav__url { display: flex; flex: 1; align-items: center; gap: 6px; padding: 5px 12px; font-size: 0.8125rem; color: var(--app-texte); background: #FFFFFF; border-radius: 999px; }
.ag-nav__url svg { width: 12px; height: 12px; fill: none; stroke: var(--app-gris); stroke-width: 2; }
.ag-nav img { display: block; width: 100%; height: auto; }

/* 3. Le message, puis la recherche Google */
.ag-panneau__ecran--duo { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; }
.ag-sms { padding: 18px 14px; gap: 10px; background: #FFFFFF; }
.ag-sms__contact { display: grid; justify-items: center; gap: 6px; padding-bottom: 12px; margin-bottom: 4px !important; font-size: 0.75rem; color: var(--app-texte); border-bottom: 1px solid #EFEFF4; }
.ag-sms__avatar { display: grid; place-items: center; width: 40px; height: 40px; font-size: 1rem; font-weight: 600; color: #FFFFFF; background: linear-gradient(180deg, #A2A7B2, #868B96); border-radius: 50%; }
.ag-sms__bulle { max-width: 85%; padding: 9px 13px; font-size: 0.8125rem; line-height: 1.35; border-radius: 18px; }
.ag-sms__bulle--recu { justify-self: start; color: #000000; background: #E9E9EB; border-bottom-left-radius: 6px; }
.ag-sms__bulle--envoye { justify-self: end; color: #FFFFFF; background: #0B84FE; border-bottom-right-radius: 6px; }
.ag-google { display: grid; gap: 12px; width: min(100%, 22rem); padding: 16px; background: #FFFFFF; border: 1px solid var(--app-ligne); border-radius: 12px; box-shadow: 0 30px 50px -28px rgba(2, 24, 24, 0.5); }
.ag-google__recherche { display: flex; align-items: center; gap: 10px; padding: 9px 14px; font-size: 0.875rem; color: var(--app-texte); border: 1px solid var(--app-ligne); border-radius: 999px; box-shadow: 0 1px 4px rgba(32, 33, 36, 0.16); }
.ag-google__recherche svg { width: 16px; height: 16px; fill: none; stroke: var(--app-gris); stroke-width: 2; stroke-linecap: round; }
.ag-google__resultat { display: grid; gap: 4px; }
.ag-google__site { display: flex; align-items: center; gap: 10px; font-size: 0.8125rem; color: var(--app-texte); }
.ag-google__site small { display: block; font-size: 0.75rem; color: #4D5156; }
.ag-google__favicon { display: grid; place-items: center; width: 26px; height: 26px; font: 600 0.8125rem / 1 Georgia, serif; color: #FFFFFF; background: #1B2A3A; border-radius: 50%; }
.ag-google__titre { font-size: 1.0625rem; line-height: 1.3; color: #1A0DAB; }
.ag-google__extrait { font-size: 0.8125rem; line-height: 1.45; color: #4D5156; }

/* 4. L’assistant au téléphone */
.ag-ap { gap: 9px; padding: 14px 12px; background: #F2F2F7; }
.ag-ap__tete { display: grid; justify-items: center; gap: 4px; padding-bottom: 12px; text-align: center; border-bottom: 1px solid #E0E0E6; }
.ag-ap__heure { font-size: 0.75rem; color: var(--app-gris); }
.ag-ap__qui { font-size: 0.9375rem; font-weight: 600; color: var(--app-texte); }
.ag-ap__duree { font-size: 0.75rem; color: var(--app-vert); }
.ag-ap__msg { max-width: 86%; padding: 9px 13px; font-size: 0.8125rem; line-height: 1.38; border-radius: 16px; }
.ag-ap__msg--ia { justify-self: start; color: var(--app-texte); background: #FFFFFF; border-bottom-left-radius: 5px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }
.ag-ap__msg--client { justify-self: end; color: var(--app-texte); background: #DCE8FC; border-bottom-right-radius: 5px; }
.ag-ap__fiche { display: flex; align-items: center; gap: 8px; margin-top: 4px !important; padding: 10px 12px; font-size: 0.75rem; font-weight: 600; color: var(--app-vert); background: #E6F4EA; border-radius: 10px; }
.ag-ap__fiche svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* 5. L’e-mail de validation */
.ag-mail { display: grid; gap: 14px; width: 100%; max-width: 32rem; padding: 22px; color: var(--app-texte); background: #FFFFFF; border: 1px solid var(--app-ligne); border-radius: 12px; box-shadow: 0 30px 50px -28px rgba(2, 24, 24, 0.5); }
.ag-mail__objet { font-size: 1.0625rem; line-height: 1.35; }
.ag-mail__de { display: flex; align-items: center; gap: 10px; font-size: 0.8125rem; }
.ag-mail__de small { display: block; font-size: 0.75rem; color: var(--app-gris); }
.ag-mail__avatar { display: grid; place-items: center; width: 36px; height: 36px; font: 600 0.9375rem / 1 Georgia, serif; color: #E0BD8E; background: #0A393A; border-radius: 50%; }
.ag-mail__heure { margin-left: auto; font-size: 0.75rem; color: var(--app-gris); }
.ag-mail__corps { display: grid; gap: 8px; font-size: 0.875rem; line-height: 1.5; }
.ag-mail__points { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.ag-mail__points li { display: flex; align-items: center; gap: 8px; color: var(--app-vert); }
.ag-mail__points li::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--app-vert) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.6L12 5.4' fill='none' stroke='%23fff' stroke-width='1.7'/%3E%3C/svg%3E") center / 100% no-repeat; }
.ag-mail__boutons { display: flex; flex-wrap: wrap; gap: 8px; }
.ag-mail__boutons span { padding: 9px 16px; font-size: 0.8125rem; font-weight: 600; color: var(--app-bleu); border: 1px solid var(--app-ligne); border-radius: 999px; }
.ag-mail__boutons .ag-mail__ok { color: #FFFFFF; background: var(--app-bleu); border-color: var(--app-bleu); }

/* 6. Le point mensuel (courbes sans chiffres) */
.ag-bord { display: grid; gap: 14px; width: 100%; max-width: 32rem; padding: 20px; color: var(--app-texte); background: var(--app-fond); border: 1px solid var(--app-ligne); border-radius: 12px; box-shadow: 0 30px 50px -28px rgba(2, 24, 24, 0.5); }
.ag-bord__tete { display: flex; justify-content: space-between; gap: 12px; font-size: 1rem; }
.ag-bord__tete span { font-size: 0.8125rem; color: var(--app-gris); }
.ag-bord__cartes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ag-bord__carte { display: grid; gap: 8px; padding: 12px; background: #FFFFFF; border: 1px solid var(--app-ligne); border-radius: 10px; }
.ag-bord__carte p { font-size: 0.75rem; color: var(--app-gris); }
.ag-bord__carte svg { width: 100%; height: 2.5rem; fill: none; stroke: var(--app-bleu); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ag-bord__note { display: grid; gap: 2px; padding: 10px 12px; font-size: 0.8125rem; line-height: 1.4; color: var(--app-gris); background: #FFFFFF; border-left: 3px solid var(--app-bleu); border-radius: 4px; }
.ag-bord__note b { color: var(--app-texte); }

/* --------------------------------------------------------------------------
   3. Entretien, en vraie interview : titre-citation, chapô, questions en gras, lettrine, citation détachée
   -------------------------------------------------------------------------- */
.ag-apports + .ag-entretien { border-top: 1px solid var(--lin); }   /* deux sections claires se suivent : un filet les sépare */
.ag-entretien__une { margin-top: var(--e-5); font: italic 500 clamp(1.5rem, 1.25rem + 1vw, 2.125rem) / 1.3 var(--f-titre); color: var(--or-texte); text-wrap: balance; }
.ag-entretien__chapo { margin-top: var(--e-4); font-size: var(--t-corps); font-weight: 500; line-height: 1.6; color: var(--titre); text-wrap: pretty; }
.ag-entretien__grille { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
.ag-entretien__cote { display: grid; gap: var(--e-5); justify-items: start; align-content: start; }
.ag-portrait { position: relative; width: min(100%, 20rem); margin: 0; }
/* Cadre propre à la page : coins coupés comme la plaque, filet or décalé, point de lumière au coin */
.ag-portrait__cadre { position: relative; }
.ag-portrait__cadre::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: 0;
  border: 1px solid var(--bronze);
  clip-path: polygon(var(--pan) 0, 100% 0, 100% calc(100% - var(--pan)), calc(100% - var(--pan)) 100%, 0 100%, 0 var(--pan)); }
.ag-portrait__cadre::after { content: ""; position: absolute; right: -19px; bottom: -19px; z-index: 1; width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FFF1D8, var(--or) 55%, var(--bronze)); box-shadow: 0 0 12px rgba(224, 189, 142, 0.7); }
.ag-portrait img { position: relative; z-index: 1; display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  clip-path: polygon(var(--pan) 0, 100% 0, 100% calc(100% - var(--pan)), calc(100% - var(--pan)) 100%, 0 100%, 0 var(--pan)); }
.ag-portrait__legende { display: grid; gap: 2px; margin-top: calc(var(--e-5) + 10px); font-size: var(--t-legende); color: var(--texte-doux); }
.ag-portrait__nom { font: 500 1.375rem / 1.2 var(--f-titre); color: var(--titre); }
.ag-actions--entretien { margin-top: 0; }
.ag-actions--entretien .btn-direct svg { stroke: var(--cuivre); }

.ag-itw { display: grid; gap: clamp(1.5rem, 3vw, 2rem); }
.ag-itw__q { margin: 0; font: 600 var(--t-corps) / 1.4 var(--f-texte); color: var(--petrole); }
.ag-itw__q::before { content: "— "; color: var(--bronze); }
.ag-itw__r { margin-top: var(--e-3); font-size: var(--t-corps); line-height: 1.7; color: var(--texte); text-wrap: pretty; }
.ag-itw__r--lettrine::first-letter { float: left; margin: 0.06em 0.12em 0 0; font: 500 3.4em / 0.8 var(--f-titre); color: var(--or-texte); }
.ag-itw__citation { margin: 0; padding: clamp(1.25rem, 2.5vw, 1.75rem) 0; text-align: center; border-block: 1px solid var(--lin);
  font: italic 500 clamp(1.5rem, 1.25rem + 1vw, 2.125rem) / 1.3 var(--f-titre); color: var(--titre); text-wrap: balance; }
@media (min-width: 40em) and (max-width: 63.99em) {
  .ag-entretien__cote { grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); align-items: end; column-gap: var(--e-6); }
}
@media (min-width: 64em) {
  .ag-entretien__grille { grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); align-items: start; column-gap: clamp(3rem, 6vw, 6rem); }
  .ag-entretien__cote { position: sticky; top: calc(var(--h-entete) + 2rem); }
  .ag-portrait { width: 100%; }
}

/* Bande photo pleine largeur, entre l’entretien et les six professions */
.ag-bande { margin: 0; height: clamp(12rem, 26vw, 24rem); overflow: hidden; background: var(--creme); }
.ag-bande img { display: block; width: 100%; max-width: none; height: 100%; object-fit: cover; object-position: 50% 52%; }

/* --------------------------------------------------------------------------
   4. Six professions : texte, puis une liste aérée (une ligne par métier)
   -------------------------------------------------------------------------- */
.ag-metiers__texte .ag-chapo { margin-top: 0; }
.ag-metiers__texte p:not(.ag-chapo) { margin-top: var(--e-4); font-size: var(--t-corps); line-height: 1.65; color: var(--texte); text-wrap: pretty; }
.ag-metiers__liste { margin: clamp(1.75rem, 3.5vw, 2.5rem) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--filet-couleur); }
.ag-metiers__liste a { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--e-4); row-gap: 2px; align-items: center; padding: var(--e-4) 0;
  color: var(--creme); text-decoration: none; border-bottom: 1px solid var(--filet-couleur); transition: background-color var(--d) ease; }
.ag-metiers__nom { font: 500 clamp(1.375rem, 1.25rem + 0.5vw, 1.625rem) / 1.2 var(--f-titre); color: var(--creme); }
.ag-metiers__mots { grid-row: 2; font-size: 1rem; color: var(--or-200); }
.ag-metiers__fleche { grid-row: 1 / span 2; grid-column: 2; width: 1.25rem; height: 1.25rem; fill: none; stroke: var(--or); stroke-width: 1.5; transition: translate var(--d) var(--ease-sortie); }
.ag-metiers__liste a:hover .ag-metiers__nom { color: var(--or-clair); }
.ag-metiers__liste a:hover .ag-metiers__fleche { translate: 5px 0; }
.ag-metiers__liste a:focus-visible { outline: 2px solid var(--or); outline-offset: 2px; }
@media (min-width: 64em) {
  .ag-metiers__liste a { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) auto; padding: 1.25rem 0; }
  .ag-metiers__mots { grid-row: auto; font-size: var(--t-legende); }
  .ag-metiers__fleche { grid-row: auto; grid-column: auto; }
}
.ag-encadre { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.35em 0.5em; margin: clamp(2rem, 4vw, 3rem) 0 0;
  padding: clamp(1.25rem, 2.5vw, 1.75rem) var(--e-4); text-align: center;
  font: 500 clamp(1.375rem, 1.1rem + 1vw, 2rem) / 1.3 var(--f-titre); color: var(--creme); text-wrap: balance; }
.ag-encadre__point { width: 9px; height: 9px; border-radius: 50%; margin-right: 0.4em; background: radial-gradient(circle at 35% 35%, #FFF1D8, var(--or) 55%, var(--bronze)); box-shadow: 0 0 10px rgba(224, 189, 142, 0.65); }

/* --------------------------------------------------------------------------
   5. Services : trois familles, filet or en tête de carte (plus de pictogrammes ni de fil)
   -------------------------------------------------------------------------- */
.ag-familles { display: grid; gap: var(--e-5); }
.ag-famille { display: grid; align-content: start; gap: var(--e-3); padding: clamp(1.5rem, 3vw, 2rem); background: var(--papier); border-top: 2px solid var(--or); }
.ag-famille__titre { margin: 0; font: 500 clamp(1.5rem, 1.36rem + 0.6vw, 1.875rem) / 1.15 var(--f-titre); color: var(--titre); }
.ag-famille p { font-size: var(--t-corps); line-height: 1.6; color: var(--texte); }
.ag-famille__liens { display: grid; margin: var(--e-3) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--filet-couleur); }
.ag-famille__liens a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; padding-block: 6px; border-bottom: 1px solid var(--filet-couleur);
  font-size: var(--t-legende); color: var(--petrole); text-decoration: none; }
.ag-famille__liens a::after { content: ""; flex: none; width: 1rem; height: 1rem; background: var(--or-texte); -webkit-mask: var(--fleche) center / contain no-repeat; mask: var(--fleche) center / contain no-repeat; transition: translate var(--d) var(--ease-sortie); }
.ag-famille__liens a:hover { color: var(--or-texte); text-decoration: underline; text-underline-offset: 4px; }
.ag-famille__liens a:hover::after { translate: 4px 0; }
@media (min-width: 64em) { .ag-familles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* --------------------------------------------------------------------------
   6. Méthode : quatre étapes en colonnes
   -------------------------------------------------------------------------- */
.ag-etapes { display: grid; gap: var(--e-4); margin: 0; padding: 0; list-style: none; }
.ag-etape { display: grid; align-content: start; gap: var(--e-2); padding: clamp(1.25rem, 2.5vw, 1.75rem); border: 1px solid var(--filet-couleur); border-top: 2px solid var(--or); background: rgba(238, 234, 225, 0.03); }
.ag-etape__num { font: italic 500 clamp(1.75rem, 1.5rem + 0.8vw, 2.25rem) / 1 var(--f-titre); color: var(--or-clair); }
.ag-etape__titre { margin: var(--e-2) 0 0; font: 500 clamp(1.375rem, 1.25rem + 0.5vw, 1.625rem) / 1.2 var(--f-titre); color: var(--creme); }
.ag-etape p { font-size: var(--t-corps); line-height: 1.6; color: var(--creme-doux); text-wrap: pretty; }
@media (min-width: 40em) { .ag-etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .ag-etapes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: no-preference) {
  .js .ag-etapes:not(.est-visible) .ag-etape { opacity: 0; translate: 0 14px; }
  .js .ag-etapes .ag-etape { transition: opacity 0.6s var(--ease-sortie), translate 0.6s var(--ease-sortie); transition-delay: calc(var(--i) * 0.12s); }
}

/* --------------------------------------------------------------------------
   7. Engagements : une bande légère, cinq colonnes séparées par des filets (plus de pictogrammes)
   -------------------------------------------------------------------------- */
.ag-valeurs.section { padding-block: clamp(2.5rem, 1.25rem + 2.6vw, 3.75rem); }
.ag-valeurs__grille { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--filet-couleur); }
.ag-valeur { display: grid; align-content: start; gap: var(--e-2); padding-block: var(--e-5); border-bottom: 1px solid var(--filet-couleur); }
.ag-valeur__titre { margin: 0; font: 500 clamp(1.375rem, 1.25rem + 0.5vw, 1.625rem) / 1.2 var(--f-titre); color: var(--titre); }
.ag-valeur p { font-size: var(--t-corps); line-height: 1.55; color: var(--texte); text-wrap: pretty; }
.ag-valeur:first-child .ag-valeur__titre { color: var(--or-texte); }
@media (min-width: 40em) and (max-width: 63.99em) { .ag-valeurs__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--e-6); } }
@media (min-width: 64em) {
  .ag-valeurs__grille { grid-template-columns: repeat(5, minmax(0, 1fr)); border-bottom: 1px solid var(--filet-couleur); }
  .ag-valeur { padding: var(--e-5) clamp(1rem, 1.6vw, 1.5rem); border-bottom: 0; border-left: 1px solid var(--filet-couleur); }
  .ag-valeur:first-child { padding-left: 0; border-left: 0; }
  .ag-valeur:last-child { padding-right: 0; }
  .ag-valeur p { font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem); }
}
@media (prefers-reduced-motion: no-preference) {
  .js .ag-valeurs__grille:not(.est-visible) .ag-valeur { opacity: 0; translate: 0 12px; }
  .js .ag-valeurs__grille .ag-valeur { transition: opacity 0.6s var(--ease-sortie), translate 0.6s var(--ease-sortie); transition-delay: calc(var(--i) * 0.1s); }
}

/* --------------------------------------------------------------------------
   8. Intelligence artificielle : deux écrans aux couleurs neutres des vrais outils
   -------------------------------------------------------------------------- */
.ag-ia__grille { display: grid; gap: var(--e-5); }
.ag-ia__bloc { display: grid; grid-template-rows: auto auto 1fr; gap: var(--e-4); padding: clamp(1.5rem, 3vw, 2.25rem); border: 1px solid var(--filet-couleur); background: rgba(238, 234, 225, 0.03); }
.ag-ia__titre { margin: 0; font: 500 clamp(1.5rem, 1.36rem + 0.6vw, 1.875rem) / 1.15 var(--f-titre); color: var(--or-clair); }
.ag-ia__bloc > p { font-size: var(--t-corps); line-height: 1.6; color: var(--creme); text-wrap: pretty; }
@media (min-width: 64em) { .ag-ia__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Suivi d’une page */
.ag-suivi { display: grid; gap: 12px; align-self: center; margin-top: var(--e-2); padding: 16px; color: var(--app-texte); background: #FFFFFF; border-radius: 12px; box-shadow: 0 18px 36px -24px rgba(0, 0, 0, 0.6); }
.ag-suivi__tete { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding-bottom: 10px; border-bottom: 1px solid var(--app-ligne); }
.ag-suivi__doc { font-size: 0.9375rem; font-weight: 600; }
.ag-suivi__client { font-size: 0.75rem; color: var(--app-gris); }
.ag-suivi__etapes { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ag-suivi__etapes li { display: grid; grid-template-columns: 18px minmax(0, 1fr); column-gap: 10px; align-items: center; font-size: 0.8125rem; line-height: 1.3; }
.ag-suivi__etapes li::before { content: ""; grid-row: span 2; width: 18px; height: 18px; border-radius: 50%; }
.ag-suivi__etapes b { font-weight: 600; color: var(--app-texte); }
.ag-suivi__etapes span { font-size: 0.75rem; color: var(--app-gris); }
.ag-suivi__fait::before { background: var(--app-vert) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4.5 9.3l3 3 6-6.5' fill='none' stroke='%23fff' stroke-width='1.8'/%3E%3C/svg%3E") center / 100% no-repeat; }
.ag-suivi__attente::before { border: 2px solid #F29900; background: #FEF7E0; }
.ag-suivi__attente b { color: var(--app-orange); }

/* Assistant du site */
.ag-chat { display: grid; gap: 10px; align-self: center; margin-top: var(--e-2); padding: 14px; color: var(--app-texte); background: #FFFFFF; border-radius: 16px; box-shadow: 0 18px 36px -24px rgba(0, 0, 0, 0.6); }
.ag-chat__tete { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; font-size: 0.875rem; border-bottom: 1px solid var(--app-ligne); }
.ag-chat__tete small { display: block; font-size: 0.75rem; color: var(--app-gris); }
.ag-chat__ia { display: grid; place-items: center; width: 32px; height: 32px; font-size: 0.6875rem; font-weight: 700; color: #FFFFFF; background: #3C4043; border-radius: 50%; }
.ag-chat__msg { max-width: 88%; padding: 9px 13px; font-size: 0.8125rem; line-height: 1.4; border-radius: 16px; }
.ag-chat__msg--client { justify-self: end; color: var(--app-texte); background: #E8F0FE; border-bottom-right-radius: 5px; }
.ag-chat__msg--ia { justify-self: start; color: var(--app-texte); background: #F1F3F4; border-bottom-left-radius: 5px; }
.ag-chat__saisie { padding: 9px 14px; font-size: 0.8125rem; color: var(--app-gris); border: 1px solid var(--app-ligne); border-radius: 999px; }

/* --------------------------------------------------------------------------
   9. Nice et toute la France : la baie des Anges en fond, des boutons pour nous joindre
   -------------------------------------------------------------------------- */
.ag-nice { position: relative; overflow: hidden; isolation: isolate; background: var(--petrole-profond); }
.ag-nice__photo { display: block; width: 100%; max-width: none; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 60% 50%; }
.ag-nice__contenu { padding-block: 1.75rem clamp(2.5rem, 5vw, 3.5rem); }
.ag-nice .surtitre { margin-bottom: var(--e-4); color: var(--or-clair); }
.ag-nice .ag-texte { color: var(--creme); }
.ag-actions--nice { margin-top: var(--e-5); }
@media (min-width: 40em) and (max-width: 63.99em) { .ag-nice__photo { aspect-ratio: 16 / 9; } }
@media (min-width: 64em) {
  .ag-nice { display: flex; align-items: center; min-height: clamp(30rem, 38vw, 36rem); }
  .ag-nice__photo { position: absolute; inset: 0; z-index: -2; height: 100%; aspect-ratio: auto; object-position: 70% 55%; }
  .ag-nice::before { content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, rgba(4, 34, 35, 0.92) 0%, rgba(4, 34, 35, 0.82) 40%, rgba(4, 34, 35, 0.3) 60%, transparent 72%); }
  .ag-nice__contenu { padding-block: clamp(3rem, 5vw, 4rem); }
  .ag-nice__texte { max-width: min(40rem, 52%); }
}

/* --------------------------------------------------------------------------
   10. Questions fréquentes (composant commun faq5), 11. Appel final
   -------------------------------------------------------------------------- */
.ag-faq .faq5__titre { font-size: clamp(1.875rem, 1.5rem + 1.1vw, 2.375rem); line-height: 1.12; }
.ag-faq .surtitre { margin-bottom: var(--e-4); }
.ag-faq .faq5__reponse a { color: var(--petrole); text-underline-offset: 3px; }

.ag-final { text-align: center; background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(32, 80, 81, 0.5), transparent 70%), var(--petrole-profond); }
.ag-final__contenu { display: grid; justify-items: center; }
.ag-final__titre { margin: 0; font: 500 clamp(1.875rem, 1.5rem + 1.1vw, 2.375rem) / 1.12 var(--f-titre); color: var(--creme); }
.ag-final__texte { margin-top: var(--e-5); font-size: var(--t-corps); line-height: 1.6; color: var(--creme-doux); text-wrap: balance; }
.ag-final__contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.25rem 0.75rem; margin-top: var(--e-5); font-size: var(--t-legende); color: var(--creme-doux); }
.ag-final__contact a { display: inline-flex; align-items: center; min-height: 44px; color: var(--creme); text-underline-offset: 4px; text-decoration-color: rgba(224, 189, 142, 0.5); }
.ag-final__contact a:hover, .ag-final__contact a:focus-visible { color: var(--or-clair); }
