/*
Theme Name: AME — Référence Wix
Version: 1.1.0
Description: Editable AME site; approved identity with readable responsive typography.
*/
:root{
 --navy:#062051;--ink:#072136;--red:#e21c21;--line:#b9b9b9;
 --body:Jost,Arial,sans-serif;--display:'Bodoni Moda',Georgia,serif;--caslon:'Libre Caslon Text',Georgia,serif;
 --body-size:1.125rem;--section-title:clamp(2rem,1.5rem + 1.4vw,2.75rem);
 --page-title:clamp(2.125rem,1.6rem + 2vw,3rem);--reading-leading:1.65;
}
html{scroll-behavior:smooth;scroll-padding-top:1rem}
body{margin:0;background:white;color:var(--ink);font:400 var(--body-size)/var(--reading-leading) var(--body)}
:where(h1,h2,h3,h4,p,figure,ul){margin:0}
:where(div,section,article,header,footer,nav,figure,input,textarea,select,button,a){box-sizing:border-box}
a{color:inherit;text-underline-offset:5px}
img{max-width:100%;height:auto;display:block}
button,input,select,textarea{font:inherit;color:inherit;caret-color:var(--navy)}
button,a{-webkit-tap-highlight-color:transparent}
h1,h2,h3{line-height:1.25;text-wrap:balance;overflow-wrap:anywhere}
h1,h2{font-family:var(--display);font-weight:400;color:var(--navy)}
p{overflow-wrap:break-word}
::selection{color:white;background:var(--navy)}
:focus-visible{outline:2px solid var(--navy);outline-offset:5px}
.skip-link{position:fixed;inset:0 auto auto 0;z-index:100;transform:translateY(-150%);padding:12px;background:white}
.skip-link:focus{transform:none}
.wp-block-group{margin-block:0}.wp-block-image{margin:0}.wp-block-buttons{display:flex}
.wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 24px;background:var(--navy);color:white;text-decoration:none;font:500 1rem/1.5 var(--body);letter-spacing:.02em;border-radius:8px}
.wp-block-button__link:hover{background:var(--ink)}

/* Header and the existing navigation. */
.site-header{position:relative;display:flex;align-items:center;justify-content:space-between;gap:28px;padding:28px 4%;background:white;flex-wrap:wrap}
.brand{width:301px;flex:none}.brand img{width:301px;height:105px;object-fit:contain}
nav ul{padding:0;list-style:none}
#main-navigation{margin-left:auto}#main-navigation ul{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:20px}
#main-navigation a{display:block;min-height:44px;padding:8px 4px;border-top:1px solid var(--line);text-decoration:none;font-size:1.0625rem;line-height:1.6;white-space:nowrap;color:var(--navy)}
#main-navigation a[aria-current]{border-top:3px solid var(--ink);padding-top:6px;font-weight:500}
.menu-toggle{display:none}

/* Homepage: image and signature, then expertise and strengths. */
.home-hero{height:640px;position:relative}
.hero-image{position:absolute;inset:0;overflow:hidden}
.hero-image img{width:100%;height:100%;object-fit:cover;object-position:center 47%}
.hero-copy{position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:min(960px,calc(100% - 64px));padding:32px 40px;background:white;text-align:center}
.hero-copy h1{font:400 clamp(1.5rem,1.1rem + 1.5vw,2.375rem)/1.3 var(--caslon);color:var(--navy);margin-bottom:16px}
.hero-copy>p{font-size:var(--body-size);line-height:1.6;font-weight:400}
.hero-copy>p+p{margin-top:12px}
.hero-copy .wp-block-buttons{justify-content:center;margin-top:24px}
.home-expertise{text-align:center;padding:64px 24px}
.home-expertise>h2,.home-strengths>h2{font-size:var(--section-title);line-height:1.25}
.home-expertise>p{max-width:65ch;margin:20px auto 0}
.choices{width:min(1080px,100%);margin:48px auto 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;align-items:end}
.choice svg{width:64px;height:64px;color:var(--red);margin:0 auto 16px;display:block}
.choice-label{font-size:1.25rem;font-weight:500}
.all-services{justify-content:center;margin-top:48px}
.home-strengths{padding:48px 0 64px}
.home-strengths>h2{text-align:center;padding-inline:24px}
.strengths-grid{max-width:1280px;width:calc(100% - 96px);margin:48px auto 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid var(--line);border-left:1px solid var(--line)}
.strength{min-width:0;border-right:1px solid var(--line);padding:32px 24px}
.strengths-grid>.strength:nth-child(-n+2){grid-row:span 2}
.strength>h3{font:400 1.625rem/1.3 var(--display);text-align:center;color:var(--navy)}
.strength-copy{margin-top:24px}
.strength-copy p{font-size:var(--body-size);line-height:1.6;text-align:start}
.strength-copy p+p{margin-top:16px}
.strength-languages{grid-column:3/-1;padding:28px 32px 32px;border-top:1px solid var(--line);border-right:1px solid var(--line)}
.strength-languages h3{font:400 1.75rem/1.25 var(--display);color:var(--navy)}
.strength-languages p{margin-top:16px}
.expert-languages li{overflow-wrap:anywhere}
.expert-languages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 20px;margin-top:24px;padding:0;list-style:none}

/* Experts: comfortable inset and intrinsic card heights. */
.experts-intro{padding-top:40px}
.experts-intro>h1{text-align:center;font-size:var(--page-title);padding-inline:24px}
.group-introduction{width:min(1120px,calc(100% - 96px));margin:40px auto 0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border:1px solid var(--line)}
.group-text{padding:40px}
.group-text p+p{margin-top:16px}
.group-image{position:relative;min-height:360px}
.group-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.experts-section{padding:64px 0}
.experts-section>h2{text-align:center;font-size:var(--section-title);margin-bottom:40px;padding-inline:24px}
.experts-grid{width:min(1120px,calc(100% - 96px));margin:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));row-gap:40px}
.expert-card{min-width:0;border-top:1px solid var(--line);border-right:1px solid var(--line);padding:40px 32px}
.expert-card:nth-child(odd){border-left:1px solid var(--line)}
.expert-photo{width:100%;max-width:370px;margin-bottom:24px}
.expert-photo img{width:100%;height:auto;aspect-ratio:370/318;object-fit:cover}
.expert-photo figcaption{font:400 1rem/1.5 var(--body);margin-top:8px;color:var(--ink)}
.expert-card>h3{font:500 1.5rem/1.3 var(--body);color:var(--navy);margin-bottom:8px}
.expert-role{font-size:var(--body-size);font-style:italic;line-height:1.6}
.expert-biography{margin-top:24px;text-align:start}
.expert-biography p{font-size:var(--body-size);line-height:var(--reading-leading);text-align:start}
.expert-biography p+p{margin-top:12px}

/* Expertise pages retain their alternating image/copy structure. */
.services-intro{padding:32px 24px 48px;text-align:center}
.services-intro h1{font-size:var(--page-title)}
.services-intro p{max-width:65ch;margin:20px auto 0}
.services-banner,.services-banner img{height:400px}
.services-banner img{width:100%;object-fit:cover}
.services-list{padding-top:16px}
.service-row{width:min(1120px,calc(100% - 96px));margin:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px;align-items:start;padding:48px 32px;border-bottom:1px solid var(--line)}
.service-copy{min-width:0;padding-block:8px}
.service-number{font-size:1.375rem;line-height:1.4;margin-bottom:12px;color:var(--red)}
.service-copy h2{font-size:clamp(1.75rem,1.4rem + 1vw,2.25rem);line-height:1.25}
.service-description{margin-top:24px}
.service-description p{line-height:var(--reading-leading);text-align:start}
.service-description p+p{margin-top:12px}
.service-specialty{font-size:var(--body-size);font-style:italic;margin-top:12px}
.service-row .wp-block-buttons{margin-top:24px}
.service-image img{width:100%;height:auto;aspect-ratio:378/283;object-fit:cover}
.service-2 .service-image,.service-4 .service-image,.service-5 .service-image{grid-column:2;grid-row:1}
.service-2 .service-copy,.service-4 .service-copy,.service-5 .service-copy{grid-column:1;grid-row:1}
.service-5{border-bottom:0}

/* Quote form: normal-weight text and clearly separated fields. */
.quote-page-intro{height:16px}
.quote-section{max-width:980px;margin:auto;padding:32px 30px 64px}
.quote-section>h1,.quote-section>h2{text-align:center;font-size:var(--page-title);margin-bottom:32px}
.quote-form,.message-form{display:grid;grid-template-columns:1fr 1fr;column-gap:32px;row-gap:24px}
.message-form .subject{grid-column:1/-1}
.form-required{grid-column:1/-1;font-size:1rem}
.field{display:flex;flex-direction:column;gap:8px;min-width:0}
.field label{font:400 var(--body-size)/1.4 var(--body)}
.field input,.field select,.field textarea{width:100%;border:0;border-bottom:1px solid #707b88;border-radius:0;background:transparent;min-height:48px;font:400 var(--body-size)/1.5 var(--body);color:var(--ink);padding:10px 4px;box-shadow:none}
.field textarea{resize:vertical;min-height:128px}
.field.message{grid-column:1/-1}
.form-privacy{grid-column:1/-1;max-width:75ch;font-size:1rem;line-height:1.6;margin-top:8px}
.form-privacy details{margin-top:8px}
.form-privacy summary{cursor:pointer;min-height:44px;align-content:center;width:fit-content;text-decoration:underline;text-underline-offset:3px}
.form-privacy details p{margin-top:8px}
.form-submit{grid-column:1/-1;margin-top:8px}
.form-submit button{border:0;background:var(--navy);color:white;border-radius:8px;width:200px;min-height:48px;padding:10px 24px;font:500 1rem/1.5 var(--body);cursor:pointer}
.form-submit button:disabled{opacity:.65}
.form-status{grid-column:1/-1;font-size:var(--body-size)}
.form-status:empty{display:none}.form-status.error{color:#a11212}.field [aria-invalid=true]{border-color:#a11212}
.trap{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}

/* Approved footer; company details share the common footer on every page. */
.site-footer{border-top:1px solid var(--line)}
.footer-inner{max-width:1408px;margin-inline:auto;padding:48px 64px 24px}
.footer-main{display:grid;grid-template-columns:1.1fr .8fr 1.1fr;gap:48px;align-items:start}
.footer-main>*{min-inline-size:0}
.footer-logo{display:inline-block}.footer-logo img{inline-size:180px;block-size:auto;max-inline-size:100%}
.footer-identity p{margin-top:16px;max-width:27ch}
.footer-main h2{font:400 1.75rem/1.25 var(--display);color:var(--navy);margin-bottom:12px}
.footer-explore ul,.footer-legal ul{list-style:none;padding:0}
.footer-explore a{display:inline-flex;align-items:center;min-block-size:44px;text-decoration:none}
.footer-explore a:hover,.footer-explore a[aria-current]{text-decoration:underline}
.footer-explore a[aria-current]{color:var(--navy);font-weight:500}
.footer-project a{display:flex;align-items:center;min-block-size:44px;inline-size:fit-content}
.footer-phone{font-size:1.25rem;font-weight:500;text-decoration:none}.footer-email{overflow-wrap:anywhere}
.footer-project .footer-quote{display:inline-flex;align-items:center;justify-content:center;min-block-size:48px;padding:10px 22px;margin-top:16px;border-radius:8px;background:var(--navy);color:white;text-decoration:none;font:500 1rem/1.5 var(--body)}
.footer-quote:hover{background:var(--ink)}
.footer-company{margin-top:32px;font-size:1rem;line-height:1.6}
.footer-company p+p{margin-top:4px}
.footer-bottom{display:flex;flex-wrap:wrap;gap:8px 28px;align-items:center;justify-content:space-between;border-top:1px solid var(--line);margin-top:20px;padding-top:16px;font-size:1rem;line-height:1.5}
.footer-insurance{margin:0}.footer-insurance strong{font-weight:700}
.footer-legal ul{display:flex;flex-wrap:wrap;gap:0 20px}
.footer-legal a{display:inline-flex;align-items:center;min-block-size:44px;text-decoration:underline}

/* Contact: message form and map are visible immediately. */
.contact-page{max-width:1280px;margin:auto;padding:32px 48px 64px}
.contact-page>h1{font-size:var(--page-title);text-align:center}
.contact-intro{text-align:center;margin:16px 0 32px}
.contact-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:48px}
.contact-layout>*{min-width:0}
.contact-layout h2{font-size:1.75rem;margin:24px 0 12px}
.contact-phone{font-size:1.25rem;font-weight:500;margin-top:16px}
.contact-email{margin-top:4px}
.contact-phone a,.contact-email a{display:inline-flex;align-items:center;min-height:48px;overflow-wrap:anywhere;max-width:100%}
.office-address{line-height:1.65}
.office-route{margin-top:12px;font-size:1rem}
.office-route a{display:inline-flex;align-items:center;min-height:44px}
.office-map iframe{display:block;width:100%;height:350px;border:0}
.expert-contact-form{margin-top:24px;min-height:48px}
.expert-contact-form button{min-height:48px;padding:10px 22px;font:500 1rem/1.5 var(--body);background:white;color:var(--navy);border:1px solid var(--navy);border-radius:8px;cursor:pointer}
.expert-contact-form button:hover{background:var(--navy);color:white}
.expert-contact-form button:disabled{opacity:.65}
.expert-contact-links a,.expert-contact-result a{display:block;width:fit-content;min-height:48px;padding-block:10px;overflow-wrap:anywhere;max-width:100%}
.expert-contact-status{font-size:1rem}
.expert-contact-status:empty{display:none}
.expert-name-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;margin-bottom:8px}
.expert-name-row>h3{flex:1 1 200px;min-width:0;font:500 1.5rem/1.3 var(--body);color:var(--navy)}
.expert-name-row .expert-contact-form{margin:0;flex:none}
.expert-contact-links{display:flex;gap:8px}
.expert-contact-form .expert-icon{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;min-height:48px;padding:0;border:1px solid var(--navy);border-radius:8px;background:white;color:var(--navy);cursor:pointer;text-decoration:none}
.expert-contact-form .expert-icon:hover{background:var(--navy);color:white}
.expert-icon svg,.expert-dialog-close svg{width:22px;height:22px;flex:none}
.expert-message-dialog{box-sizing:border-box;width:min(660px,calc(100% - 32px));max-height:calc(100dvh - 32px);padding:32px;margin:auto;border:1px solid var(--line);border-radius:12px;color:var(--ink);background:white;overflow:auto}
.expert-message-dialog:modal{overscroll-behavior:contain}
.expert-message-dialog::backdrop{background:rgb(6 32 81 / .55);overflow:hidden;overscroll-behavior:contain}
.expert-dialog-heading{display:flex;align-items:flex-start;gap:16px}
.expert-dialog-heading h2{flex:1;min-width:0;font-size:1.875rem}
.expert-dialog-close{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;padding:0;flex:none;border:1px solid var(--line);border-radius:8px;background:white;color:var(--navy);cursor:pointer}
.expert-dialog-close:hover{border-color:var(--navy)}
.expert-dialog-recipient{overflow-wrap:anywhere;margin:12px 0 24px;font-size:1.125rem}
.expert-message-dialog .form-privacy{margin-top:0}

/* Approved experts layout: compact portraits and readable expandable biographies. */
.experts-profiles{max-width:1184px;margin:auto;padding:48px 32px 64px}
.experts-profiles .profiles-intro{max-width:70ch;margin:auto;text-align:center}
.experts-profiles .profiles-intro h1{font-size:var(--page-title)}
.experts-profiles .profiles-intro p{margin-top:20px}
.experts-profiles .profile-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:0 28px;margin:24px 0 40px}
.experts-profiles .profile-nav a{display:inline-flex;align-items:center;min-height:48px}
.experts-profiles .profile-row{display:grid;grid-template-columns:280px minmax(0,1fr);gap:56px;padding:40px 0;border-top:1px solid var(--line);scroll-margin-top:24px}
.experts-profiles .profile-portrait{margin:0;align-self:start}
.experts-profiles .profile-portrait img{width:100%;height:310px;object-fit:cover;object-position:center 30%}
.experts-profiles .profile-portrait-dimitri img{object-position:60% 50%}
.experts-profiles .portrait-placeholder{background:var(--navy);color:white;min-height:310px;display:flex;justify-content:center;align-items:center}
.experts-profiles .portrait-placeholder>div{font:400 4.5rem/1 var(--display)}
.experts-profiles .profile-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
.experts-profiles .profile-heading h2{font-size:clamp(1.75rem,2.3vw,2.25rem)}
.experts-profiles .profile-heading .expert-contact-form{margin:0;flex:none}
.experts-profiles .profile-role{font-size:1.25rem;line-height:1.5;margin:12px 0 20px;max-width:50ch}
.experts-profiles .profile-summary{max-width:67ch;line-height:1.7}
.experts-profiles .profile-skills{display:flex;flex-wrap:wrap;gap:8px 24px;padding-left:20px;margin:20px 0;font-size:1rem}
.experts-profiles .profile-path summary{cursor:pointer;min-height:48px;align-content:center;text-decoration:underline;text-underline-offset:5px;width:fit-content}
.experts-profiles .profile-long{max-width:68ch;padding-top:16px}
.experts-profiles .profile-long p+p{margin-top:16px}
@media(max-width:767px){
 .experts-profiles{padding:32px 24px 48px}
 .experts-profiles .profile-nav{justify-content:flex-start;gap:0 20px;margin:24px 0}
 .experts-profiles .profile-row{grid-template-columns:minmax(0,1fr);gap:24px;padding:32px 0}
 .experts-profiles .profile-portrait{max-width:260px;width:100%}
 .experts-profiles .profile-portrait img,.experts-profiles .portrait-placeholder{height:260px;min-height:260px}
 .experts-profiles .profile-heading h2{font-size:1.75rem}
 .experts-profiles .profile-skills{display:block}
 .experts-profiles .profile-skills li+li{margin-top:8px}
}

/* Legal reading pages use the same readable body role. */
.legal-page{padding:40px 24px 64px;overflow-wrap:anywhere}
.legal-page>h1{max-width:24ch;margin:auto;text-align:center;font-size:var(--page-title)}
.legal-copy{max-width:70ch;margin:40px auto 0}
.legal-copy p{font-size:var(--body-size);line-height:var(--reading-leading)}
.legal-copy p+p{margin-top:16px}
.legal-copy h2,.legal-copy h3{font:500 1.625rem/1.3 var(--body);margin-block:32px 16px;color:var(--navy)}
.booking-empty,.not-found{text-align:center;min-height:450px;padding:64px 24px}
.booking-empty h1{font-size:var(--page-title);margin-bottom:40px}

@media(max-width:1359px){
 .strengths-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .strengths-grid>.strength:nth-child(-n+2){grid-row:auto}
 .strength-languages{grid-column:1/-1}
}
@media(max-width:1199px){
 .site-header{padding:24px 32px;min-height:132px}.brand,.brand img{width:240px;height:84px}
 .menu-toggle{position:absolute;right:24px;top:44px;background:white;border:0;width:44px;height:44px;padding:10px;display:flex;flex-direction:column;gap:5px;justify-content:center}
 .menu-toggle span{width:24px;height:1px;background:var(--ink)}
 #main-navigation{display:none;position:absolute;top:120px;left:0;right:0;z-index:50;background:white;padding:20px 24px}
 #main-navigation.open{display:block}#main-navigation ul{display:block}
 #main-navigation a{text-align:center;border:0;padding:10px;font-size:1.0625rem}
 #main-navigation a[aria-current]{border:0;padding-top:10px}
}
@media(max-width:999px){
 .footer-inner{padding-inline:32px}.footer-main{gap:28px;grid-template-columns:1fr 1fr}
 .footer-identity{grid-column:1/-1}.footer-identity p{max-width:50ch}.footer-bottom{align-items:flex-start}
 .group-introduction,.experts-grid{width:calc(100% - 48px)}.group-text{padding:32px}.expert-card{padding:32px 24px}
 .service-row{width:calc(100% - 48px);gap:32px;padding-inline:24px}
}
@media(max-width:767px){
 .expert-message-dialog{padding:24px}.expert-dialog-heading h2{font-size:1.625rem}
 .contact-page{padding:24px 24px 48px}.contact-layout{grid-template-columns:minmax(0,1fr);gap:32px}
 .contact-layout h2{margin-bottom:12px}
 .office-map iframe{height:300px}
 .site-header{min-height:112px;padding:16px 24px;justify-content:center;align-items:flex-start}
 .brand,.brand img{width:180px;height:63px}.menu-toggle{right:14px;top:28px}#main-navigation{top:100px}
 .home-hero{height:auto;display:grid}.hero-image{position:relative;inset:auto;height:300px}
 .hero-image img{object-position:center}.hero-copy{position:relative;left:auto;bottom:auto;transform:none;width:calc(100% - 48px);margin:-64px auto 0;padding:24px}
 .hero-copy h1{font-size:1.5rem;line-height:1.3}
 .home-expertise{padding:48px 24px}.choices{grid-template-columns:1fr;gap:28px;margin-top:32px}
 .choice svg{width:48px;height:48px;margin-bottom:8px}
 .home-strengths{padding:32px 0 48px}.strengths-grid{width:100%;display:block;margin-top:32px;border-left:0}
 .strength{padding:32px 24px;border-right:0;border-bottom:1px solid var(--line)}
 .strength-languages{padding:32px 24px;border:0}.expert-languages{grid-template-columns:repeat(2,minmax(0,1fr))}
 .experts-intro{padding-top:24px}.group-introduction{width:100%;display:flex;flex-direction:column;border:0;margin-top:24px}
 .group-text{padding:0 24px 32px}.group-image{min-height:320px;margin-inline:24px}
 .experts-section{padding:48px 0}.experts-grid{width:100%;display:flex;flex-direction:column;gap:32px}
 .expert-card{padding:24px!important;border:0!important;border-top:1px solid var(--line)!important}
 .expert-1{order:2}.expert-2{order:1}.expert-3{order:3}.expert-4{order:4}
 .expert-photo{max-width:none}.expert-biography{margin-top:20px}
 .services-intro{padding:24px 24px 32px}.services-banner,.services-banner img{height:320px}
 .services-list{padding-top:0}.service-row{width:100%;display:flex;flex-direction:column;gap:24px;padding:40px 24px}
 .service-image{width:100%}.service-copy{width:100%;padding:0}.service-description{margin-top:20px}
 .quote-section{padding:24px 24px 48px}.quote-form,.message-form{display:flex;flex-direction:column;gap:24px}
 .form-privacy,.form-submit{margin-top:0}.form-submit button{width:100%}
 .legal-page{padding-top:24px}.legal-copy{margin-top:32px}
}
@media(max-width:599px){
 .footer-inner{padding:32px 24px}.footer-main{grid-template-columns:minmax(0,1fr);gap:28px}
 .footer-main h2{font-size:1.625rem}.footer-logo img{inline-size:160px}.footer-identity p{max-width:31ch;margin-top:12px}
 .footer-explore ul{display:flex;flex-wrap:wrap;gap:0 20px}
 .footer-project .footer-quote{inline-size:100%;margin-top:12px}
 .footer-company{margin-top:28px}.footer-bottom{gap:12px}.footer-legal ul{gap:0 16px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
