/* Audition page (mockup): Claude Design 1c look + client content (SITE.docx), responsive */
html{scroll-behavior:smooth}
.au{--teal:#015f62;--teal-2:#12777b;--orange:#fab347;--text:#3b3b3b;--cream:#faf9f7;--line:#e7e3db;--sky:#cfe3e4;font-family:'Poppins',sans-serif;color:var(--text)}
.au *{box-sizing:border-box}
/* :where() keeps this reset at single-class specificity so the component rules below win */
.au :where(h1,h2,h3,h4,p,figure,blockquote){margin:0}
.au a{text-decoration:none}

/* shared pieces */
.au-sec{padding:92px max(88px, calc((100% - 1264px) / 2)) 96px}  /* content stays within 1264px on wide screens */
.au-cream{background:var(--cream)}
.au-white{background:#fff}
.au-green{background:var(--teal)}
.au-center{text-align:center}
.au-title{font:200 44px/1.25 'Poppins',sans-serif;letter-spacing:.8px;color:var(--teal);text-transform:uppercase}
.au-green .au-title{color:#fff}
.au-rule{width:215px;height:2px;background:var(--teal);margin:32px 0 40px}
.au-center .au-rule{margin-left:auto;margin-right:auto}
.au-green .au-rule{background:rgba(255,255,255,.85);margin-top:36px;margin-bottom:60px}
.au-script{font:400 60px/1.2 'Sacramento',cursive;color:var(--teal)}
.au-text{font:300 17px/1.95 'Poppins',sans-serif;color:var(--text);text-wrap:pretty}
.au-text + .au-text{margin-top:22px}
.au-text strong{font-weight:500;color:var(--teal)}
.au-btn{display:inline-flex;align-items:center;justify-content:center;min-width:230px;height:62px;padding:0 28px;background:var(--orange);color:#fff !important;font:400 17px 'Poppins',sans-serif;border-radius:10px;transition:background .2s}
.au-btn:hover{background:#f5a52f}
.au-photo{position:relative;overflow:hidden;background:#e2ded7}
.au-photo img{width:100%;height:100%;object-fit:cover;display:block}
.au-tag{position:absolute;bottom:12px;left:14px;background:rgba(1,95,98,.82);color:#fff;font:300 10px 'Poppins',sans-serif;letter-spacing:1.3px;padding:6px 10px;text-transform:uppercase;max-width:calc(100% - 28px);text-wrap:balance}
.au-nowrap{white-space:nowrap}
/* no word left alone on the last line of a heading */
.au-title,.au-script,.au-tagline,.au-goal,.au-subtitle,.au-hero h1,.au-steps h3,.au-device h3,.au-detail-head h3,.au-why-card h3,.au-uses h4,.au-faq summary{text-wrap:balance}
.au-note{font:300 12px 'Poppins',sans-serif;letter-spacing:1.4px;color:#a49d94;text-transform:uppercase;margin:-20px 0 46px}

/* opening banner */
.au-hero{background:var(--teal);padding:84px 44px 92px;text-align:center}
.au-hero img{height:88px;width:auto;opacity:.95}
.au-hero h1{font:200 54px 'Poppins',sans-serif;letter-spacing:1px;color:#fff;margin-top:22px;text-transform:uppercase}
.au-hero .au-rule{background:rgba(255,255,255,.85);margin:40px auto}
.au-hero p{max-width:820px;margin:0 auto;font:300 18px/1.95 'Poppins',sans-serif;color:#fff;text-wrap:pretty}

/* audioprothésiste */
.au-split{display:grid;grid-template-columns:1fr 1fr;background:#fff}
.au-split-text{padding:96px 64px 96px 88px}
.au-split-text .au-rule{margin:34px 0}
.au-name{font:200 34px 'Poppins',sans-serif;letter-spacing:1.6px;color:var(--teal);text-transform:uppercase;margin-bottom:30px}
.au-signature{font:400 50px/1 'Sacramento',cursive;color:var(--teal);margin-top:18px}
.au-split-photo{min-height:640px}

/* cabine */
.au-measure{max-width:820px;margin-bottom:46px}
.au-cabin-photos{display:grid;grid-template-columns:1.35fr 1fr;gap:26px}
.au-cabin-photos .au-photo{height:420px}

/* steps (bilan auditif + prise d'empreinte) */
.au-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:0 44px;text-align:left}
/* subgrid: titles and texts line up across a row. Rows of cards are spaced with margins, not row-gap:
   Chrome stretches every subgrid row to at least the parent's row gap, which left a blank line under short titles */
.au-steps li{display:grid;grid-row:span 3;grid-template-rows:subgrid;row-gap:0}
.au-step-num{display:block;font:200 44px 'Poppins',sans-serif;color:rgba(255,255,255,.55);font-feature-settings:'tnum'}
.au-step-num::after{content:"";display:block;width:54px;height:2px;background:var(--orange);margin:16px 0 20px}
.au-steps h3{font:300 18px/1.45 'Poppins',sans-serif;letter-spacing:.8px;color:#fff;text-transform:uppercase}
.au-steps p{font:300 15.5px/1.9 'Poppins',sans-serif;color:rgba(255,255,255,.86);margin-top:14px;text-wrap:pretty}

/* appareils: cards scroll to their detail */
.au-lead{max-width:760px;margin:0 auto 54px}
.au-devices{display:grid;grid-template-columns:repeat(3,1fr);gap:0 26px;max-width:1040px;margin:0 auto}  /* same width as the descriptions below */
.au-device{display:grid;grid-row:span 4;grid-template-rows:subgrid;row-gap:0;color:inherit}
.au-device .au-photo{height:300px;background:#f2efe9}
.au-device .au-photo img{transition:transform .35s}
.au-device:hover .au-photo img{transform:scale(1.03)}
.au-device h3{font:300 16px 'Poppins',sans-serif;letter-spacing:1.2px;color:var(--teal);margin-top:18px;text-transform:uppercase}
.au-device p{font:300 15px/1.85 'Poppins',sans-serif;color:var(--text);margin-top:6px}
.au-more{display:inline-block;margin-top:10px;font:400 13px 'Poppins',sans-serif;letter-spacing:1px;color:var(--teal);text-transform:uppercase}
.au-more::after{content:" ↓";color:var(--orange)}
.au-details{max-width:1040px;margin:76px auto 0;text-align:left}
.au-detail{display:grid;grid-template-columns:270px 1fr;gap:44px;padding:40px 0;scroll-margin-top:196px}  /* sticky header is 127-168px tall */
.au-detail + .au-detail{border-top:1px solid #e2ded6}
.au-detail:last-child{padding-bottom:0}
.au-detail-body{max-width:760px}  /* tablet: lines stay readable once the title moves above the text */
.au-detail:target{animation:au-flash 2s ease-out}
@keyframes au-flash{from{background:var(--sky)}to{background:transparent}}
.au-detail-head h3{font:300 22px/1.35 'Poppins',sans-serif;letter-spacing:1px;color:var(--teal);text-transform:uppercase}
.au-pill{display:inline-block;margin-top:14px;padding:6px 14px;border-radius:999px;background:var(--sky);color:var(--teal);font:400 12px 'Poppins',sans-serif;letter-spacing:1.4px;text-transform:uppercase}

/* quel appareil vous convient ? */
.au-narrow{max-width:940px;margin:0 auto}
.au-narrow .au-text{max-width:760px}  /* about 80 characters per line */
.au-goal{font:400 46px/1.3 'Sacramento',cursive;color:var(--teal);margin-top:40px;text-align:center}

/* marques */
.au-brands{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(6,1fr);gap:22px}
.au-brands li{height:104px;padding:18px 20px;background:#fff;border:1px solid var(--line);display:flex;align-items:center;justify-content:center}
.au-brands img{max-width:100%;max-height:var(--logo-h);width:auto;height:auto}
/* sized by area so wide wordmarks don't dominate (width/height: Rexton 5.9, Unitron 4.2, the others 2.8, Starkey 1.6 with its star) */
.au-brands img[alt="Starkey"]{--logo-h:58px}
.au-brands img[alt="Signia"],.au-brands img[alt="Phonak"],.au-brands img[alt="Widex"]{--logo-h:35px}
.au-brands img[alt="Unitron"]{--logo-h:27px}
.au-brands img[alt="Rexton"]{--logo-h:22px}

/* light-blue band */
.au-band{background:var(--sky);color:var(--teal);padding:44px max(88px, calc((100% - 1264px) / 2));display:flex;align-items:center;gap:56px}
.au-band-main{flex:none}
.au-band-label{display:flex;align-items:center;gap:10px;font:400 14px 'Poppins',sans-serif;letter-spacing:1.5px;text-transform:uppercase}
.au-band-label .mockup-ear-teal{width:30px;height:30px}
.au-band-hours{font:200 36px 'Poppins',sans-serif;margin-top:10px;font-feature-settings:'tnum'}
.au-band-hours span{font:300 17px 'Poppins',sans-serif;margin-left:8px}
.au-band-text{flex:1;border-left:1px solid rgba(1,95,98,.25);padding-left:56px}
.au-band-text p{font:300 16px/1.8 'Poppins',sans-serif}
.au-band-small{font-size:14px !important;color:var(--teal-2);margin-top:6px !important}
.au-band .au-btn{flex:none}

/* protections */
.au-tagline{font:400 46px/1.3 'Sacramento',cursive;color:var(--teal);margin-top:-6px}
.au-why{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;max-width:1120px;margin:56px auto 84px}
.au-why-card{background:#eef5f5;border-radius:14px;padding:34px 40px}
.au-why-card h3{font:300 20px 'Poppins',sans-serif;letter-spacing:1px;color:var(--teal);text-transform:uppercase;margin-bottom:16px}
.au-subtitle{font:300 24px 'Poppins',sans-serif;letter-spacing:1.4px;color:var(--teal);text-transform:uppercase;text-align:center}
.au-subtitle::after{content:"";display:block;width:54px;height:2px;background:var(--orange);margin:20px auto 56px}
/* 8 columns, each use spans 2: the last row's 3 uses can be centered; subgrid aligns photos, titles and texts */
.au-uses{list-style:none;margin:0 auto;padding:0;max-width:1180px;display:grid;grid-template-columns:repeat(8,1fr);gap:0 40px}
.au-uses li{grid-column:span 2;display:grid;grid-row:span 3;grid-template-rows:subgrid;row-gap:0;text-align:center}
.au-uses li:nth-child(5){grid-column:2 / span 2}
.au-uses li:nth-child(n+5){margin-top:60px}  /* second row */
.au-use-img{position:relative;width:200px;height:200px;margin:0 auto 26px}
.au-use-img img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block;box-shadow:0 10px 24px rgba(1,95,98,.14)}
.au-bubble{position:absolute;right:-4px;bottom:6px;width:64px;height:64px;border-radius:50%;background:#dff0f1;border:4px solid #fff;color:var(--teal);display:flex;align-items:center;justify-content:center;box-shadow:0 4px 10px rgba(1,95,98,.12)}
.au-bubble svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.au-uses h4{font:400 15.5px/1.4 'Poppins',sans-serif;letter-spacing:1px;color:var(--teal);text-transform:uppercase;margin-bottom:10px}
.au-uses p{font:300 15px/1.75 'Poppins',sans-serif;color:var(--text);text-wrap:pretty}

/* FAQ */
.au-faq{max-width:940px;margin:0 auto}
.au-faq details + details{border-top:1px solid #e2ded6}
.au-faq summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px 0;font:300 19px/1.45 'Poppins',sans-serif;color:var(--teal)}
.au-faq summary::-webkit-details-marker{display:none}
.au-faq summary::after{content:"+";flex:none;width:34px;height:34px;border-radius:50%;border:1px solid var(--orange);color:var(--orange);font:300 22px/32px 'Poppins',sans-serif;text-align:center;transition:transform .2s}
.au-faq details[open] summary::after{content:"−"}
.au-faq summary:hover{color:var(--teal-2)}
.au-faq details p{font:300 16px/1.9 'Poppins',sans-serif;color:var(--text);padding:0 58px 28px 0}
.au-faq details:last-child:not([open]) summary,.au-faq details:last-child p{padding-bottom:0}  /* no line under the last item, so no gap either */

/* avis */
.au-reviews{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;text-align:left;max-width:1180px;margin:0 auto}
.au-reviews figure{display:grid;grid-row:span 3;grid-template-rows:subgrid;row-gap:0;border:1px solid var(--line);padding:34px 30px 30px}  /* names line up */
.au-quote{font:400 64px/1 Georgia,'Times New Roman',serif;height:34px;color:var(--orange)}  /* Sacramento's quote mark is a tiny tick */
.au-reviews blockquote{font:300 16px/1.9 'Poppins',sans-serif;color:var(--text);margin-top:10px}
.au-reviews figcaption{font:300 13.5px 'Poppins',sans-serif;letter-spacing:1.2px;color:var(--teal-2);margin-top:22px;text-transform:uppercase}

/* call to action */
.au-cta{background:var(--teal);padding:86px 44px 90px;text-align:center}
.au-cta .au-title{color:#fff}
.au-cta p{max-width:760px;margin:26px auto 0;font:300 17px/1.9 'Poppins',sans-serif;color:rgba(255,255,255,.9)}
.au-cta .au-btn{width:250px;height:66px;margin-top:36px;font-size:18px}

/* tablet */
@media (max-width:1024px){
.au-sec{padding:72px 40px 76px}
/* stacked: side by side, the photo became a strip about 1:3.5 and the text column ~300px wide */
.au-split{grid-template-columns:1fr}
.au-split-text{padding:72px 40px}
.au-split-text > *{max-width:760px}
.au-split-photo{min-height:0;height:520px}
.au-steps{grid-template-columns:repeat(2,1fr)}
.au-steps li:nth-child(n+3){margin-top:44px}
.au-detail{grid-template-columns:1fr;gap:16px;scroll-margin-top:310px}  /* tablet sticky header is 271-280px tall */
.au-brands{grid-template-columns:repeat(3,1fr)}
.au-band{flex-wrap:wrap;gap:24px 40px;padding:40px}
.au-band-text{flex-basis:100%;order:3;border-left:0;padding-left:0}
.au-band .au-btn{margin-left:auto}
.au-uses{grid-template-columns:repeat(4,1fr)}
.au-uses li:nth-child(5){grid-column:auto / span 2}
.au-uses li:nth-child(7){grid-column:2 / span 2}
.au-uses li:nth-child(n+3){margin-top:60px}
.au-why{grid-template-columns:1fr;max-width:760px;gap:32px}
.au-why > .au-text{text-align:center}
}

@media (max-width:900px){
.au-reviews{grid-template-columns:1fr;max-width:620px}
}

/* phone */
@media (max-width:767px){
.au-hero{padding:60px 22px 66px}
.au-hero img{height:68px}
.au-hero h1{font-size:40px}
.au-hero p{font-size:16px}
.au-sec{padding:60px 22px 64px}
.au-title{font-size:30px}
.au-script{font-size:46px}
.au-split-text{padding:60px 22px 44px}
.au-split-photo{height:420px}
.au-text{font-size:16px}
.au-cabin-photos{grid-template-columns:1fr}
.au-cabin-photos .au-photo{height:260px}
.au-steps{grid-template-columns:1fr}
.au-steps li:nth-child(n+2){margin-top:34px}
.au-devices{grid-template-columns:1fr}
.au-device:nth-child(n+2){margin-top:48px}
.au-device .au-photo{height:240px}
.au-details{margin-top:54px}
.au-detail{padding:32px 0;scroll-margin-top:160px}  /* phone sticky header is 82-133px tall */
.au-goal,.au-tagline{font-size:38px}
.au-brands{grid-template-columns:repeat(2,1fr);gap:14px}
.au-band{padding:40px 22px}
.au-band-main{flex:1 1 100%;min-width:0}  /* the label may wrap instead of running off 360px screens */
.au-band-label{font-size:12.5px;letter-spacing:1px;text-wrap:balance}
.au-band-text{order:2}
.au-band .au-btn{width:100%;order:3}
.au-band-hours span{display:block;margin:6px 0 0}
.au-why{grid-template-columns:1fr;margin:40px auto 60px}
.au-why-card{padding:28px 24px}
.au-uses{grid-template-columns:1fr}
.au-uses li:nth-child(n){grid-column:auto}
.au-uses li:nth-child(n+2){margin-top:60px}
.au-faq summary{font-size:17px;padding:22px 0}
.au-faq details p{padding-right:0}
.au-cta{padding:64px 22px 70px}
.au-cta .au-btn{width:100%}
}
