/*
Theme Name: ACTHEOS 2026
Theme URI: https://www.actheos.com/
Author: ACTHEOS
Description: Thème bloc WordPress conçu pour le groupement ACTHEOS, CAG Partners à Paris et SAGEC à Bordeaux.
Version: 1.16.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: actheos-2026
*/

:root{
  --act-blue:#4E667F;
  --act-blue-dark:#354C63;
  --act-blue-light:#8399AD;
  --act-orange:#FF7D3C;
  --act-cream:#F5F8FA;
  --act-ink:#24313D;
  --act-muted:#5F6C78;
  --act-line:#D9E2E8;
  --act-white:#FFFFFF;
}

html{scroll-behavior:smooth}
body{overflow-x:hidden}
a{text-underline-offset:.18em}
.actheos-shell{box-shadow:0 1px 0 rgba(36,49,61,.08)}
.actheos-header{backdrop-filter:saturate(145%) blur(14px);border-top:4px solid var(--act-orange);z-index:50}
.actheos-logo img{display:block;width:263px;max-width:220px;height:auto}
.actheos-header .wp-block-navigation{font-size:.82rem;letter-spacing:.015em}
.actheos-header .wp-block-navigation-item__content{padding:.6rem .32rem}
.actheos-header .wp-block-navigation-item.has-child,
.actheos-header .wp-block-navigation-submenu{position:relative;overflow:visible!important;min-width:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.actheos-header .wp-block-navigation-item.has-child>.wp-block-navigation__submenu-container{top:100%!important;left:0!important;z-index:9999!important;background:#fff;border:1px solid var(--act-line);border-radius:12px;box-shadow:0 18px 48px rgba(53,76,99,.16);min-width:250px!important}
.actheos-header .wp-block-navigation-submenu .wp-block-navigation-item__content{padding:.8rem 1rem}
.actheos-header .wp-block-navigation-submenu .wp-block-navigation-item__content:hover{background:var(--act-cream)}
.wp-block-navigation .wp-block-navigation-item__content:hover{color:var(--act-orange)}

@media(min-width:701px){
  .actheos-header .wp-block-navigation-item.has-child:hover>.wp-block-navigation__submenu-container,
  .actheos-header .wp-block-navigation-item.has-child:focus-within>.wp-block-navigation__submenu-container,
  .actheos-header .wp-block-navigation-submenu__toggle[aria-expanded="true"]~.wp-block-navigation__submenu-container{display:flex!important;flex-direction:column!important;visibility:visible!important;opacity:1!important;width:250px!important;height:auto!important;overflow:hidden!important;pointer-events:auto!important}
}

.actheos-kicker{text-transform:uppercase;letter-spacing:.14em;font-size:.76rem;font-weight:750;color:var(--act-orange)}
.actheos-hero{position:relative;overflow:hidden}
.actheos-hero:after{content:"";position:absolute;right:-160px;top:-210px;width:560px;height:560px;border:92px solid rgba(255,125,60,.11);border-radius:50%;pointer-events:none}
.actheos-hero:before{content:"";position:absolute;right:15%;bottom:-170px;width:360px;height:360px;background:rgba(131,153,173,.15);border-radius:50%;pointer-events:none}
.actheos-hero-card{position:relative;z-index:2;overflow:hidden}
.actheos-hero-card:before{content:"";display:block;height:145px;margin:-30px -30px 24px;background-image:linear-gradient(90deg,rgba(53,76,99,.18),rgba(53,76,99,.03)),url("assets/photos/hero-home.jpg");background-size:cover;background-position:center}
.actheos-brand-motif{position:absolute;right:18px;top:18px;display:block;width:82px;max-width:30%;height:auto;margin:0;padding:8px;background:rgba(255,255,255,.9);border-radius:12px;box-shadow:0 8px 24px rgba(36,49,61,.16)}

.actheos-card{border:1px solid var(--act-line);border-radius:18px;box-shadow:0 14px 42px rgba(78,102,127,.10);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.actheos-card:hover{transform:translateY(-4px);box-shadow:0 22px 55px rgba(78,102,127,.17);border-color:rgba(78,102,127,.32)}
.actheos-card .wp-block-heading a{text-decoration:none}
.actheos-stat strong{display:block;font-size:clamp(2rem,4vw,3.4rem);line-height:1;color:var(--act-blue)}
.actheos-stat strong:after{content:"";display:block;width:34px;height:3px;background:var(--act-orange);margin-top:14px;border-radius:99px}
.actheos-chip{display:inline-flex;align-items:center;gap:.45rem;border:1px solid var(--act-line);border-radius:999px;padding:.45rem .75rem;background:#fff;font-size:.86rem}
.actheos-chip:before{content:"";width:7px;height:7px;background:var(--act-orange);border-radius:50%}
.actheos-icon{width:44px;height:44px;border-radius:12px;background:rgba(255,125,60,.13);display:flex;align-items:center;justify-content:center;color:var(--act-orange);font-weight:800;font-size:1.05rem}

.actheos-pillars{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.actheos-pillar{border-left:4px solid var(--act-orange);padding:1.1rem 1.25rem;background:rgba(255,255,255,.08);border-radius:0 14px 14px 0}
.actheos-pillar h3{margin:.15rem 0 .5rem;color:#fff;font-size:1.12rem}
.actheos-pillar p{margin:0;color:rgba(255,255,255,.84);font-size:.94rem}

.actheos-office{min-height:320px;position:relative;overflow:hidden;background-size:cover!important;background-position:center!important}
.actheos-office:before{content:"";position:absolute;right:-70px;bottom:-70px;width:210px;height:210px;border:42px solid rgba(255,255,255,.10);border-radius:50%}
.actheos-office>*{position:relative;z-index:1}
.actheos-office.has-act-blue-background-color{background-color:var(--act-blue)!important;background-image:linear-gradient(120deg,rgba(53,76,99,.97),rgba(53,76,99,.76)),url("assets/photos/city-paris.jpg")!important}
.actheos-office.has-act-orange-background-color{background-color:var(--act-orange)!important;background-image:linear-gradient(120deg,rgba(157,69,27,.94),rgba(255,125,60,.72)),url("assets/photos/city-bordeaux.jpg")!important}

.actheos-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:28px;width:min(1200px,calc(100vw - 48px));max-width:none!important;margin:2.25rem 0 0 50%!important;transform:translateX(-50%)}
.actheos-profile-grid>.actheos-profile{align-self:stretch;margin-block-start:0!important;margin-top:0!important}
.actheos-profile{display:grid;grid-template-columns:220px minmax(0,1fr);align-items:start;min-height:310px;height:100%;overflow:hidden;background:#fff}
.actheos-profile-photo{align-self:start;width:100%;height:310px;min-height:0;margin:0!important;background:linear-gradient(135deg,rgba(131,153,173,.28),rgba(78,102,127,.10));overflow:hidden}
.actheos-profile-photo img{display:block;width:100%;height:310px;min-height:0;object-fit:cover;object-position:center top}
.actheos-profile-content{min-width:0;padding:1.6rem}
.actheos-profile .wp-block-heading,.actheos-profile h3{margin:0 0 .15rem}
.actheos-profile-role{font-size:.82rem;color:var(--act-orange);font-weight:750;text-transform:uppercase;letter-spacing:.06em;margin-bottom:.9rem}
.actheos-profile details{border-top:1px solid var(--act-line);padding-top:.9rem;margin-top:1rem}
.actheos-profile summary{cursor:pointer;color:var(--act-blue);font-weight:700;list-style:none;display:flex;justify-content:space-between;gap:1rem}
.actheos-profile summary::-webkit-details-marker{display:none}
.actheos-profile summary:after{content:"+";color:var(--act-orange);font-size:1.2rem;line-height:1}
.actheos-profile details[open] summary:after{content:"−"}
.actheos-profile details p{margin:.85rem 0 0;color:var(--act-muted);font-size:.94rem}
.actheos-profile-details h4{margin:1.2rem 0 .35rem;color:var(--act-blue-dark);font-size:.86rem;letter-spacing:.055em;text-transform:uppercase}
.actheos-profile-details ul{margin:.35rem 0 0;padding-left:1.15rem;color:var(--act-muted);font-size:.9rem;line-height:1.5}
.actheos-profile-details li+li{margin-top:.35rem}
.actheos-profile-intro{color:var(--act-ink)!important}

body .actheos-expertise-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch;gap:24px!important}
body .actheos-expertise-grid>.actheos-expertise-card{--actheos-expertise-position:center;display:grid!important;grid-template-columns:minmax(190px,42%) minmax(0,58%)!important;grid-template-rows:1fr auto auto 1fr!important;min-height:280px;padding:0;overflow:hidden;border:0;background:linear-gradient(145deg,var(--act-blue-dark),var(--act-blue));color:#fff}
body .actheos-expertise-grid>.actheos-expertise-card:before{content:"";grid-column:1;grid-row:1/5;align-self:stretch;width:100%;height:100%;min-height:280px;background-color:var(--act-blue-light);background-image:linear-gradient(90deg,rgba(53,76,99,0) 78%,rgba(53,76,99,.2)),var(--actheos-expertise-image);background-repeat:no-repeat;background-size:cover;background-position:var(--actheos-expertise-position)}
body .actheos-expertise-grid>.actheos-expertise-card .actheos-icon{display:none}
body .actheos-expertise-grid>.actheos-expertise-card h3{grid-column:2;grid-row:2;margin:0 28px .65rem;color:#fff;font-size:clamp(1.15rem,1.6vw,1.35rem);line-height:1.25}
body .actheos-expertise-grid>.actheos-expertise-card h3:before{content:"";display:block;width:38px;height:3px;margin-bottom:.9rem;border-radius:99px;background:var(--act-orange)}
body .actheos-expertise-grid>.actheos-expertise-card p{grid-column:2;grid-row:3;margin:0 28px;padding:0;color:rgba(255,255,255,.86);font-size:.92rem;line-height:1.55}
body .actheos-expertise-grid>.actheos-expertise-card:nth-child(1){--actheos-expertise-image:url("assets/photos/expertise-comptable.jpg");--actheos-expertise-position:center top}
body .actheos-expertise-grid>.actheos-expertise-card:nth-child(2){--actheos-expertise-image:url("assets/photos/audit-cac.jpg");--actheos-expertise-position:center}
body .actheos-expertise-grid>.actheos-expertise-card:nth-child(3){--actheos-expertise-image:url("assets/photos/social-rh.jpg");--actheos-expertise-position:center top}
body .actheos-expertise-grid>.actheos-expertise-card:nth-child(4){--actheos-expertise-image:url("assets/photos/juridique-fiscal.jpg");--actheos-expertise-position:center}
body .actheos-expertise-grid>.actheos-expertise-card:nth-child(5){--actheos-expertise-image:url("assets/photos/gestion-entreprise.jpg");--actheos-expertise-position:center}
body .actheos-expertise-grid>.actheos-expertise-card:nth-child(6){--actheos-expertise-image:url("assets/photos/international.jpg");--actheos-expertise-position:center}
.actheos-expertise-card:nth-child(7){--actheos-expertise-image:url("assets/photos/gestion-patrimoine.jpg")}
.actheos-expertise-card:nth-child(8){--actheos-expertise-image:url("assets/photos/creation-reprise.jpg")}
.actheos-expertise-card:nth-child(9){--actheos-expertise-image:url("assets/photos/associations.jpg")}
.actheos-expertise-card:nth-child(10){--actheos-expertise-image:url("assets/photos/formation.jpg")}
.actheos-expertise-card:nth-child(12){--actheos-expertise-image:url("assets/photos/international.jpg")}
.actheos-section-paris .actheos-expertise-card:nth-child(3){--actheos-expertise-image:url("assets/photos/gestion-entreprise.jpg")}
.actheos-section-paris .actheos-expertise-card:nth-child(4){--actheos-expertise-image:url("assets/photos/social-rh.jpg")}
.actheos-section-paris .actheos-expertise-card:nth-child(5){--actheos-expertise-image:url("assets/photos/litiges-expertise.jpg")}
.actheos-section-paris .actheos-expertise-card:nth-child(6){--actheos-expertise-image:url("assets/photos/juridique-fiscal.jpg")}
.actheos-section-paris .actheos-expertise-card:nth-child(9){--actheos-expertise-image:url("assets/photos/protection-sociale.jpg")}
.actheos-section-paris .actheos-expertise-card:nth-child(10){--actheos-expertise-image:url("assets/photos/international.jpg")}
.actheos-section-paris .actheos-expertise-card:nth-child(11){--actheos-expertise-image:url("assets/photos/associations.jpg")}
.actheos-section-bordeaux .actheos-expertise-card:nth-child(6){--actheos-expertise-image:url("assets/photos/litiges-expertise.jpg")}

.actheos-expertise-intro{width:min(900px,100%);max-width:900px!important;margin:0 auto 2.4rem!important;text-align:center}
.actheos-expertise-intro .actheos-kicker{margin-bottom:.75rem}
.actheos-expertise-intro h2{max-width:820px;margin:.25rem auto .85rem;color:var(--act-blue-dark);font-size:clamp(1.7rem,3vw,2.4rem);line-height:1.2}
.actheos-expertise-intro p{max-width:780px;margin:0 auto;color:var(--act-muted);font-size:1.05rem;line-height:1.7}
body .actheos-expertise-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start!important;gap:28px;width:min(1180px,calc(100vw - 56px))!important;max-width:none!important;margin:0 0 0 50%!important;transform:translateX(-50%)}
body .actheos-expertise-list>.actheos-expertise-entry{display:grid!important;grid-template-columns:200px minmax(0,1fr)!important;grid-template-rows:auto!important;align-self:start!important;width:100%;min-height:320px;height:auto!important;overflow:hidden;background:#fff;margin-block-start:0!important}
body .actheos-expertise-entry>.actheos-expertise-photo{grid-column:1!important;grid-row:1!important;align-self:start!important;width:100%!important;height:320px!important;min-height:320px!important;max-height:320px!important;margin:0!important;overflow:hidden;background:var(--act-cream)}
body .actheos-expertise-entry>.actheos-expertise-photo img{display:block!important;width:100%!important;height:320px!important;min-height:320px!important;max-height:320px!important;object-fit:cover!important;object-position:center top!important}
body .actheos-expertise-entry>.actheos-expertise-content{grid-column:2!important;grid-row:1!important;display:flex;flex-direction:column;min-width:0;min-height:320px;box-sizing:border-box;padding:1.7rem 1.75rem}
.actheos-expertise-content .wp-block-heading,.actheos-expertise-content h3{margin:0 0 .8rem;color:var(--act-blue-dark);font-size:1.32rem;line-height:1.22}
.actheos-expertise-content .wp-block-heading:after,.actheos-expertise-content h3:after{content:"";display:block;width:32px;height:3px;margin-top:.7rem;border-radius:99px;background:var(--act-orange)}
.actheos-expertise-content>p{margin:.1rem 0 1rem;color:var(--act-muted);font-size:.96rem;line-height:1.62}
.actheos-expertise-details{border-top:1px solid var(--act-line);padding-top:1rem;margin-top:auto}
.actheos-expertise-details summary{cursor:pointer;color:var(--act-blue);font-weight:750;list-style:none;display:flex;justify-content:space-between;gap:1rem}
.actheos-expertise-details summary::-webkit-details-marker{display:none}
.actheos-expertise-details summary:after{content:"+";color:var(--act-orange);font-size:1.25rem;line-height:1}
.actheos-expertise-details[open] summary:after{content:"−"}
.actheos-expertise-details h4{margin:1.35rem 0 .45rem;color:var(--act-blue-dark);font-size:.9rem;letter-spacing:.045em;text-transform:uppercase}
.actheos-expertise-details p{margin:.55rem 0;color:var(--act-muted);line-height:1.62}
.actheos-expertise-details ul{margin:.55rem 0 0;padding-left:1.25rem;color:var(--act-muted);line-height:1.58}
.actheos-expertise-details li+li{margin-top:.32rem}

body .actheos-expertise-list>.expertise-formation{grid-column:1/-1!important}
.expertise-formation .actheos-expertise-content{padding-bottom:2rem}
.actheos-formation-details>summary{font-size:1rem}
.actheos-formation-results{margin-top:1.5rem;padding:1.4rem;border-radius:16px;background:var(--act-cream)}
.actheos-formation-results h4,.actheos-formation-documents h4{margin-top:0}
.actheos-formation-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:1rem 0}
.actheos-formation-stats>div{display:flex;min-height:118px;flex-direction:column;justify-content:center;border:1px solid var(--act-line);border-radius:14px;padding:16px;background:#fff;text-align:center}
.actheos-formation-stats strong{display:block;color:var(--act-orange);font-size:clamp(1.65rem,3vw,2.25rem);line-height:1.05}
.actheos-formation-stats span{display:block;margin-top:.45rem;color:var(--act-blue-dark);font-size:.84rem;font-weight:700}
.actheos-formation-satisfaction{margin:1.15rem 0 0!important;padding-left:1.25rem!important}
.actheos-formation-satisfaction strong{color:var(--act-blue-dark)}
.actheos-formation-method{margin-top:1rem!important;font-size:.84rem!important;font-style:italic}
.actheos-formation-documents{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:1.5rem}
.actheos-formation-certificate,.actheos-formation-contact{border:1px solid var(--act-line);border-radius:16px;padding:20px;background:#fff}
.actheos-formation-certificate{display:grid;grid-template-columns:150px minmax(0,1fr);align-items:start;gap:20px}
.actheos-formation-certificate>a{display:block}
.actheos-formation-certificate img{display:block;width:100%;height:auto;border:1px solid var(--act-line);border-radius:8px;box-shadow:0 8px 22px rgba(53,76,99,.12)}
.actheos-formation-certificate p,.actheos-formation-contact p{font-size:.91rem}
.actheos-formation-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:1rem}
.actheos-document-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;border:1px solid var(--act-blue);border-radius:10px;padding:9px 13px;background:var(--act-blue);color:#fff!important;font-size:.86rem;font-weight:700;line-height:1.2;text-decoration:none;transition:transform .18s ease,background-color .18s ease,border-color .18s ease}
.actheos-document-button:hover{transform:translateY(-1px);border-color:var(--act-orange);background:var(--act-orange)}
.actheos-document-button--outline{background:#fff;color:var(--act-blue)!important}
.actheos-document-button--outline:hover{color:#fff!important}

.actheos-feed-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.actheos-feed-card{border:1px solid var(--act-line);border-radius:16px;padding:24px;background:#fff}
.actheos-feed-card h3{font-size:1.15rem;margin:.45rem 0 .75rem}
.actheos-feed-card h3 a{text-decoration:none;color:var(--act-blue)}
.actheos-feed-card time{font-size:.8rem;color:var(--act-muted)}
.actheos-feed-card p{color:var(--act-muted);font-size:.94rem}
.actheos-feed-card>a{font-weight:700;color:var(--act-orange)}

.actheos-footer a{color:inherit}
.actheos-footer .wp-block-navigation-item__content{text-decoration:none}
.actheos-footer-logo{display:inline-block;background:#fff;border-radius:10px;padding:10px 14px;margin-bottom:14px}
.actheos-footer-logo img{display:block;width:210px;max-width:100%;height:auto}
.actheos-page-hero{border-bottom:1px solid var(--act-line);position:relative;overflow:hidden;background-size:cover!important;background-position:center!important}
.actheos-page-hero:after{content:"";position:absolute;right:7%;top:50%;transform:translateY(-50%) rotate(45deg);width:96px;height:96px;border:18px solid rgba(255,125,60,.17);pointer-events:none}
.actheos-page-hero>*{position:relative;z-index:1}
.actheos-section-paris .actheos-page-hero{background-image:linear-gradient(90deg,rgba(245,248,250,1) 0%,rgba(245,248,250,.96) 38%,rgba(245,248,250,.58) 68%,rgba(245,248,250,.28) 100%),url("assets/photos/city-paris.jpg")!important}
.actheos-section-bordeaux .actheos-page-hero{background-image:linear-gradient(90deg,rgba(245,248,250,1) 0%,rgba(245,248,250,.96) 38%,rgba(245,248,250,.58) 68%,rgba(245,248,250,.28) 100%),url("assets/photos/city-bordeaux.jpg")!important}

.actheos-client-intro{display:grid;grid-template-columns:minmax(240px,34%) minmax(0,1fr);align-items:stretch;gap:32px;margin-bottom:42px;border:1px solid var(--act-line);border-radius:20px;overflow:hidden;background:var(--act-cream);box-shadow:0 14px 42px rgba(78,102,127,.08)}
.actheos-client-intro__image{width:100%;height:100%;min-height:230px;object-fit:cover}
.actheos-client-intro__content{display:flex;flex-direction:column;justify-content:center;padding:34px 38px 34px 0}
.actheos-client-intro__content h2{margin:.35rem 0 .75rem;color:var(--act-blue-dark)}
.actheos-client-intro__content p{margin:0;color:var(--act-muted);font-size:1.02rem;line-height:1.65}
.actheos-client-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.actheos-client-card{display:flex;flex-direction:column;min-height:100%;overflow:hidden;background:#fff}
.actheos-client-card__head{display:flex;align-items:center;gap:16px;padding:24px 26px 18px;border-bottom:1px solid var(--act-line);background:linear-gradient(135deg,rgba(245,248,250,.95),rgba(255,255,255,.98))}
.actheos-client-card__icon{display:inline-flex;flex:0 0 54px;width:54px;height:54px;align-items:center;justify-content:center;border-radius:15px;background:rgba(255,125,60,.14);color:var(--act-orange);font-size:.72rem;font-weight:800;letter-spacing:.04em}
.actheos-client-card__head h2{margin:0;color:var(--act-blue-dark);font-size:1.25rem;line-height:1.25}
.actheos-client-card__body{display:flex;flex:1;flex-direction:column;padding:24px 26px 26px}
.actheos-client-card__body>p{margin:0 0 22px;color:var(--act-muted);font-size:.95rem;line-height:1.6}
.actheos-client-access{margin-top:18px;padding-top:18px;border-top:1px solid var(--act-line)}
.actheos-client-card__body>p+.actheos-client-access{margin-top:auto}
.actheos-client-access h3{margin:0 0 11px;color:var(--act-blue);font-size:.78rem;letter-spacing:.08em;text-transform:uppercase}
.actheos-client-buttons{display:flex;flex-wrap:wrap;gap:9px}
.actheos-client-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;border:1px solid var(--act-blue);border-radius:10px;padding:9px 13px;background:var(--act-blue);color:#fff!important;font-size:.88rem;font-weight:700;line-height:1.2;text-decoration:none;transition:transform .18s ease,background-color .18s ease,border-color .18s ease}
.actheos-client-button:hover{transform:translateY(-1px);border-color:var(--act-orange);background:var(--act-orange)}
.actheos-client-button--outline{background:#fff;color:var(--act-blue)!important}
.actheos-client-button--outline:hover{color:#fff!important}
.actheos-client-note{margin:28px 0 0;padding:18px 20px;border-left:4px solid var(--act-orange);border-radius:0 12px 12px 0;background:var(--act-cream);color:var(--act-muted);font-size:.9rem}

.wp-block-button.is-style-outline>.wp-block-button__link{border-width:1px}
.wp-element-button,.wp-block-button__link{transition:transform .18s ease,box-shadow .18s ease,opacity .18s ease}
.wp-element-button:hover,.wp-block-button__link:hover{transform:translateY(-1px);box-shadow:0 8px 22px rgba(255,125,60,.24);opacity:.95}

@media(max-width:1100px){
  .actheos-header .wp-block-buttons{display:none}
  .actheos-header .wp-block-navigation{font-size:.76rem}
  .actheos-logo img{max-width:185px}
}
@media(max-width:900px){
  .actheos-feed-grid,.actheos-pillars{grid-template-columns:1fr 1fr}
  .actheos-profile-grid{grid-template-columns:1fr;width:min(780px,calc(100vw - 40px))}
  .actheos-profile{grid-template-columns:250px minmax(0,1fr)}
  body .actheos-expertise-list>.actheos-expertise-entry{grid-template-columns:170px minmax(0,1fr)!important;min-height:300px}
  body .actheos-expertise-entry>.actheos-expertise-photo,body .actheos-expertise-entry>.actheos-expertise-photo img{height:300px!important;min-height:300px!important;max-height:300px!important}
  body .actheos-expertise-entry>.actheos-expertise-content{min-height:300px;padding:1.45rem}
  .actheos-hero:after{right:-320px}
  .actheos-brand-motif{width:140px}
}
@media(max-width:700px){
  .actheos-feed-grid,.actheos-profile-grid,.actheos-pillars{grid-template-columns:1fr}
  body .actheos-expertise-grid,body .actheos-expertise-list{grid-template-columns:1fr!important}
  body .actheos-expertise-list{width:min(720px,calc(100vw - 32px))!important;gap:22px}
  body .actheos-expertise-list>.actheos-expertise-entry{grid-template-columns:220px minmax(0,1fr)!important}
  .actheos-stat{text-align:left}
  .actheos-office{min-height:240px}
  .actheos-header{padding-left:16px!important;padding-right:16px!important}
  .actheos-logo img{max-width:170px}
  .actheos-page-hero:after{right:-48px;opacity:.65}
  .actheos-section-paris .actheos-page-hero,.actheos-section-bordeaux .actheos-page-hero{background-position:62% center!important}
  .actheos-client-intro{grid-template-columns:1fr;gap:0}
  .actheos-client-intro__image{height:220px;min-height:0}
  .actheos-client-intro__content{padding:26px}
  .actheos-client-grid{grid-template-columns:1fr}
  .actheos-profile{grid-template-columns:180px minmax(0,1fr)}
  .actheos-profile-photo,.actheos-profile-photo img{height:280px;min-height:0}
  .actheos-expertise-content{padding:1.35rem}
  .actheos-formation-documents{grid-template-columns:1fr}
}
@media(max-width:520px){
  .actheos-profile-grid{width:calc(100vw - 28px);gap:22px}
  .actheos-profile{grid-template-columns:1fr}
  .actheos-profile-photo{height:auto;min-height:0;aspect-ratio:4/3}
  .actheos-profile-photo img{height:100%;min-height:0}
  .actheos-profile-content{padding:1.1rem}
  .actheos-profile-role{font-size:.72rem}
  .actheos-expertise-intro{text-align:left}
  .actheos-expertise-intro h2,.actheos-expertise-intro p{margin-left:0;margin-right:0}
  body .actheos-expertise-list>.actheos-expertise-entry{grid-template-columns:1fr!important;grid-template-rows:220px auto!important;min-height:0}
  body .actheos-expertise-entry>.actheos-expertise-photo{grid-column:1!important;grid-row:1!important}
  body .actheos-expertise-entry>.actheos-expertise-photo,body .actheos-expertise-entry>.actheos-expertise-photo img{height:220px!important;min-height:220px!important;max-height:220px!important;object-position:center 25%!important}
  body .actheos-expertise-entry>.actheos-expertise-content{grid-column:1!important;grid-row:2!important;min-height:0;padding:1.35rem}
  body .actheos-expertise-grid>.actheos-expertise-card{grid-template-columns:1fr!important;grid-template-rows:190px auto auto!important;min-height:0}
  body .actheos-expertise-grid>.actheos-expertise-card:before{grid-column:1;grid-row:1;min-height:190px;background-image:linear-gradient(180deg,rgba(53,76,99,0) 80%,rgba(53,76,99,.18)),var(--actheos-expertise-image)}
  body .actheos-expertise-grid>.actheos-expertise-card h3{grid-column:1;grid-row:2;margin:25px 24px .55rem}
  body .actheos-expertise-grid>.actheos-expertise-card p{grid-column:1;grid-row:3;margin:0 24px 26px}
  .actheos-formation-stats{grid-template-columns:1fr}
  .actheos-formation-stats>div{min-height:96px}
  .actheos-formation-certificate{grid-template-columns:1fr}
  .actheos-formation-certificate>a{max-width:220px}
}
@media(max-width:480px){
  body .actheos-expertise-grid>.actheos-expertise-card p{max-width:100%;font-size:.9rem}
}

/* Pages Associés : fondateur en tête, portraits originaux et cartes homogènes. */
.actheos-associates-section-title{width:min(1200px,calc(100vw - 48px));max-width:none!important;margin:2.5rem 0 .85rem 50%!important;transform:translateX(-50%);color:var(--act-blue-dark)}
.actheos-founder-wrap{width:min(1200px,calc(100vw - 48px));max-width:none!important;margin:0 0 1.25rem 50%!important;transform:translateX(-50%)}
.actheos-founder-wrap .actheos-profile-founder{width:100%;grid-template-columns: minmax(220px,300px) minmax(0,1fr);min-height:340px}
.actheos-founder-wrap .actheos-profile-photo,.actheos-founder-wrap .actheos-profile-photo img{height:340px}
.actheos-founder-wrap .actheos-profile-content{padding:2rem 2.35rem}
.actheos-founder-label{display:inline-block;width:fit-content;margin:0 0 .8rem!important;padding:.32rem .8rem;border-radius:99px;background:rgba(78,102,127,.10);color:var(--act-blue-dark);font-size:.76rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase}
.actheos-profile-grid{margin-top:1rem!important}
.actheos-profile{align-items:start}
.actheos-profile details[open]{overflow:visible}
@media(max-width:780px){.actheos-founder-wrap .actheos-profile-founder{grid-template-columns:190px minmax(0,1fr)}.actheos-founder-wrap .actheos-profile-photo,.actheos-founder-wrap .actheos-profile-photo img{height:300px}.actheos-founder-wrap .actheos-profile-content{padding:1.4rem}}
@media(max-width:560px){.actheos-associates-section-title,.actheos-founder-wrap{width:calc(100vw - 28px)}.actheos-founder-wrap .actheos-profile-founder{grid-template-columns:1fr}.actheos-founder-wrap .actheos-profile-photo{height:auto;aspect-ratio:4/3}.actheos-founder-wrap .actheos-profile-photo img{height:100%}.actheos-founder-wrap .actheos-profile-content{padding:1.2rem}}
