/* Barbier Hagenroth : demonstração da DigitalWorks (negócio fictício). Visual adaptado de outra demonstração, com cores e fontes próprias. */
:root {
  --sapin: #13303A;
  --sapin-2: #1B3F4B;
  --creme: #EFF1EE;
  --papier: #F9FAF8;
  --cuivre: #B36A12;
  --cuivre-clair: #F2C078;
  --encre: #0C2129;
  --texte: #4A514C;
  --doux: #7C857F;
  --ligne: #E0D6C4;
  --titre: 'Saira Condensed', 'Arial Narrow', Arial, sans-serif;
  --sans: 'Saira', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--papier); color: var(--texte); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, ul, ol, dl, dd, figure, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--cuivre); outline-offset: 3px; }
.larg { width: min(1140px, 100% - 40px); margin-inline: auto; }
@media (min-width: 900px) { .larg { width: min(1140px, 100% - 80px); } }
h1, h2, h3, .t { font-family: var(--titre); text-transform: uppercase; letter-spacing: .02em; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 30px; font: 500 17px/1 var(--titre); text-transform: uppercase; letter-spacing: .08em; border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s; text-align: center; }
.btn-cuivre { background: var(--cuivre); color: #fff; }
.btn-cuivre:hover { background: #9C5230; }
.btn-creme { border-color: var(--creme); color: var(--creme); }
.btn-creme:hover { background: var(--creme); color: var(--sapin); }
.btn-sapin { background: var(--sapin); color: var(--creme); }
.btn-sapin:hover { background: #000; }
.btn-p { min-height: 44px; padding: 0 18px; font-size: 14.5px; }
.sur { font: 500 14px/1 var(--titre); letter-spacing: .26em; text-transform: uppercase; color: var(--cuivre); }

/* bandeau + en-tête */
.bandeau { background: var(--encre); color: #D5D9D4; font-size: 15px; padding: 8px 16px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 14px; text-align: center; }
.bandeau i { width: 9px; height: 9px; border-radius: 50%; background: #8B938D; }
.bandeau.oui i { background: #5FCB8E; box-shadow: 0 0 0 4px rgba(95, 203, 142, .2); }
.bandeau b { color: #fff; font-weight: 600; }
.tete { position: sticky; top: 0; z-index: 40; background: rgba(19, 48, 58, .96); color: var(--creme); }
.tete-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; }
.logo { font: 600 25px/1 var(--titre); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; display: inline-flex; align-items: center; gap: 12px; }
.logo svg { color: var(--cuivre-clair); }
.logo small { font: 400 11px/1 var(--sans); letter-spacing: .3em; color: var(--cuivre-clair); display: block; margin-top: 5px; }
.ancres { display: none; gap: 26px; font: 400 15px/1 var(--titre); letter-spacing: .14em; text-transform: uppercase; }
.ancres a { padding: 8px 0; border-bottom: 2px solid transparent; }
.ancres a:hover { border-color: var(--cuivre-clair); }
@media (min-width: 900px) { .tete-in { min-height: 78px; } .ancres { display: flex; } .logo { font-size: 29px; } }
@media (max-width: 520px) { .tete .btn span.long { display: none; } }

/* héros */
.heros { position: relative; background: var(--sapin); color: var(--creme); overflow: hidden; }
.heros > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.heros::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 33, 41, .92) 0%, rgba(12, 33, 41, .55) 60%, rgba(12, 33, 41, .25) 100%); }
.heros .larg { position: relative; z-index: 1; padding-block: 64px 56px; }
.heros h1 { font-size: clamp(46px, 12vw, 104px); line-height: .96; font-weight: 600; margin-top: 16px; max-width: 9em; }
.heros h1 em { font-style: normal; color: var(--cuivre-clair); }
.heros p.txt { margin-top: 18px; font-size: 20px; max-width: 26em; color: #E4DED1; }
.heros-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.faits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 44px; max-width: 620px; }
.faits li { border-top: 2px solid var(--cuivre); padding-top: 12px; font-size: 15px; color: #D5D0C4; line-height: 1.35; }
.faits b { display: block; font: 500 26px/1.1 var(--titre); color: #fff; }
@media (min-width: 900px) { .heros .larg { padding-block: 110px 84px; } }

.bloc { padding-block: 72px 0; }
.bloc-tete { margin-bottom: 30px; }
.bloc-tete h2 { font-size: clamp(34px, 8vw, 58px); line-height: 1; font-weight: 600; color: var(--encre); margin-top: 12px; }
.bloc-tete p:not(.sur) { margin-top: 12px; max-width: 34em; }
@media (min-width: 900px) { .bloc { padding-block: 110px 0; } .bloc-tete { margin-bottom: 44px; } }

/* prestations */
.tarifs { display: grid; gap: 12px; }
.tarif { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; align-items: center; background: #fff; border: 1px solid var(--ligne); padding: 20px 20px 18px; transition: border-color .2s, transform .2s; }
.tarif:hover { border-color: var(--cuivre); }
.tarif h3 { font-size: 22px; font-weight: 500; color: var(--encre); }
.tarif p { font-size: 15.5px; color: var(--doux); grid-column: 1; }
.tarif .prix { font: 600 30px/1 var(--titre); color: var(--cuivre); text-align: right; grid-row: 1; grid-column: 2; }
.tarif .duree { font-size: 14px; color: var(--doux); text-align: right; grid-column: 2; }
.tarif .btn { grid-column: 1 / -1; margin-top: 10px; }
.tarif.vedette { background: var(--sapin); border-color: var(--sapin); color: #D5D9D4; }
.tarif.vedette h3 { color: #fff; }
.tarif.vedette p, .tarif.vedette .duree { color: #B9C2BB; }
.tarif.vedette .prix { color: var(--cuivre-clair); }
.etiquette { display: inline-block; font: 500 11.5px/1 var(--titre); letter-spacing: .16em; background: var(--cuivre); color: #fff; padding: 5px 9px; margin-bottom: 8px; }
@media (min-width: 760px) { .tarifs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1040px) { .tarifs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* prise de rendez-vous */
.rdv { background: var(--sapin); color: #D5D9D4; margin-top: 72px; padding-block: 64px; }
.rdv .bloc-tete h2 { color: #fff; }
.rdv .sur { color: var(--cuivre-clair); }
.rdv-grille { display: grid; gap: 22px; align-items: start; }
.etape { background: var(--sapin-2); border: 1px solid rgba(239, 241, 238, .14); padding: 20px; }
.etape + .etape { margin-top: 12px; }
.etape h3 { font-size: 17px; font-weight: 500; letter-spacing: .12em; color: #fff; display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.etape h3 i { width: 28px; height: 28px; border-radius: 50%; background: var(--cuivre); color: #fff; display: grid; place-items: center; font-style: normal; font-size: 15px; letter-spacing: 0; }
.choix { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { min-height: 46px; padding: 0 16px; border: 1.5px solid rgba(239, 241, 238, .3); color: var(--creme); font-weight: 600; font-size: 16px; display: inline-flex; align-items: center; gap: 8px; transition: background .2s, border-color .2s, color .2s; }
.opt small { font-weight: 400; color: #B9C2BB; }
.opt:hover:not(:disabled) { border-color: var(--cuivre-clair); }
.opt[aria-pressed="true"] { background: var(--creme); border-color: var(--creme); color: var(--sapin); }
.opt[aria-pressed="true"] small { color: var(--texte); }
.opt:disabled { color: #7F8A83; border-color: rgba(239, 241, 238, .12); text-decoration: line-through; cursor: not-allowed; }
.opt.jour { flex-direction: column; gap: 2px; min-width: 70px; padding: 8px 10px; line-height: 1.1; }
.opt.jour b { font: 500 20px/1 var(--titre); }
.opt.heure { min-width: 78px; justify-content: center; }
.aide { font-size: 14.5px; color: #B9C2BB; margin-top: 10px; }
.recap { background: var(--creme); color: var(--texte); padding: 24px; position: sticky; top: 96px; }
.recap h3 { font-size: 22px; font-weight: 500; color: var(--encre); }
.recap dl { margin-top: 14px; display: grid; gap: 10px; }
.recap dl div { display: flex; justify-content: space-between; gap: 14px; border-bottom: 1px dotted #C3B79F; padding-bottom: 10px; }
.recap dt { color: var(--doux); }
.recap dd { font-weight: 600; color: var(--encre); text-align: right; }
.recap .total { font: 600 34px/1 var(--titre); color: var(--cuivre); margin-top: 16px; display: flex; justify-content: space-between; align-items: baseline; }
.recap .total small { font: 400 15px/1 var(--sans); color: var(--doux); }
.recap input { width: 100%; height: 50px; border: 1.5px solid #CFC3AC; background: #fff; padding: 0 14px; font-size: 17px; margin-top: 14px; outline: none; }
.recap input:focus { border-color: var(--cuivre); box-shadow: 0 0 0 4px rgba(179, 106, 18, .18); }
.recap .btn { width: 100%; margin-top: 12px; }
.recap .erreur { color: #A2392F; font-weight: 600; font-size: 15px; margin-top: 10px; }
.recap .petit { font-size: 14px; color: var(--doux); margin-top: 10px; }
@media (min-width: 960px) { .rdv { margin-top: 110px; padding-block: 96px; } .rdv-grille { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 30px; } }

/* équipe, réalisations, avis */
.equipe { display: grid; gap: 12px; }
.membre { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: center; background: #fff; border: 1px solid var(--ligne); padding: 18px; }
.membre .rond { width: 64px; height: 64px; border-radius: 50%; background: var(--sapin); color: var(--cuivre-clair); display: grid; place-items: center; font: 600 26px/1 var(--titre); }
.membre h3 { font-size: 21px; font-weight: 500; color: var(--encre); }
.membre p { font-size: 15.5px; color: var(--doux); }
@media (min-width: 860px) { .equipe { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.coupes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.coupes figure { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #DDD3C2; }
.coupes img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.coupes figure:hover img { transform: scale(1.05); }
.coupes figcaption { position: absolute; left: 0; bottom: 0; background: var(--sapin); color: var(--creme); font: 500 13.5px/1 var(--titre); letter-spacing: .14em; text-transform: uppercase; padding: 9px 12px; }
@media (min-width: 860px) { .coupes { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
.avis { display: grid; gap: 12px; }
.avis figure { border-left: 3px solid var(--cuivre); background: #fff; padding: 22px 22px 20px; }
.avis p { font-size: 18.5px; color: var(--encre); }
.avis span { display: block; margin-top: 12px; font: 400 13.5px/1 var(--titre); letter-spacing: .16em; text-transform: uppercase; color: var(--doux); }
.note-demo { font-size: 14px; color: var(--doux); margin-top: 14px; }
@media (min-width: 860px) { .avis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }

/* adresse et horaires */
.venir { display: grid; gap: 16px; }
.carton { background: #fff; border: 1px solid var(--ligne); padding: 26px 22px; }
.carton h3 { font-size: 24px; font-weight: 500; color: var(--encre); }
.statut { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; padding: 7px 14px; border: 1px solid var(--ligne); font-weight: 600; color: var(--encre); }
.statut i { width: 9px; height: 9px; border-radius: 50%; background: #B4ADA0; }
.statut.oui i { background: #2E9B5B; box-shadow: 0 0 0 4px rgba(46, 155, 91, .18); }
.horaires { width: 100%; border-collapse: collapse; margin-top: 14px; }
.horaires td { padding: 9px 0; border-top: 1px solid var(--ligne); }
.horaires td:last-child { text-align: right; color: var(--encre); font-weight: 600; }
.horaires .jour-j td { color: var(--cuivre); font-weight: 600; }
.carton address { font-style: normal; margin-top: 14px; font-size: 18px; color: var(--encre); }
.carton-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.plan { position: relative; min-height: 300px; overflow: hidden; background: #E3DDCE; border: 1px solid var(--ligne); display: grid; place-items: center; }
.plan svg.rues { position: absolute; inset: 0; width: 100%; height: 100%; }
.plan.ferme svg.rues { filter: blur(5px) saturate(.6); opacity: .75; transform: scale(1.05); }
.plan-centre { position: relative; display: grid; gap: 10px; justify-items: center; text-align: center; padding: 20px; }
.plan-centre small { font-size: 14px; background: rgba(249, 250, 248, .92); padding: 6px 12px; max-width: 24em; }
.plan-note { position: absolute; left: 12px; right: 12px; bottom: 12px; font-size: 14px; background: rgba(249, 250, 248, .94); padding: 8px 12px; }
.epingle { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -100%); color: var(--cuivre); filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .25)); }
@media (min-width: 900px) { .venir { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; } .carton { padding: 36px; } .plan { min-height: 100%; } }

.faq { border-top: 1px solid var(--ligne); max-width: 780px; }
.faq details { border-bottom: 1px solid var(--ligne); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 34px 18px 0; font: 500 19px/1.3 var(--titre); letter-spacing: .03em; text-transform: uppercase; color: var(--encre); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 12px; font: 400 28px/1 var(--sans); color: var(--cuivre); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; }

.appel { margin-top: 72px; background: var(--cuivre); color: #fff; padding-block: 52px; text-align: center; }
.appel h2 { font-size: clamp(32px, 8vw, 54px); line-height: 1; font-weight: 600; }
.appel p { margin-top: 10px; font-size: 19px; }
.appel .btn { margin-top: 24px; }
@media (min-width: 900px) { .appel { margin-top: 110px; padding-block: 76px; } }

.pied { background: var(--encre); color: #B5BDB7; padding-block: 44px 110px; font-size: 15.5px; }
.pied-in { display: grid; gap: 22px; }
.pied .logo { color: var(--creme); }
.pied-demo { background: rgba(242, 192, 120, .12); border: 1px solid rgba(242, 192, 120, .45); color: #EBD9BF; padding: 10px 14px; }
.pied-demo b { color: var(--cuivre-clair); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; margin-right: 8px; }
.pied details summary { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.pied details p { margin-top: 10px; max-width: 46em; }
@media (min-width: 900px) { .pied { padding-block: 64px 60px; } }

/* barre fixe sur mobile */
.barre { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: rgba(12, 33, 41, .97); color: var(--creme); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)) 104px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; transform: translateY(110%); transition: transform .3s; }
.barre.visible { transform: none; }
.barre span { font-size: 13.5px; color: #B9C2BB; display: block; line-height: 1.2; }
.barre b { font: 500 18px/1.1 var(--titre); letter-spacing: .04em; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.dw-capa .barre { display: none; }
@media (min-width: 900px) { .barre { display: none; } }

/* fenêtre de confirmation */
.fond { position: fixed; inset: 0; z-index: 80; background: rgba(12, 33, 41, .7); display: grid; place-items: center; padding: 16px; opacity: 0; transition: opacity .2s; }
.fond.on { opacity: 1; }
.ticket { width: min(430px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: var(--papier); }
.ticket-tete { background: var(--sapin); color: var(--creme); padding: 22px 24px; }
.ticket-tete small { font: 400 13px/1 var(--titre); letter-spacing: .2em; text-transform: uppercase; color: var(--cuivre-clair); }
.ticket-tete b { display: block; font: 600 30px/1.05 var(--titre); text-transform: uppercase; margin-top: 8px; }
.ticket dl { padding: 20px 24px 6px; display: grid; gap: 10px; }
.ticket dl div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px dotted #C3B79F; padding-bottom: 10px; }
.ticket dt { color: var(--doux); }
.ticket dd { font-weight: 600; color: var(--encre); text-align: right; }
.ticket-note { padding: 12px 24px 24px; font-size: 15.5px; display: grid; gap: 14px; }
.ticket-note b { background: var(--cuivre); color: #fff; font: 500 11.5px/1 var(--titre); letter-spacing: .14em; text-transform: uppercase; padding: 4px 8px; margin-right: 6px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; } }

/* mobile : le bouton de l'en-tête tient sur une ligne */
.tete .btn { white-space: nowrap; }
@media (max-width: 520px) { .tete .btn { padding: 0 12px; letter-spacing: .04em; font-size: 13.5px; } .logo { font-size: 22px; letter-spacing: .1em; } }
