/* =====================================================================
   Blocs « Design produit » / « Architecture produit » (page Expertise de l’accueil)
   et page « Prestation proposée » (design-architecture-produit.html)
   Reprend les polices, couleurs et le bouton de la page Mentions légales.
   Tailles : max(px, u) comme la page Mentions légales → lisible sur tous les écrans.
   ===================================================================== */
.page-da,.da-vars{--dg:#7f775e;--beige:#e5d1c3;--sable:#eae4d3;
  --fs-txt:max(15px, calc(24 * var(--u)));--lh-txt:1.5}
.page-da{background:var(--bg)}
.da-gold{color:var(--dg)}
/* le bandeau du haut est fixe : la page commence dessous */
.page-da .da{padding-top:calc(var(--bh) * var(--u))}
@media (max-width:1199px), (min-width:1200px) and (max-width:1439px) and (hover:none) and (pointer:coarse) and (orientation:landscape){
  .page-da .da{padding-top:calc(80 * var(--u) + env(safe-area-inset-top, 0px))}
}

/* textes */
.da-h1{text-align:center;font-weight:700;letter-spacing:-.037em;font-size:max(30px, calc(76 * var(--u)));line-height:1.05;margin:0 0 .35em}
.da-h2{font-weight:700;letter-spacing:-.039em;font-size:max(26px, calc(56 * var(--u)));line-height:1.05;margin:0 0 .6em}
.da-accroche{font-family:var(--mono);font-weight:200;font-size:max(17px, calc(36 * var(--u)));line-height:1.2;text-align:center;margin:0 0 1.1em}
.da-texte{font-size:var(--fs-txt);line-height:var(--lh-txt);font-weight:100;margin:0 0 1em}
.da-texte b{font-weight:500}
.da-num{font-family:var(--mono);font-weight:300;font-size:max(13px, calc(20 * var(--u)));letter-spacing:.12em;color:var(--dg);margin:0 0 .6em}
.da-liste{list-style:none;margin:1.4em 0 0;padding:0;font-family:var(--mono);font-weight:300;font-size:max(13px, calc(20 * var(--u)));line-height:1.35;letter-spacing:.02em}
.da-liste li{position:relative;padding:.55em 0 .55em 1.6em;border-top:1px solid rgba(112,101,81,.25)}
.da-liste li:last-child{border-bottom:1px solid rgba(112,101,81,.25)}
.da-liste li::before{content:"";position:absolute;left:.15em;top:1.05em;width:.45em;height:.45em;background:var(--dg);transform:rotate(45deg)}
.da-note{font-family:var(--mono);font-weight:300;font-size:max(13px, calc(20 * var(--u)));line-height:1.4;color:var(--brown);margin:1.4em 0 0}

/* introduction */
.da-intro{max-width:max(320px, calc(1400 * var(--u)));margin:0 auto;padding:max(48px, calc(130 * var(--u))) 20px max(44px, calc(100 * var(--u)))}
.da-intro .da-texte{text-align:center}

/* blocs : texte + média côte à côte (ordinateur), empilés (smartphone) */
.da-bloc{padding:max(48px, calc(120 * var(--u))) 20px}
.da-design{background:var(--beige)}
.da-archi{background:var(--bg)}
.da-bloc-in{max-width:max(320px, calc(1800 * var(--u)));margin:0 auto;display:grid;grid-template-columns:5fr 7fr;
  gap:max(28px, calc(110 * var(--u)));align-items:center}
.da-inverse{grid-template-columns:7fr 5fr}
.da-inverse .da-col-texte{order:2}
.da-inverse .da-media{order:1}

/* médias */
.da-media{margin:0;position:relative}
.da-video{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;background:transparent}
/* Chrome affiche la vidéo sur un plan matériel (fluide) qui peut laisser un fin trait sombre au bas de l'image, invisible
   sur les captures : un cadre couleur fond, posé par-dessus les bords de la vidéo (cadre de 3 px couleur fond), le masque sans alourdir la lecture */
.da-eclate::after{content:"";position:absolute;inset:-3px;border:6px solid var(--bg);pointer-events:none}
/* accueil : le bas du cadre prend la couleur du bandeau saumon « Détail prestation », collé sous la vue éclatée */
.e-detail .da-eclate::after{bottom:3px;border-bottom:0}
/* vue éclatée de l'accueil légèrement agrandie */
@media (min-width:1200px){ .e-detail .da-archi .da-inverse{grid-template-columns:8fr 5fr} }
/* vue éclatée agrandie de 15 % : sur ordinateur elle s'étend vers la gauche (marge de la page) ;
   sur tablette et smartphone elle est centrée et ne dépasse jamais la largeur de l'écran */
@media (min-width:1200px){ .e-detail .da-eclate{width:115%;margin-left:-15%} }
@media (max-width:1199px){
  .e-detail .da-eclate{--l:min(115%, 100vw);width:var(--l);margin-left:calc((100% - var(--l)) / 2)}
}
.e-detail .e-presta{position:relative;z-index:1;margin-top:-3px}   /* recouvre les 3 derniers pixels de la vidéo : jonction nette */

/* vue éclatée : indice « survolez » */
.da-eclate{cursor:pointer;touch-action:pan-y}   /* tactile : glissé horizontal = éclatement */
.da-indice{position:absolute;right:max(10px, calc(22 * var(--u)));top:max(10px, calc(22 * var(--u)));white-space:nowrap;
  font-family:var(--mono);font-weight:300;font-size:max(11px, calc(16 * var(--u)));letter-spacing:.1em;text-transform:uppercase;
  color:var(--brown);background:rgba(247,246,245,.85);padding:.6em 1.2em;pointer-events:none;transition:opacity .4s ease}
.da-eclate.is-ouvert .da-indice{opacity:0}
.da-indice-tactile{display:none}
@media (hover:none){ .da-indice-souris{display:none} .da-indice-tactile{display:inline} }


/* appel à l'action */
.da-fin{background:var(--sable);padding:max(30px, calc(64 * var(--u))) 20px}
.da-fin .da-accroche{font-size:max(14px, calc(25 * var(--u)));margin-bottom:.9em}
.da-fin .da-accroche{color:var(--brown)}
.da-boutons{display:flex;flex-wrap:wrap;justify-content:center;gap:16px;margin:0}
.da-btn-plein{background:var(--brown);color:var(--bg)}
@media (hover:hover){ .da-btn-plein:hover{background:transparent;color:var(--brown)} }

/* tablette et smartphone */
@media (max-width:1199px){
  .da-bloc-in,.da-inverse{grid-template-columns:1fr}
  .da-inverse .da-col-texte,.da-inverse .da-media{order:0}
  .da-design .da-col-texte{padding-bottom:0}
}
@media (max-width:699px){
  .da-intro .da-texte{text-align:left}
}

/* ---------- finitions : images superposées, fondu en volet doux ---------- */
/* le bas des images (coupe du tube) tombe sur le bas du bandeau beige */
.da-design{padding-bottom:0}
.da-design .da-media{align-self:end}
/* accueil : le bas de la vue éclatée touche le bandeau « La prestation en détail » */
.e-detail .da-archi{padding-bottom:0}
.e-detail .da-archi .da-media{align-self:end}
.e-detail .da-archi .da-col-texte{padding-bottom:max(40px, calc(90 * var(--u)))}
/* texte de la partie design calé en haut du bandeau */
.da-design .da-col-texte{align-self:start;padding-top:var(--da-decal, 0px);padding-bottom:max(48px, calc(110 * var(--u)))}
.da-pile{position:relative;width:100%;aspect-ratio:4/3;touch-action:pan-y}   /* tactile : glissé horizontal = décollage, vertical = défilement */
.da-pile img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0;
  -webkit-user-select:none;user-select:none;pointer-events:none}
.da-pile img.is-on{opacity:1;z-index:1}
/* entrée en fondu enchaîné très doux : la nouvelle finition apparaît sur la précédente */
/* « feuille décollée » : dessinée image par image dans un canevas posé sur les finitions (design-architecture.js) */
.da-feuille{position:absolute;inset:0;width:100%;height:100%;z-index:3;pointer-events:none;opacity:0}
.da-feuille.is-on{opacity:1}
@media (prefers-reduced-motion:reduce){
  .da-feuille{display:none}
}

/* ---------- page « Prestation proposée » : une colonne centrée, lignes à puces dorées ---------- */
.da-presta-page{max-width:max(320px, calc(1900 * var(--u)))}
.da-presta-page .da-h1{line-height:1.08;white-space:nowrap;   /* toujours sur 2 lignes, comme sur ordinateur */
  font-size:min(max(30px, calc(76 * var(--u))), 8.4vw)}           /* plus petit sur mobile pour tenir en largeur */
/* « & » dans une grotesque classique pour une forme conventionnelle, même graisse que le titre */
.da-et{font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;font-weight:700;letter-spacing:0}
.da-presta-boite{width:fit-content;max-width:100%;margin:0 auto}
/* liste centrée sur la page (et donc sous le titre) : sa largeur est celle de sa plus longue ligne ; la note suit cette largeur */
.da-presta-col{margin:max(32px, calc(80 * var(--u))) auto 0;text-align:left;width:fit-content;max-width:100%}
.da-presta-col .da-note{width:0;min-width:100%}
.da-presta-col .da-liste{margin-top:0}
.da-presta-col .da-liste li,.da-presta-col .da-liste li:last-child{border:0}   /* sans traits de séparation */
.da-presta-col .da-note{text-align:left;margin-top:calc(2.4em + 10px)}

/* page Prestation : la page remplit l'écran, l'appel à l'action descend, les mentions légales n'apparaissent qu'en faisant défiler */
.page-da main.da{display:flex;flex-direction:column;min-height:100vh;min-height:100svh}
.page-da .da-fin{flex:1;display:flex;flex-direction:column;justify-content:center}
.da-fin-ligne{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:max(22px, calc(64 * var(--u)));text-align:center}
.da-fin-ligne .da-accroche{margin:0}
.da-fin-ligne .e-presta-btn{flex:none}
/* « Discutons de votre projet. » : même écriture, chevrons et effets que « La prestation en détail. », à 70 % */
.da-fin-btn.e-presta-btn{gap:max(10px, calc(23.8 * var(--u)))}
.da-fin-btn .e-presta-txt{font-size:min(max(17px, calc(42.33 * var(--u))), 5.6vw)}
.da-fin-btn.e-presta-btn{height:min(max(43px, calc(85.4 * var(--u))), 13vw)}

/* ---------- smartphone et tablette : pavés de texte centrés, visuels rapprochés du texte ---------- */
@media (max-width:1199px){
  .e-detail .da-bloc-in{gap:max(16px, calc(24 * var(--u)))}
  /* textes alignés à gauche, comme sur ordinateur ; le pavé est centré dans l'écran */
  .e-detail .da-col-texte{text-align:left;width:100%;max-width:36em;margin-left:auto;margin-right:auto;justify-self:center}
  .e-detail .da-design .da-col-texte,
  .e-detail .da-archi .da-col-texte{padding-top:0;padding-bottom:0}
  /* « La prestation en détail. » : réduit pour tenir en entier dans la largeur, centré */
  .e-presta{padding-left:12px;padding-right:12px}
  .e-presta-btn{height:min(max(62px, calc(122 * var(--u))), 15vw);gap:min(max(14px, calc(34 * var(--u))), 3.5vw)}
  .e-presta-txt{font-size:min(max(24px, calc(60.47 * var(--u))), 7.4vw)}
}
/* smartphone : mêmes marges que le texte de la page À propos */
@media (max-width:699px){
  /* visuel des finitions légèrement agrandi */
  .e-detail .da-finitions{width:116%;margin-left:-8%}
  .e-detail .da-eclate{--l:min(126.5%, 100vw)}   /* smartphone : 110 % × 1,15 */
  .e-detail .da-col-texte{padding-left:calc(38.7 * var(--u) - 20px);padding-right:calc(38.7 * var(--u) - 20px)}
}

/* smartphone en paysage (écran peu haut) : visuel des finitions dimensionné sur la hauteur de l.écran (la coque reste entièrement visible, seul le bas du tube peut dépasser) */
@media (max-width:1199px) and (orientation:landscape) and (max-height:600px){
  .e-detail .da-finitions{width:100%;max-width:calc((100vh - 90px) * 1.8);margin-left:auto;margin-right:auto}
}

/* ---------- page Prestation : 3 prestations à la suite, sur la même colonne centrée ---------- */
.da-presta-boite + .da-presta-boite{margin-top:max(64px, calc(170 * var(--u)))}
.da-presta-boite{scroll-margin-top:calc(var(--bh, 120) * var(--u) + 20px)}
/* Diag Design : logo à gauche du titre ; texte plus long, colonne limitée en largeur */
.da-diag-tete{display:flex;align-items:center;justify-content:center;gap:max(18px, calc(56 * var(--u)))}
.da-diag-tete .da-h1{margin:0;text-align:left}
.da-diag-logo{display:block;flex:none;width:max(76px, calc(190 * var(--u)));height:auto}
.da-diag{width:auto;max-width:max(320px, calc(1500 * var(--u)))}
.da-diag-col{width:auto}
.da-inter{font-family:var(--mono);font-weight:300;font-size:max(15px, calc(26 * var(--u)));letter-spacing:.06em;color:var(--dg);margin:0 0 .5em}
.da-inter ~ .da-inter{margin-top:2.2em}
.da-p{font-family:var(--mono);font-weight:300;font-size:max(13px, calc(20 * var(--u)));line-height:1.45;letter-spacing:.02em;margin:0 0 .4em}
/* tablette et smartphone : logo au-dessus du titre, titre réduit pour tenir dans la largeur */
@media (max-width:1199px){
  .da-diag-tete{flex-direction:column;gap:max(14px, calc(30 * var(--u)))}
  .da-diag-tete .da-h1{text-align:center}
  .da-presta-page .da-diag-tete .da-h1{font-size:min(max(30px, calc(76 * var(--u))), 6.8vw)}
}

/* « Détail prestation. » + logo Diag Design : réduits pour tenir côte à côte dans la largeur de l'écran */
@media (max-width:1199px){
  .e-presta{gap:min(max(20px, calc(60 * var(--u))), 5vw)}
  .e-presta .e-presta-btn{height:min(max(62px, calc(122 * var(--u))), 11vw);gap:min(max(14px, calc(34 * var(--u))), 2.6vw)}
  .e-presta .e-presta-txt{font-size:min(max(24px, calc(60.47 * var(--u))), 5.6vw)}
  .e-diag{height:min(max(78px, calc(150 * var(--u))), 15vw)}
}

/* accueil, bloc « Le design produit » : logo Diag Design + « Expert agréé Diag Design Bpifrance » sous le texte */
.da-expert{display:inline-flex;align-items:center;gap:max(12px, calc(28 * var(--u)));margin-top:max(16px, calc(40 * var(--u)));
  color:var(--ink);text-decoration:none;transition:transform .3s var(--ease)}
.da-expert img{display:block;flex:none;width:max(64px, calc(130 * var(--u)));height:auto}
.da-expert span{font-family:var(--mono);font-weight:300;font-size:max(13px, calc(22 * var(--u)));line-height:1.35;letter-spacing:.02em}
.da-expert b{font-weight:400;color:var(--dg)}
@media (hover:hover){ .da-expert:hover{transform:scale(1.04)} }

/* page Prestations : lignes des listes et phrases d'introduction dans la typo des textes du site (Archivo 100, comme « Le design produit ») */
.da-presta-page .da-liste,.da-presta-page .da-p{font-family:var(--font);font-weight:100;font-size:var(--fs-txt);line-height:var(--lh-txt);letter-spacing:0}
.da-presta-page .da-liste li{padding-top:.4em;padding-bottom:.4em}
.da-presta-page .da-liste li::before{top:.95em}

/* page Prestations : lignes des listes espacées comme les lignes de texte des autres pages (pas d'écart ajouté entre puces) */
.da-presta-page .da-liste li{padding-top:0;padding-bottom:0}
.da-presta-page .da-liste li::before{top:.55em}
.da-presta-page .da-p{margin-bottom:0}
.da-presta-page .da-liste{margin-top:0}
.da-presta-page .da-inter + .da-p + .da-liste,.da-presta-page .da-p + .da-liste{margin-top:0}

/* « Autres prestations. » : sous le Diag Design, remonte en haut de la page */
/* défilement doux réservé à la page Prestations (ce fichier est aussi chargé par l'accueil, où il ferait défiler la page à la fermeture d'une fenêtre projet) */
html:has(.da-autres){scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){ html:has(.da-autres){scroll-behavior:auto} }
.da-autres{display:flex;justify-content:center;margin-top:max(48px, calc(120 * var(--u)))}


/* « Autres prestations. » : texte, puis un seul chevron doré tourné vers le haut (qui pointe vers le haut de la page) */
.da-autres-btn{display:inline-flex;flex-direction:column;align-items:center;gap:max(8px, calc(18 * var(--u)));color:var(--ink);text-decoration:none;
  transition:transform .3s var(--ease),opacity .3s ease}
@media (hover:hover){ .da-autres-btn:hover{transform:scale(1.04)} }
.da-autres-btn .e-presta-txt{font-size:min(max(17px, calc(42.33 * var(--u))), 5.6vw)}
.da-autres-chev{display:block;width:min(max(46px, calc(92 * var(--u))), 14vw);height:auto;overflow:visible}

/* Diag Design : colonne de texte de la même largeur que celle de la prestation Design & Architecture produit (réglée par design-architecture.js) */
.da-diag{width:fit-content;max-width:100%}
.da-diag-col{width:var(--da-col, auto);max-width:100%}
/* phrases d'introduction en italique, un peu détachées de leur liste */
.da-presta-page .da-p{font-style:italic;margin-bottom:.7em}

/* bandeau du bas : phrase, puis « Discutons de votre projet. » dessous, le tout centré ; « Retour. » reste à gauche */
.da-fin-ligne{flex-direction:column;flex-wrap:nowrap;gap:max(14px, calc(34 * var(--u)))}

/* « Retour. » : sur sa propre ligne, à gauche, juste au-dessus du bandeau du bas */
.da-retour-ligne{display:flex;justify-content:flex-start;padding:0 20px max(20px, calc(40 * var(--u))) max(20px, calc(110 * var(--u)))}

/* chevron de « Autres prestations. » légèrement agrandi */
.da-autres-chev{width:min(max(58px, calc(118 * var(--u))), 17vw)}

/* accueil, smartphone : logo « Expert agréé Diag Design Bpifrance » placé au-dessus du titre « Le design produit. » ; le bas du bandeau beige reste comme avant (visuel collé en bas) */
.da-expert-mob{display:none}
@media (max-width:699px){
  .e-detail .da-col-texte .da-expert{display:none}
  .e-detail .da-expert-mob{display:inline-flex;justify-self:start;margin:0 0 max(10px, calc(24 * var(--u)));padding-left:calc(38.7 * var(--u) - 20px)}
}
@media (max-width:1199px){ .da-retour-ligne{padding-left:20px} }

/* ordinateur : « Retour. » collé à l'écran pendant le défilement, à la hauteur où il se pose au-dessus du bandeau du bas */
@media (min-width:1200px){
  .da-retour-ligne{position:sticky;bottom:var(--retour-bas, 0px);z-index:5;pointer-events:none}
  .da-retour-ligne .da-retour{pointer-events:auto}
}

/* smartphone : le bouton « Retour. » du bas disparaît, remplacé par le chevron du bandeau haut (style.css) */
@media (max-width:699px){ .da-retour-ligne{display:none} }

/* accueil, smartphone : un peu plus d'air entre « …au service de votre produit. » et le bandeau beige,
   et le logo « Expert agréé » remonté vers le haut du bandeau */
@media (max-width:699px){
  .page-exp .e-detail{margin-top:calc(14 * var(--u))}
  .e-detail .da-design{padding-top:max(26px, calc(52 * var(--u)))}
}

/* page Prestations : intertitres « Méthodologie » et « Livrables attendus » en plus gras (IBM Plex Mono Regular, entre Light et Medium) */
.da-inter{font-weight:400}

/* =====================================================================
   TABLETTE (portrait et paysage) : on reprend la version smartphone, mais les textes ne prennent pas toute la largeur :
   une colonne centrée d'environ 33 caractères de large (--t-col) avec un texte de 16 à 18 px (--t-fs) — belles marges, textes
   à taille raisonnable. Les titres et les visuels gardent la composition smartphone. (--t-fs et --t-col : style.css)
   ===================================================================== */
@media (min-width:700px) and (max-width:1199px),
       (min-width:1200px) and (max-width:1439px) and (hover:none) and (pointer:coarse) and (orientation:landscape){
  .page-da,.da-vars{--fs-txt:var(--t-fs);--lh-txt:1.5}
  /* accueil : blocs « Le design produit » / « L'architecture produit » */
  .e-detail .da-bloc-in{grid-template-columns:1fr}
  .e-detail .da-col-texte{width:var(--t-col);max-width:none;margin-left:auto;margin-right:auto;justify-self:center;padding-left:0;padding-right:0}
  .e-detail .da-h2{font-size:calc(2.4 * var(--t-fs))}
  .e-detail .da-texte{font-size:var(--t-fs)}
  .da-expert img{width:calc(5.6 * var(--t-fs))}
  .da-expert span{font-size:calc(.9 * var(--t-fs))}
  /* bandeau « Détail prestations. » + logo Diag Design */
  .e-presta{gap:calc(2.2 * var(--t-fs))}
  .e-presta .e-presta-btn{height:calc(4 * var(--t-fs));gap:calc(1.1 * var(--t-fs))}
  .e-presta .e-presta-txt{font-size:calc(2 * var(--t-fs))}
  .e-diag{height:calc(5 * var(--t-fs))}
  /* page Prestations */
  .da-presta-page{max-width:calc(var(--t-col) + 40px)}
  .da-presta-page .da-h1,.da-presta-page .da-diag-tete .da-h1{font-size:calc(2.4 * var(--t-fs))}
  .da-presta-boite,.da-diag{max-width:var(--t-col)}
  .da-diag-logo{width:calc(6.4 * var(--t-fs))}
  .da-note{font-size:calc(.85 * var(--t-fs))}
  .da-inter{font-size:calc(1.1 * var(--t-fs))}
  .da-fin .da-accroche{font-size:calc(1.15 * var(--t-fs))}
  /* boutons « Discutons de votre projet. », « Autres prestations. », « Retour. » */
  .da-fin-btn.e-presta-btn{height:calc(3.6 * var(--t-fs));gap:calc(1 * var(--t-fs))}
  .da-fin-btn .e-presta-txt,.da-autres-btn .e-presta-txt{font-size:calc(1.75 * var(--t-fs))}
  .da-autres-chev{width:calc(4.6 * var(--t-fs))}
}

/* tablette = version smartphone : logo « Expert agréé » au-dessus du titre « Le design produit. » (aligné sur la colonne de texte),
   bouton « Retour. » du bas remplacé par le chevron du bandeau haut (style.css) */
@media (min-width:700px) and (max-width:1199px),
       (min-width:1200px) and (max-width:1439px) and (hover:none) and (pointer:coarse) and (orientation:landscape){
  .e-detail .da-col-texte .da-expert{display:none}
  .e-detail .da-expert-mob{display:flex;justify-self:center;width:var(--t-col);margin:0 auto calc(1.4 * var(--t-fs));padding:0}
  .da-retour-ligne,.page-cp .da-retour-ligne{display:none}
  .page-exp .e-detail{margin-top:calc(14 * var(--u))}
}

/* « Expert agréé / Diag Design Bpifrance » aligné sur le bas du logo (2 lignes conservées) */
.da-expert{align-items:flex-end}
.da-expert span{margin-bottom:-.3em}

/* =====================================================================
   Logo OR Product Design Diag Design + « Expert agréé / Diag Design Bpifrance » : centré entre l'accroche
   « Mon expérience… » et le bandeau beige (tous formats). --h : hauteur du logo.
   Les 2 lignes de texte sont calées sur les 2 lignes du logo : « Expert agréé » sur la ligne de base de « Diag »,
   « Diag Design Bpifrance » sur celle de « Design » (mesures du SVG : hauteur 907, lignes de base à 682 et 864 depuis le haut).
   ===================================================================== */
.e-expert{display:flex;justify-content:center;padding:max(26px, calc(60 * var(--u))) 20px max(34px, calc(80 * var(--u)))}
.e-expert .da-expert{--h:max(84px, calc(150 * var(--u)));display:inline-flex;align-items:flex-end;gap:calc(.2 * var(--h));margin:0}
.e-expert .da-expert img{display:block;height:var(--h);width:auto}
.e-expert .da-expert span{font-size:calc(.13 * var(--h));line-height:calc(.2007 * var(--h));
  margin-bottom:calc(.0475 * var(--h) - .1004 * var(--h) + .375 * .13 * var(--h))}
.page-exp .e-detail{margin-top:0}
@media (min-width:700px) and (max-width:1199px),
       (min-width:1200px) and (max-width:1439px) and (hover:none) and (pointer:coarse) and (orientation:landscape){
  .e-expert .da-expert{--h:calc(6 * var(--t-fs))}
}

/* Diag Design : 3 étapes (intertitre IBM Plex Mono comme « Méthodologie », texte dans la typo des textes du site) */
.da-presta-page .da-txt{font-family:var(--font);font-weight:100;font-size:var(--fs-txt);line-height:var(--lh-txt);margin:0}
.da-diag-col .da-inter{margin-bottom:.35em}
.da-diag-col .da-txt + .da-inter{margin-top:1.6em}
.da-diag-col .da-bpi{margin-top:2.2em;font-style:italic}

/* =====================================================================
   Logos des 3 prestations (Design produit, Design & Architecture produit, Diag Design).
   --s : taille d'une unité des fichiers SVG ; --vh : hauteur du SVG (indiquée sur chaque logo).
   Les « OR » des 3 logos ont ainsi exactement la même taille.
   ===================================================================== */
/* accueil : bandeau sable, 3 logos-boutons alignés sur le haut des OR */
.e-logos{--s:min(calc(.24 * var(--u)), .0224vw);align-items:flex-start;gap:calc(500 * var(--s));
  padding-top:max(30px, calc(70 * var(--u)));padding-bottom:max(30px, calc(70 * var(--u)))}
.e-logo{display:block;flex:none;height:calc(var(--vh) * var(--s))}
.e-logo img{display:block;height:100%;width:auto}
/* survol : même effet que les boutons (glissement aimanté fluide vers la souris + léger agrandissement).
   L'agrandissement est porté par l'image, pas par le lien : la zone de survol ne bouge pas, donc plus de
   tressautement en bord de logo. Le glissement reprend la transition fluide des boutons (.fx-mag, effets.css). */
.e-logo.fx-mag{transition:translate .6s var(--fx-ease),opacity .35s ease}
.e-logo img{transition:transform .3s var(--ease);transform-origin:calc(var(--g, .5) * 100%) 30%}
@media (hover:hover){ .e-logo:hover img{transform:scale(1.04)} }

/* Équilibrage du bandeau (maquette d'Olivier, déc. 2026) : les 3 symboles « OR » sont régulièrement espacés
   (écart --d entre leurs centres), celui du milieu au centre de la page ; le texte de chaque logo déborde
   librement de part et d'autre. 3 colonnes de largeur nulle = 3 points d'ancrage ; chaque logo est décalé
   vers la gauche de la part située à gauche du centre de son OR (--g × largeur). */
.e-presta.e-logos{--s:calc(.17 * var(--u));--d:26vw;display:grid;grid-template-columns:0 0 0;column-gap:var(--d);
  justify-content:center;align-items:start;gap:0 var(--d);
  padding:calc(230 * var(--s)) 0 calc(200 * var(--s));overflow:hidden}
.e-logos .e-logo{justify-self:start;width:calc(var(--vw) * var(--s));height:calc(var(--vh) * var(--s));
  margin-left:calc(-1 * var(--g) * var(--vw) * var(--s))}
.e-logos .e-logo img{width:100%;height:100%}
/* phrase sous le bandeau */
.e-logos-txt{margin:0;padding:max(14px, calc(28 * var(--u))) 20px max(22px, calc(60 * var(--u)));text-align:center;
  font-family:var(--font);font-weight:100;font-size:max(13px, calc(26 * var(--u)));line-height:1.45;color:var(--ink)}
@media (min-width:700px) and (max-width:1199px),
       (min-width:1200px) and (max-width:1439px) and (hover:none) and (pointer:coarse) and (orientation:landscape){
  .e-presta.e-logos{--s:.0095vw;--d:28vw}
  .e-logos-txt{padding:calc(1 * var(--t-fs)) 40px calc(1.6 * var(--t-fs))}
}
@media (max-width:699px){
  /* smartphone : les 3 logos empilés, symboles OR centrés dans la page, espacés */
  .e-presta.e-logos{--s:.026vw;--d:0;grid-template-columns:0;row-gap:calc(320 * var(--s));
    padding:calc(320 * var(--s)) 0}
  .e-logos-txt{padding:14px 24px 22px}
}
/* page Prestations : logos à la place des titres, même échelle que sur l'accueil (en plus grand) */
.da-logo-titre{--s:min(calc(.22 * var(--u)), .05vw);display:flex;justify-content:center;white-space:normal!important;margin-bottom:max(26px, calc(70 * var(--u)))!important}
.da-logo-titre img{display:block;height:calc(var(--vh) * var(--s));width:auto}
.da-presta-boite.da-diag{width:100%}
@media (max-width:699px){
  .da-logo-titre{--s:.04vw}
}
@media (min-width:700px) and (max-width:1199px),
       (min-width:1200px) and (max-width:1439px) and (hover:none) and (pointer:coarse) and (orientation:landscape){
  .e-logos{--s:calc(.0085 * var(--t-fs))}
  .da-logo-titre{--s:calc(.0095 * var(--t-fs))}
  .e-expert .da-expert{--h:calc(4 * var(--t-fs))}
}
/* « Expert agréé » : logo Diag Design + 2 lignes de VRAI texte (Archivo Thin), placées exactement comme dans
   l'ancienne image diag-design-expert-agree.svg. --h : hauteur voulue du logo ; --hh : la même, réduite si
   l'ensemble (≈ 5 × la hauteur du logo en largeur) ne tient pas dans 86 % de l'écran. */
.e-expert .da-expert{--h:max(60px, calc(130 * var(--u)))}
.e-expert .da-expert{--hh:min(var(--h), calc(86vw / 5));align-items:flex-start;gap:0;white-space:nowrap}
.e-expert .da-expert img{height:var(--hh);width:auto;max-width:none;flex:none}
.e-expert .da-expert .da-expert-txt{display:block;margin:0 0 0 calc(.2688 * var(--hh));padding:0;
  font-family:"Archivo",sans-serif;font-weight:100;font-size:calc(.4101 * var(--hh));line-height:1.2;letter-spacing:0;
  padding-top:.2993em;color:#000}
.e-expert .da-expert .da-expert-txt span{margin:0;font:inherit;line-height:inherit;letter-spacing:0}
.e-expert .da-expert .da-expert-txt > span{display:block}
.e-expert .da-expert .da-expert-dg{display:inline;color:#7f775e}
@media (min-width:700px) and (max-width:1199px),
       (min-width:1200px) and (max-width:1439px) and (hover:none) and (pointer:coarse) and (orientation:landscape){
  .e-expert .da-expert{--h:calc(3.6 * var(--t-fs))}
}
/* page Prestations : logos-titres agrandis ×2 ; largeur bornée à l'écran (le logo Design & Architecture est le plus large) */
.da-logo-titre{--s:min(calc(.44 * var(--u)), .1vw)}
.da-logo-titre img{width:calc(var(--vw) * var(--s));height:auto;max-width:calc(100vw - 48px)}
@media (max-width:699px){ .da-logo-titre{--s:.08vw} }
@media (min-width:700px) and (max-width:1199px),
       (min-width:1200px) and (max-width:1439px) and (hover:none) and (pointer:coarse) and (orientation:landscape){
  .da-logo-titre{--s:calc(.019 * var(--t-fs))}
  .da-logo-titre img{max-width:var(--t-col)}
}
/* page Prestations : le symbole « OR » de chaque logo est centré dans la page (le texte déborde à gauche).
   --dx : décalage du logo (en % de sa largeur) ; --g : part du logo à gauche du centre du OR (borne la largeur sur petit écran) */
.da-logo-titre img{transform:translateX(var(--dx, 0));max-width:calc((100vw - 40px) / 2 / var(--g, .5))}
@media (min-width:700px) and (max-width:1199px),
       (min-width:1200px) and (max-width:1439px) and (hover:none) and (pointer:coarse) and (orientation:landscape){
  .da-logo-titre img{max-width:calc(var(--t-col) / 2 / var(--g, .5))}
}

/* =====================================================================
   Page Prestations : une offre par écran, centrée en hauteur sous le bandeau ;
   chevrons fixes en haut / en bas de l'écran pour passer à l'offre précédente / suivante.
   --hb : hauteur réelle du bandeau du haut (mesurée par design-architecture.js)
   ===================================================================== */
html:has(.da-nav){scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){ html:has(.da-nav){scroll-behavior:auto} }
.da-presta-page{padding-top:0;padding-bottom:0}
.da-presta-boite{display:flex;flex-direction:column;align-items:center;justify-content:center;
  min-height:calc(100svh - var(--hb, 80px));box-sizing:border-box;padding:max(60px, calc(120 * var(--u))) 0;scroll-margin-top:var(--hb, 80px)}
.da-presta-boite + .da-presta-boite{margin-top:0}
.da-presta-boite > .da-presta-col{align-self:center}
/* Diag Design : intertitre et phrase sur la même ligne */
.da-etape{margin:0 0 .9em}
.da-etape .da-inter{display:inline;margin:0 .35em 0 0}
.da-etape .da-txt{display:inline}
/* chevrons */
.da-nav{position:fixed;left:50%;z-index:50;width:min(max(46px, calc(92 * var(--u))), 14vw);padding:12px;margin:0;border:0;background:none;cursor:pointer;
  transform:translateX(-50%);opacity:1;transition:opacity .3s ease}
.da-nav[hidden]{display:block;opacity:0;pointer-events:none}
.da-nav svg{display:block;width:100%;height:auto;overflow:visible}
.da-nav-haut{top:calc(var(--hb, 80px) + 6px)}
.da-nav-bas{bottom:max(10px, calc(24 * var(--u)))}
.da-nav-bas svg{transform:scaleY(-1)}
.da-nav-haut svg{animation:nav-haut 1.5s ease-in-out infinite}
.da-nav-bas svg{animation:nav-bas 1.5s ease-in-out infinite}
@keyframes nav-haut{0%,80%,100%{translate:0 0}20%,60%{translate:0 -6px}40%{translate:0 0}}
@keyframes nav-bas{0%,80%,100%{translate:0 0}20%,60%{translate:0 6px}40%{translate:0 0}}
@media (prefers-reduced-motion:reduce){ .da-nav svg{animation:none} }
@media (hover:hover){ .da-nav:hover{transform:translateX(-50%) scale(1.08)} }
@media (min-width:700px) and (max-width:1199px),
       (min-width:1200px) and (max-width:1439px) and (hover:none) and (pointer:coarse) and (orientation:landscape){
  .da-nav{width:calc(3.6 * var(--t-fs))}
}
/* Diag Design : même largeur de texte que les offres du dessus (--da-col mesurée par design-architecture.js) */
.da-presta-boite .da-diag-col{width:var(--da-col, auto);max-width:100%}
/* chevrons masqués pendant le défilement (ils ne traversent plus logos et textes), réaffichés à l'arrêt */
.da-nav.is-defile{opacity:0;pointer-events:none;transition-duration:.15s}
/* Diag Design : « Analyse. / Recommandations. / Propositions. » dans la typo du texte (Archivo, même taille et graisse), en doré */
.da-etape .da-inter{font-family:var(--font);font-weight:100;font-size:var(--fs-txt);line-height:var(--lh-txt);letter-spacing:0}
/* Diag Design : étapes en liste à losanges, comme les autres offres */
.da-diag-col .da-etapes{margin:0}
.da-diag-col .da-etapes .da-etape{margin:0}   /* même interligne que les listes des autres offres */
.da-diag-col .da-etapes .da-etape:last-child{margin-bottom:0}

/* =====================================================================
   Bandeau des 3 offres, ordinateur et tablettes (≥ 700 px) : les logos sont rapprochés et alignés à gauche
   et à droite sur la phrase du dessous (1er logo calé sur le début de la phrase, dernier sur sa fin, celui du
   milieu à égale distance). --lw : largeur de la phrase, mesurée par design-architecture.js.
   Survol adouci : glissement aimanté plus lent et plus léger, agrandissement plus discret.
   ===================================================================== */
@media (min-width:700px){
  .e-presta.e-logos{display:flex;justify-content:space-between;align-items:flex-start;gap:0;
    padding-left:max(20px, calc((100% - var(--lw, 60%)) / 2 - 1cm));padding-right:max(20px, calc((100% - var(--lw, 60%)) / 2 - 1cm))}   /* logos extérieurs écartés de 1 cm de chaque côté de la phrase */
  .e-logos .e-logo{margin-left:0;flex:none}
}
.e-logos-ligne{display:inline-block}
.e-logos-txt b{font-weight:500}
.e-logo.fx-mag{transition:translate 1.2s cubic-bezier(.22,1,.36,1),opacity .35s ease}
.e-logo img{transition:transform .7s cubic-bezier(.22,1,.36,1)}
@media (hover:hover){ .e-logo:hover img{transform:scale(1.025)} }
/* phrase sous le bandeau : même taille que les autres textes du site, sur tous les écrans */
.e-logos-txt{font-size:var(--fs-txt);line-height:var(--lh-txt)}
/* Tous écrans : les 3 logos d'offres apparaissent l'un après l'autre à chaque fois que le bandeau revient
   à l'écran (montée + léger rebond, puis un bref grossissement). Classes posées par design-architecture.js :
   .e-anim = animation active ; .is-vu = bandeau à l'écran (retirée quand il en sort, pour rejouer).
   Sans script, les logos restent simplement visibles. Les animations ne « figent » pas l'image après coup,
   pour laisser fonctionner le survol à la souris. */
.e-logos.e-anim:not(.is-vu) .e-logo img{opacity:0;transform:translateY(18px) scale(.92)}
.e-logos.e-anim.is-vu .e-logo img{animation:offre-entree .9s cubic-bezier(.22,1.4,.36,1) backwards, offre-appel 1.2s ease-in-out}
.e-logos.e-anim.is-vu .e-logo:nth-child(1) img{animation-delay:.05s, 1.4s}
.e-logos.e-anim.is-vu .e-logo:nth-child(2) img{animation-delay:.3s, 1.65s}
.e-logos.e-anim.is-vu .e-logo:nth-child(3) img{animation-delay:.55s, 1.9s}
@keyframes offre-entree{from{opacity:0;transform:translateY(18px) scale(.92)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes offre-appel{0%,100%{transform:scale(1)}45%{transform:scale(1.07)}}
/* au toucher : petit enfoncement */
@media (hover:none){ .e-logos .e-logo:active img{transform:scale(.96);transition:transform .15s ease} }
@media (prefers-reduced-motion:reduce){
  .e-logos.e-anim .e-logo img{opacity:1!important;transform:none;animation:none!important}
}
