:root {
  color-scheme: light;
  /* 60 % fond clair, 30 % surfaces bleu turquoise, 10 % accents de marque. */
  --navy: #183b53;
  --azure: #146a91;
  --lagoon: #078679;
  --white: #fff;
  --canvas: #f8fcfd;
  --blue-surface: #e6f4f7;
  --glass: linear-gradient(145deg, #fffdfa 0%, #f4fbfc 48%, #e6f4f7 100%);
  --muted: color-mix(in srgb, var(--navy) 77%, var(--white));
  --line: color-mix(in srgb, var(--navy) 16%, var(--white));
  --wash: color-mix(in srgb, var(--azure) 6%, var(--white));
  --azure-wash: color-mix(in srgb, var(--azure) 11%, var(--white));
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--canvas);
  color: var(--navy);
  line-height: 1.55;
}
* { box-sizing: border-box; }
body { margin: 0; }
main { min-height: 58vh; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
img { display: block; width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--azure); outline-offset: 4px; }
.skip { position: absolute; top: -6rem; left: 1rem; z-index: 5; padding: .7rem; background: var(--navy); color: var(--white); }
.skip:focus { top: 1rem; }
.container { width: min(1190px, calc(100% - 112px)); margin-inline: auto; }
.header, .hero { border-bottom: 1px solid var(--line); }
.header { background: #ffffffcf; }
.hero {
  background: radial-gradient(ellipse at 2% 12%, #fdfefe 5%, transparent 58%),
              radial-gradient(ellipse at 94% 80%, #dff7f2, transparent 53%),
              linear-gradient(135deg, #f8fcfd 14%, var(--blue-surface) 100%);
}
[data-page] { animation: page-in .44s cubic-bezier(.22,.72,.24,1) both; }
@keyframes page-in { from { opacity: .53; translate: 0 11px; } to { opacity: 1; translate: 0 0; } }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header-inner { min-height: 75px; }
.brand { display: inline-flex; align-items: center; gap: .47rem; white-space: nowrap; font-size: 1.23rem; letter-spacing: -.05em; }
.brand small { color: var(--azure); font-size: .78em; font-weight: 650; }
.brand-image { display: grid; width: 38px; height: 38px; overflow: hidden; place-items: center; }
.brand-image img { width: 51px; max-width: none; transform: translateX(-6.5px); }
.header nav, .footer nav { display: flex; align-items: center; gap: clamp(.85rem, 2.4vw, 2rem); }
.header nav a, .footer nav a, .footer button { color: var(--muted); font-size: .85rem; }
.header nav a:hover, .header nav a[aria-current], .footer nav a:hover, .footer button:hover { color: var(--azure); }
.header nav a[aria-current] { text-decoration: underline; text-underline-offset: .4em; }

.button { display: inline-flex; justify-content: center; align-items: center; gap: .65rem; width: fit-content; min-height: 46px; padding: .64rem 1.14rem; border: 1px solid var(--azure); border-radius: 999px; background: var(--azure); color: var(--white); font-size: .88rem; font-weight: 650; transition: background .2s, border-color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); background: #125674; }
.nav-estimate[aria-current] { box-shadow: 0 0 0 3px #d7eef1; }
.button-small { min-height: 41px; font-size: .88rem; }
.secondary { background: transparent; color: var(--navy); border-color: var(--line); }
.secondary:hover { background: var(--wash); }
.actions { display: flex; align-items: center; gap: .8rem 1.25rem; flex-wrap: wrap; }
.text-link { display: inline-flex; align-items: center; gap: .48rem; width: fit-content; min-height: 38px; color: var(--navy); font-size: .91rem; font-weight: 650; }
.text-link:hover, .card-link:hover { text-decoration: underline; text-underline-offset: .28em; }

h1, h2, h3, p { margin: 0 0 .85rem; }
h1, h2, h3 { font-weight: 660; line-height: 1.08; letter-spacing: -.048em; text-wrap: balance; }
h1 { font-size: clamp(2.85rem, 5.3vw, 5.45rem); }
h1 em { font-weight: inherit; font-style: normal; color: var(--azure); }
@supports (background-clip: text) {
  h1, .section-top h2 {
    color: transparent;
    background: linear-gradient(168deg, #30637c 5%, #17384b 55%, #35677d);
    background-clip: text;
  }
  h1 em {
    color: transparent;
    background: linear-gradient(165deg, #2d7f94 7%, #2a6288 54%, #156e73 94%);
    background-clip: text;
  }
}
@media (forced-colors: active) {
  h1, h1 em, .section-top h2 { color: CanvasText; background: none; }
}
h2 { font-size: clamp(1.95rem, 3.35vw, 3.18rem); }
h3 { font-size: clamp(1.43rem, 2.15vw, 2.02rem); }
.eyebrow { margin-bottom: 1.1rem; color: var(--muted); font-size: .68rem; font-weight: 650; letter-spacing: .185em; text-transform: uppercase; }
.eyebrow span { display: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); align-items: center; gap: clamp(2rem, 6.1vw, 6.6rem); padding-block: clamp(2.8rem, 6vw, 5.7rem); }
.hero h1 { max-width: 12ch; }
.hero-intro, .page-lead p:not(.eyebrow), .contact-layout p:not(.eyebrow) { max-width: 34rem; margin-block: 1.2rem 1.5rem; color: var(--muted); }
.hero-art, .page-photo { overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: var(--wash); box-shadow: 0 16px 38px #204a721a; }
.hero-art { position: relative; aspect-ratio: 3 / 2; }
.hero-art img { display: block; width: 100%; height: 100%; object-fit: fill; }
.laptop-open-photo { position: absolute; inset: 0; }
.page-photo { aspect-ratio: 1.44; object-fit: cover; }
.section { padding-block: clamp(2.7rem, 5vw, 4.65rem); }
.section-top { display: flex; align-items: end; justify-content: space-between; gap: .8rem 1.2rem; margin-bottom: 1.4rem; }
.section-top h2 { margin-bottom: 0; }
.section-top .text-link { flex: none; padding-bottom: .12rem; }
.compact { padding-block: 0 3.4rem; }
.compact > h2 { margin-bottom: 1.15rem; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.65rem, 1.5vw, 1.25rem); }
.card, .panel { padding: clamp(1.15rem, 2.2vw, 1.8rem); border: 1px solid var(--line); border-radius: .65rem; background: var(--white); }
.card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  border-color: transparent;
  background: transparent;
  border-radius: 1rem;
  transition: transform .28s, border-color .28s, background-color .28s, box-shadow .28s;
}
.card::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--lagoon); transform: scaleX(0); transform-origin: left; transition: transform .42s cubic-bezier(.2,.7,.2,1); }
.card:is(:hover, :focus-within) { transform: translateY(-4px); border-color: #9ccdd5; background-color: #f7fcfd; box-shadow: 0 12px 25px #234d7516, inset 0 1px 0 #fff; }
.card:is(:hover, :focus-within)::before { transform: scaleX(1); }
.cards .card { animation: rise .55s both cubic-bezier(.2,.7,.2,1); }
.cards .card:nth-child(2) { animation-delay: .075s; }
.cards .card:nth-child(3) { animation-delay: .15s; }
@keyframes rise { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
.card-icon { position: relative; flex: none; width: 42px; height: 35px; margin: .15rem 0 1.2rem; border: 1px solid var(--azure); border-radius: 5px; background: var(--wash); }
.card-icon::before { content: ""; position: absolute; inset: 7px 0 auto; height: 1px; background: var(--azure); opacity: .7; }
.card-icon span { position: absolute; left: 7px; top: 13px; width: 25px; height: 3px; border-radius: 4px; background: var(--azure); transform-origin: left; transition: transform .32s cubic-bezier(.2,.7,.2,1); }
.card-icon span:nth-child(2) { top: 20px; width: 17px; }
.card-icon span:nth-child(3) { top: 26px; width: 21px; }
.card[data-variant="interactif"] .card-icon span:first-child { width: 25px; height: 8px; border: 1px solid var(--azure); background: transparent; border-radius: 2px; }
.card[data-variant="interactif"] .card-icon span:nth-child(2) { top: 25px; width: 11px; background: var(--lagoon); }
.card[data-variant="interactif"] .card-icon span:nth-child(3) { display: none; }
.card[data-variant="application"] .card-icon span { top: 13px; width: 9px; height: 15px; border-radius: 2px; }
.card[data-variant="application"] .card-icon span:nth-child(2) { left: 20px; width: 13px; height: 6px; }
.card[data-variant="application"] .card-icon span:nth-child(3) { left: 20px; top: 22px; width: 13px; height: 6px; background: var(--lagoon); }
.card:is(:hover, :focus-within) .card-icon span:nth-child(2) { transform: scaleX(1.22); }
.card:is(:hover, :focus-within) .card-icon span:nth-child(3) { transform: scaleX(.77); }
.card > p, .panel p, .muted { color: var(--muted); }
.card > p { min-height: 3em; font-size: .93rem; }
.card-end { display: grid; gap: .5rem; width: 100%; margin-top: auto; padding-top: .8rem; }
.card .price { margin: 0; color: var(--navy); font-size: 1.14rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.card-link { display: inline-flex; align-items: center; gap: .48rem; width: fit-content; min-height: 36px; color: var(--azure); font-size: .9rem; font-weight: 650; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-link:focus-visible { outline-offset: 0; }
.home-offers .service-pair { margin-top: 1.5rem; }
.service-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.65rem, 1.5vw, 1.25rem);
  border-top: 1px solid var(--line);
  padding-top: 1.15rem;
}
.service-pair h2 { font-size: clamp(1.55rem, 2.8vw, 2.25rem); }
.service-pair p { color: var(--muted); }
.card.dwell-active::before { transform: scaleX(1); animation: estimate-dwell 3s linear both; }
@keyframes estimate-dwell { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.6rem, 5vw, 4.7rem); }
.page-lead h1, .narrow h1, [data-page="gestion"] h1 { font-size: clamp(2.75rem, 5.35vw, 4.9rem); }
.narrow { max-width: 790px; min-height: 55vh; }
.narrow h1 { margin-bottom: 1.45rem; }
.panel p:last-child { margin-bottom: 0; }
.panel h2 { font-size: clamp(1.65rem, 2.8vw, 2.15rem); }
.faq-list { display: grid; }
details { padding: 1rem 0; border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { font-weight: 650; }
details p { margin: .65rem 0 0; color: var(--muted); }
details a, .panel p a, .record a { color: var(--azure); text-decoration: underline; text-underline-offset: .2em; overflow-wrap: anywhere; }
.stack { display: grid; align-content: start; gap: .95rem; }
.stack h2, .stack h3, .stack p { margin: 0; }
label { display: grid; gap: .35rem; font-size: .92rem; font-weight: 620; }
input:not([type="checkbox"]), textarea, select { width: 100%; min-height: 43px; padding: .62rem .7rem; border: 1px solid var(--line); border-radius: .43rem; background: var(--white); }
textarea { resize: vertical; }
.note, .result { font-size: .88rem; color: var(--muted); }
.result { min-height: 1.3em; }
.manage-tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1.25rem 0; }
.manage-tabs button, .inline-button { padding: .5rem .7rem; border: 1px solid var(--line); border-radius: .43rem; background: var(--wash); }
.manage-tabs button[aria-pressed="true"] { border-color: var(--azure); background: var(--azure-wash); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: .75rem; }
.inline { display: flex; align-items: center; gap: .5rem; }
.record { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.record p { overflow-wrap: anywhere; white-space: pre-wrap; }
fieldset { min-width: 0; margin: 0; padding: 1rem; border: 1px solid var(--line); border-radius: .55rem; }
fieldset .inline-button { margin-top: .7rem; }
.promo-banner { margin-top: 1rem; padding: 1rem 1.2rem; border: 1px solid var(--line); border-left: 3px solid var(--lagoon); border-radius: .5rem; background: var(--wash); }
.promo-banner p:last-child { margin: 0; }
.footer { border-top: 1px solid var(--line); background: var(--blue-surface); }
.footer-inner { min-height: 84px; flex-wrap: wrap; }
.footer p { margin: 0; color: var(--muted); font-size: .78rem; }
.footer button { padding: 0; border: 0; background: transparent; }
.estimation-layout { max-width: 1120px; }
.estimation-layout h1 { font-size: clamp(2.5rem, 5.3vw, 4.9rem); }
.estimation-layout > p { color: var(--muted); }
.questionnaire { max-width: 860px; margin-top: 1.45rem; padding: clamp(1rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 1rem; background: var(--glass); }
.questionnaire fieldset { display: grid; padding: clamp(.85rem, 2vw, 1.2rem); }
.questionnaire legend { padding-inline: .35rem; font-weight: 720; }
.question-choices > div { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: .45rem .9rem; }
.question-choices label { display: flex; align-items: flex-start; gap: .45rem; font-weight: 500; }
.question-choices input { margin-top: .33rem; }
#estimate-amount { color: var(--azure); font-size: clamp(1.25rem, 3vw, 1.8rem); font-weight: 700; }
.questionnaire .result:empty { display: none; }

@media (max-width: 980px) {
  .container { width: calc(100% - 64px); }
  .header nav { gap: .85rem; }
  .hero-grid { gap: 2.15rem; }
}
@media (max-width: 700px) {
  .container { width: calc(100% - 36px); }
  html { scroll-padding-top: 9rem; }
  .header { position: sticky; top: 0; z-index: 4; background: var(--canvas); }
  .header-inner { min-height: 65px; flex-wrap: wrap; column-gap: .55rem; padding-top: .35rem; }
  .header .brand { margin-right: auto; }
  .nav-estimate { order: 1; padding-inline: .7rem; }
  .header nav { order: 2; width: 100%; gap: 0 .85rem; flex-wrap: wrap; }
  .header nav a { display: flex; align-items: center; min-height: 44px; }
  .hero-grid, .split, .grid, .service-pair { grid-template-columns: 1fr; }
  .hero-grid { padding-block: 2.5rem; gap: 1.55rem; }
  .hero h1 { font-size: clamp(2.65rem, 10vw, 4.5rem); }
  .card > p { min-height: 0; }
  .compact { padding-block: 0 2.4rem; }
  .section-top { align-items: flex-start; flex-direction: column; }
  .footer-inner { padding-block: 1rem; }
  .footer nav { flex-wrap: wrap; row-gap: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.card > .estimate-duration {
  min-height: 0;
  margin-bottom: .35rem;
  color: var(--azure);
  font-size: .88rem;
  font-weight: 650;
}

.estimate-upgrade { padding: .8rem 1rem; border-inline-start: .22rem solid var(--azure); background: var(--azure-wash); border-radius: .35rem; }
#estimate-details { margin: 0; padding-inline-start: 1.25rem; }

.maintenance-summary { margin: 0; padding-inline-start: 1.15rem; color: var(--muted); }

.laptop-screen {
  position: absolute;
  inset: 17.65% 18.05% 38.95% 33.04%;
  clip-path: polygon(1% 0, 98.6% 0, 100% 100%, 0 100%);
  background: #e6f4f7;
  container-type: inline-size;
}
.mini-window {
  height: 100%;
  color: #183b53;
  overflow: hidden;
  font-size: 4cqw;
  line-height: 1.2;
}
.mini-browser, .mini-nav { display: flex; align-items: center; gap: 2cqw; padding-inline: 5cqw; }
.mini-browser { min-height: 9%; background: #183b53; color: #fff; font-size: 2.6cqw; }
.mini-browser i { width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: #87dccc; }
.mini-browser span { margin-inline: auto; }
.mini-nav { min-height: 14%; background: #fbfefe; font-size: 3.2cqw; white-space: nowrap; }
.mini-nav b { margin-right: auto; }
.mini-page { padding: 5cqw; animation: laptop-page-in .45s ease both; }
@keyframes laptop-page-in { from { opacity: .25; transform: translateY(3px); } to { opacity: 1; transform: translateY(0); } }
.mini-page > strong, .mini-home strong, .mini-booking strong { display: block; font-size: 7.4cqw; line-height: 1.05; letter-spacing: -.05em; }
.mini-page p { margin: 2cqw 0 3cqw; font-size: 3.7cqw; }
.mini-page small { font-size: 3cqw; }
.mini-booking { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4cqw; }
.mini-home {
  position: relative;
  height: 77%;
  padding: 0;
  background: #e4f4f8;
  color: #fff;
}
.mini-home-photo {
  position: absolute;
  inset: 0;
  background: #c5e5ee url("/assets/atelier-velo.webp") center 53% / cover no-repeat;
}
.mini-home-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 5cqw 6cqw 3cqw;
  background: linear-gradient(transparent, #102d4be6);
}
.mini-home-caption small { display: block; margin-bottom: 1cqw; color: #a7eee2; font-weight: 750; letter-spacing: .15em; }
.mini-home strong { font-weight: 750; font-size: 6.1cqw; letter-spacing: -.025em; }
.mini-prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5cqw; margin-top: 4cqw; }
.mini-prices > div, .mini-times { padding: 3cqw; border: 1px solid #d6d5ca; border-radius: 2cqw; background: #fbfefe; }
.mini-prices small { display: block; margin-top: 1.5cqw; color: #146a91; }
.mini-calendar { display: flex; gap: 1.3cqw; font-size: 3.1cqw; }
.mini-calendar > * { padding: .8cqw; }
.mini-calendar b, .mini-times span:first-of-type { background: #146a91; color: white; border-radius: 1cqw; }
.mini-times { display: grid; gap: 1cqw; font-size: 3.3cqw; }
.mini-times span { padding: 1cqw 2cqw; background: #e7f4f6; }
.laptop-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.laptop-controls { margin-top: .75rem; }
.laptop-controls button {
  min-height: 35px;
  padding: .25rem .62rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff9;
  color: var(--navy);
  font-size: .79rem;
  font-weight: 650;
}
.laptop-controls button[aria-pressed="true"] { border-color: var(--azure); background: var(--azure); color: #fff; }
.example-carousel { width: min(1050px, 100%); margin-inline: auto; }
.example-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  border-radius: 1.15rem;
}
.example-slide {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(1.25rem, 5vw, 4rem);
  min-height: 23rem;
  padding: clamp(1.1rem, 4vw, 3.2rem);
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: linear-gradient(125deg, #f8fcfd, var(--example-tint, #e4eff4));
}
.example-vitrine { --example-tint: #e3f2f6; }
.example-interactif { --example-tint: #e0f1ee; }
.example-application { --example-tint: #e2eef5; }
.example-intro p { margin-bottom: 0; color: var(--muted); }
.example-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem; margin-top: 1.2rem; }
.example-controls p { min-width: 4.5rem; margin: 0; text-align: center; color: var(--muted); font-variant-numeric: tabular-nums; }
.sample-gallery { display: grid; grid-template-columns: 1.15fr .85fr; gap: .5rem; margin-bottom: .95rem; }
.sample-gallery img { width: 100%; aspect-ratio: 1.55; object-fit: cover; border-radius: .45rem; }
.sample-services {
  margin: 0;
  padding-inline-start: 1.15rem;
  color: var(--navy);
  line-height: 1.45;
}
.sample-services li { padding-block: .38rem; }
.sample-services li + li { border-top: 1px solid var(--line); }
.sample-services li::marker { color: var(--azure); }
.about-photo { aspect-ratio: 3 / 2; object-fit: cover; }
.sample-window { min-width: 0; padding: clamp(.85rem, 2.5vw, 1.55rem); border: 1px solid var(--line); border-radius: .9rem; background: white; box-shadow: 0 12px 30px #17314c15; }
.sample-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem .7rem; margin-bottom: 1.15rem; color: var(--muted); font-size: .85rem; }
.sample-line { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.sample-line small { display: block; color: var(--muted); font-weight: 400; }
.sample-window details { padding-block: .62rem; }
.sample-window details ul { margin-bottom: 0; padding-left: 1.2rem; }
.showcase-layout { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1rem; align-items: start; }
.showcase-goals { grid-column: 1 / -1; }
.choice-cards p { margin: 0 0 .65rem; }
.choice-cards > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice-cards label { padding: .5rem; border: 1px solid var(--line); border-radius: .45rem; background: #ffffff9e; }
.choice-cards label:has(input:checked) { border-color: var(--azure); background: var(--azure-wash); }
@media (max-width: 760px) {
  .example-slide { grid-template-columns: 1fr; min-height: 0; }
  .showcase-layout { grid-template-columns: 1fr; }
}
@media (max-width: 500px) { .choice-cards > div { grid-template-columns: 1fr; } }

.intro-playing { animation: title-reveal 1.45s ease-out both; }
@media (forced-colors: none) {
  .intro-playing h1, h1.intro-playing { color: var(--navy); background: none; }
  .intro-playing h1 em, h1.intro-playing em { color: var(--azure); background: none; }
}
.intro-word { display: inline-block; white-space: nowrap; }
.intro-letter { display: inline-block; animation: title-letter .95s cubic-bezier(.16,.72,.24,1) var(--intro-delay) both; }
@keyframes title-reveal {
  from { opacity: .13; filter: blur(7px); transform: translateY(24px) scale(.96); }
  to { opacity: 1; filter: none; transform: none; }
}
@keyframes title-letter {
  from { opacity: .14; transform: translate(var(--intro-x), var(--intro-y)) rotate(var(--intro-angle)); }
  to { opacity: 1; transform: none; }
}
