:root {
  color-scheme: dark;
  font-family: Arial, sans-serif;
  background: var(--ink);
  color: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body, figure { margin: 0; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: var(--focus-width) solid var(--color-focus); outline-offset: var(--radius-control); }
p { line-height: 1.5; }
h1, h2, h3 { margin: 0 0 .45em; line-height: 1; letter-spacing: -.035em; }
h2 { font-size: clamp(2.3rem, calc(var(--layout-width) * 0.05), 5rem); }
h3 { font-size: clamp(1.35rem, calc(var(--layout-width) * 0.02), 2rem); }
.wrap { width: min(100% - var(--gutter) * 2, var(--content-max)); margin-inline: auto; }
.skip { position: fixed; top: -10rem; }
.skip:focus { top: 8px; left: 8px; z-index: 20; background: var(--paper); color: var(--ink); padding: 12px; }
.site-header {
  position: absolute;
  z-index: 10;
  inset: 15px 0 auto;
  width: min(var(--nav-max), calc(100% - 40px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 137px;
  gap: 8px;
  color: var(--ink);
}
.nav-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
  padding-inline: 18px clamp(18px, calc(var(--layout-width) * 0.04), 56px);
  background: url(media/Nav.svg) center / 100% 100% no-repeat;
}
.nav-card nav { display: flex; align-items: center; gap: clamp(14px, calc(var(--layout-width) * 0.03), 42px); }
.nav-card nav > a, .nav-card :is(summary, .services-trigger) {
  font: 600 12px/normal "Clash Display", sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
}
.nav-card :is(summary, .services-trigger) { cursor: pointer; list-style: none; }
.nav-card :is(summary, .services-trigger)::-webkit-details-marker { display: none; }
.nav-card nav > a:hover, .services-menu[open] :is(summary, .services-trigger) { color: var(--red); }
.rental {
  display: grid;
  align-content: center;
  position: relative;
  border-radius: 8px;
  background: #0c0b0e;
  color: var(--paper);
  font: bold 1.5rem/.8 Georgia, serif;
  padding: 12px 58px 12px 23px;
  text-decoration: none;
}
.rental img { width: 52px; max-height: 50px; }
.nav-toggle { display: none; }
.rental .cta-arrow { position: absolute; right: 16px; top: 50%; translate: 0 -50%; }
@font-face {
  font-family: Inter;
  src: url(media/inter-latin.woff2) format("woff2");
  font-weight: 400 500;
  font-display: swap;
}
@font-face {
  font-family: "Anonymous Pro";
  src: url(../ASSETS/FONTES/Anonymous_Pro/AnonymousPro-Regular.woff2) format("woff2"), url(../ASSETS/FONTES/Anonymous_Pro/AnonymousPro-Regular.ttf) format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Anonymous Pro";
  src: url(../ASSETS/FONTES/Anonymous_Pro/AnonymousPro-Bold.woff2) format("woff2"), url(../ASSETS/FONTES/Anonymous_Pro/AnonymousPro-Bold.ttf) format("truetype");
  font-weight: 700;
  font-display: swap;
}
@media (min-width: 1101px) {
  .nav-card nav {
    --nav-link-inset: clamp(7px, calc(var(--layout-width) * .015), 21px);
    align-self: stretch;
    align-items: stretch;
    gap: 0;
  }
  .nav-card nav > a, .nav-card :is(summary, .services-trigger) {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    padding-inline: var(--nav-link-inset);
  }
  .nav-card nav > a:is(:hover, :focus-visible)::after {
    content: "";
    position: absolute;
    inset: auto var(--nav-link-inset) 0;
    height: 3px;
    background: var(--red);
    pointer-events: none;
  }
}
.mega-menu {
  position: absolute;
  inset: calc(100% + 12px) 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 550px;
  background: var(--paper);
  border-radius: 8px;
  box-shadow: 0 28px 70px #0003;
}
.mega-menu::before {
  content: "";
  position: absolute;
  inset: -12px 0 auto;
  height: 12px;
}
.mega-menu a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: clamp(22px, calc(var(--layout-width) * 0.05), 64px);
  border-radius: inherit;
  text-decoration: none;
  transition: background-color .18s ease;
}
.mega-menu a:hover, .mega-menu a:focus-visible { background: #d8d6bf; }
.mega-menu img {
  width: 144px;
  height: 144px;
  object-fit: contain;
  mask-image: linear-gradient(to bottom, #000 52%, transparent 100%);
}
.mega-menu strong {
  font: 500 24px/1 "Clash Display", sans-serif;
  letter-spacing: 2.4px;
}
.mega-menu p {
  margin: 0;
  font: 400 20px/1.1 "Anonymous Pro", monospace;
  letter-spacing: 2px;
}
.mega-menu .more {
  opacity: 0;
  font: 600 15px "Clash Display", sans-serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.mega-menu a:hover .more, .mega-menu a:focus-visible .more { opacity: 1; }
@font-face {
  font-family: "Clash Display";
  src: url(../ASSETS/FONTES/ClashDisplay_Complete/Fonts/WEB/fonts/ClashDisplay-Variable.woff2) format("woff2");
  font-weight: 200 700;
  font-display: swap;
}
.hero, .bureau-cover {
  --hero-gutter: clamp(16px, calc(1.524vw + 10.06px), 32px);
  width: calc(100% - 2 * var(--hero-gutter));
  margin-inline: auto;
}
.hero {
  position: relative;
  isolation: isolate;
  background: #ffb900;
  color: var(--paper);
  border-radius: 0 0 var(--radius-hero) var(--radius-hero);
  overflow: hidden;
  min-height: 80svh;
  padding-block: clamp(116px, 17svh, 205px) clamp(100px, 18svh, 225px);
  display: grid;
  align-items: start;
  justify-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--hero-image, url(media/hero-pyramide.jpg)) center bottom / cover no-repeat;
  pointer-events: none;
}
@media (min-width: 1440px) {
  .hero, .bureau-cover { --hero-gutter: clamp(32px, calc(3.333vw - 16px), 48px); }
}
@media (min-width: 1920px) {
  .hero, .bureau-cover { --hero-gutter: clamp(48px, calc(5vw - 48px), 80px); }
}
.hero-copy { width: min(100% - 40px, 1080px); }
.hero h1 {
  max-width: 780px;
  margin: 0;
  font: 500 72px/.9 "Clash Display", sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hero h1 span { display: block; color: var(--red); font-weight: 700; margin-top: 8px; }
.hero-actions { display: grid; justify-items: start; gap: 10px; margin: 30px 0 0; }
.hero .cta:hover, .hero .cta:focus-visible { color: var(--paper); }
.hero-download {
  color: var(--ink);
  font: 500 14px/1.4 "Clash Display", sans-serif;
  text-decoration: none;
}
.hero-download:hover { text-decoration: underline; }
@media (max-width: 1024px) {
  .hero { padding: 110px 24px clamp(110px, 19svh, 180px); }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: 36px; line-height: 1.2; }
}
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.button {
  display: inline-block;
  padding: .8em 1em;
  border: 2px solid currentColor;
  border-radius: 4px;
  margin: 5px 5px 5px 0;
  text-decoration: none;
  font-weight: 700;
}
.button:hover { background: var(--paper); color: var(--ink); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: var(--gutter); padding-block: clamp(48px, calc(var(--layout-width) * 0.09), 130px); }
/* Introduction and overlapping site photography */
.intro {
  display: grid;
  justify-items: center;
  padding: 128px 24px;
}
.intro-copy {
  display: grid;
  justify-items: start;
  gap: 36px;
  width: min(100%, 880px);
  padding: 10px;
}
.intro h2 {
  margin: 0;
  font: 500 48px/.9 "Clash Display", sans-serif;
  letter-spacing: .1em;
}
.intro p {
  margin: 0;
  font: 400 20px/1.1 "Anonymous Pro", monospace;
  letter-spacing: .1em;
}
.photo-stack {
  --photo-breakout: max(0px, calc((100vw - var(--page-max)) / 2));
  --foreground-width: min(50%, 430px);
  --photo-overlap: min(10vw, 144px);
  position: relative;
  width: min(100%, var(--page-max));
  margin-inline: auto;
  padding: 40px 0 clamp(170px, calc(var(--layout-width) * 0.21), 320px);
}
.photo-background {
  margin-left: calc(-1 * var(--photo-breakout));
  width: max(min(100%, 1173px),
    calc(100% + var(--photo-breakout) - var(--gutter) - var(--foreground-width) + var(--photo-overlap)));
  max-width: none;
  max-height: 680px;
  aspect-ratio: 1173 / 680;
  height: auto;
  object-fit: cover;
  object-position: left center;
  border-radius: 0 8px 8px 0;
  border-left: clamp(5px, calc(var(--layout-width) * 0.01), 12px) solid #1f56fe;
  translate: 0 var(--charpente-offset, 0px);
}
.photo-foreground {
  position: absolute;
  right: var(--gutter);
  bottom: 0;
  z-index: 2;
  width: var(--foreground-width);
  translate: 0 var(--photo-offset, 0px);
}
.crew {
  width: 100%;
  height: auto;
  aspect-ratio: 720 / 1002;
  object-fit: cover;
  border-left: clamp(5px, calc(var(--layout-width) * 0.01), 12px) solid var(--red);
  border-radius: 8px;
}
.mascot { position: absolute; width: 51%; height: auto; bottom: 100%; right: -3%; }
@media (max-width: 767px) {
  .intro { padding: 56px 24px; }
  .intro h2 { font-size: clamp(28px, calc(var(--layout-width) * 0.08), 36px); }
  .photo-background { width: 100%; aspect-ratio: 392 / 680; }
  .photo-stack { --foreground-width: min(55%, 300px); }
  .mascot { width: 85%; right: 0; }
  .crew { aspect-ratio: 215 / 286; }
}
/* Services, coverage and footer */
.services {
  background: linear-gradient(#23222a, var(--ink));
  margin-top: -110px;
  padding-block: 234px 70px;
}
.section-heading { display: grid; gap: 36px; padding: 10px; }
.section-heading h2, .coverage h2, .recruitment h2 {
  margin: 0;
  font: 500 clamp(32px, calc(var(--layout-width) * 0.04), 48px)/.9 "Clash Display", sans-serif;
  letter-spacing: .1em;
}
.section-heading p, .study p, .rental-section p, .coverage p, .recruitment p {
  margin: 0;
  font: 400 20px/1.1 "Anonymous Pro", monospace;
  letter-spacing: .1em;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
}
.service-grid article {
  --card-color: #e20613;
  position: relative;
  display: flex;
  border-radius: 0 16px 8px 8px;
  overflow: hidden;
  clip-path: polygon(22px 0, 100% 0, 100% 100%, 0 100%, 0 30px);
  clip-path: shape(from 25px 0, line to 100% 0, line to 100% 100%, line to 0 100%,
    line to 0 33px, curve to 2px 27px with 0 30px,
    line to 19px 3px, curve to 25px 0 with 21px 0, close);
  background-color: var(--card-color);
}
.service-grid article:nth-child(2) { --card-color: #2049df; }
.service-grid article:nth-child(3) { --card-color: #ffed00; color: var(--ink); }
.service-grid .card-link > img {
  position: absolute;
  inset: -10px -8px auto auto;
  width: 33%;
  height: clamp(100px, calc(var(--layout-width) * 0.1), 145px);
  object-fit: contain;
  object-position: top right;
  mask-image: linear-gradient(to bottom, #000 45%, #000b 70%, transparent 100%);
  pointer-events: none;
}
.service-grid .card-link > :is(h2, h3, p) { max-width: 72%; }
.service-grid .card-link > :is(h2, h3) {
  max-width: 100%;
  overflow-wrap: normal;
  hyphens: none;
  position: relative;
}
.service-grid .card-link > :is(h2, h3)::before {
  content: "";
  float: right;
  width: 29%;
  height: 2em;
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .service-grid article { view-timeline: --service-card block; }
    .service-grid .card-link > img {
      animation: service-image-drift linear both;
      animation-timeline: --service-card;
    }
  }
}
@keyframes service-image-drift {
  from { transform: translateY(-7px); }
  to { transform: translateY(7px); }
}
.service-grid :is(h2, h3), .study :is(h2, h3) {
  margin: 0;
  font: 500 clamp(24px, calc(var(--layout-width) * 0.0225), 32px)/1 "Clash Display", sans-serif;
  letter-spacing: .1em;
}
.service-grid p { margin: 0; font: 700 16px/1.1 "Anonymous Pro", monospace; letter-spacing: 0; }
.service-grid .cta { margin-top: auto; }
.service-grid .card-link:is(:hover, :focus-visible) .cta { color: var(--paper); }
.study {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding: 26px 32px;
  border: 1.5px solid currentColor;
  border-radius: 8px;
}
.study :is(h2, h3) { margin-bottom: 16px; }
.study .cta { flex: none; }
.rental-section { min-height: clamp(650px, 76svh, 850px); }
.rental-section h2 img { width: 123px; height: auto; }
.rental-section .status { margin-top: 36px; }
.spot {
  padding: 64px var(--gutter) 128px;
  background: linear-gradient(var(--color-bg-canvas), #23222a);
}
.spot-figure { width: min(100%, 880px); margin: 0 auto; }
.spot-media { width: 100%; overflow: hidden; border-radius: 8px; }
.spot-media :is(video, img) {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  clip-path: inset(0 round 8px);
}
.spot figcaption {
  width: 100%;
  margin: 20px 0 0;
  font: 500 clamp(17px, 2vw, 24px)/1.1 var(--font-display);
  letter-spacing: .1em;
}
@media (max-width: 700px) { .spot { padding-block: 48px 64px; } }
.coverage { min-height: 746px; }
.coverage h2 { font-size: clamp(30px, calc(var(--layout-width) * 0.03), 36px); }
.coverage p, .recruitment p { margin-block: 24px; }
.coverage-actions { display: grid; justify-items: start; gap: 16px; }
.partners { overflow: hidden; padding-block: 48px; }
.partners-track { display: flex; width: max-content; }
.partners-row {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-around;
  gap: clamp(32px, calc(var(--layout-width) * 0.06), 90px);
  min-width: 100vw;
  padding-inline: clamp(16px, calc(var(--layout-width) * 0.03), 45px);
}
.partners img { width: clamp(65px, calc(var(--layout-width) * 0.1), 140px); height: 65px; object-fit: contain; }
@media (prefers-reduced-motion: no-preference) {
  .partners-track { animation: partners-scroll 28s linear infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .partners-track { width: 100%; }
  .partners-row { min-width: 0; width: 100%; flex-wrap: wrap; }
  .partners-row[aria-hidden="true"] { display: none; }
}
@keyframes partners-scroll { to { transform: translateX(-50%); } }
.split > img { width: 100%; border-radius: 8px; }
.recruitment {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 41.3%;
  width: min(100% - 48px, 1136px);
  min-height: 441px;
  margin-block: 60px 70px;
  overflow: hidden;
  border-radius: 0 16px 16px 16px;
  clip-path: polygon(16px 0, 100% 0, 100% 100%, 0 100%, 0 24px);
  clip-path: shape(from 28.74px 0, line to 100% 0, line to 100% 100%, line to 0 100%,
    line to 0 31.95px, arc to 2.81px 24.23px of 12px cw,
    line to 19.54px 4.29px, arc to 28.74px 0 of 12px cw, close);
  background: #23222a;
}
.recruitment-image {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(#000 62.347%, transparent);
}
[data-recruitment-clip] { position: relative; }
[data-recruitment-clip] :is(.clip-alpha-pending, .clip-alpha-surface) {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}
[data-recruitment-clip] .clip-alpha-pending,
[data-recruitment-clip] .clip-poster-hidden { opacity: 0; }
[data-recruitment-clip] :is(img, video, canvas) {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
.recruitment-image :is(img, video, canvas),
.recruitment-image :is(.clip-alpha-pending, .clip-alpha-surface) {
  position: absolute;
  inset: 10% auto auto -19.14%;
  width: 119.14%;
  height: 107.82%;
  max-width: none;
  object-fit: cover;
  object-position: right center;
}
.recruitment-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  padding: clamp(24px, calc(var(--layout-width) * 0.03), 36px);
}
.recruitment h2 { color: #ffed00; font: 600 clamp(28px, calc(var(--layout-width) * 0.03), 36px)/1 "Clash Display", sans-serif; }
.recruitment p { margin: 0; font-size: clamp(18px, calc(var(--layout-width) * 0.02), 24px); }
@media (max-width: 700px) {
  .recruitment { grid-template-columns: minmax(0, 1fr); }
  .recruitment-image { min-height: 240px; }
}

/* Footer */
.site-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  width: min(100% - 48px, 1240px);
  padding-block: 68px 36px;
  font: 400 16px/1.65 "Anonymous Pro", monospace;
  letter-spacing: .1em;
}
.site-footer h2 {
  margin: 0 0 20px;
  font: 600 16px/1.2 "Clash Display", sans-serif;
  letter-spacing: .16em;
}
.site-footer a { display: block; margin-bottom: 16px; text-decoration: none; }
.site-footer a:not(.cta):hover { text-decoration: underline; }
.site-footer img { width: 102px; height: auto; }
.footer-cta, .legal { grid-column: 1 / -1; }
.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 48px;
  border-bottom: 1px solid #e6e5d333;
}
.footer-cta p { margin: 0 0 14px; text-transform: uppercase; font-size: 13px; }
.footer-cta h2 { margin: 0; font: 500 clamp(30px, calc(var(--layout-width) * 0.04), 44px)/1.1 "Clash Display", sans-serif; letter-spacing: -.02em; }
.footer-all, .legal { font-size: 13px; }
.legal {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid #e6e5d333;
  padding-top: 24px;
}
.legal a { margin: 0; }

@media (max-width: 900px) {
  .service-grid { grid-template-columns: 1fr; }
  .study { align-items: flex-start; flex-direction: column; }
  .coverage, .rental-section { min-height: auto; }
}
@media (max-width: 1100px) {
  .site-header { grid-template-columns: minmax(0, 1fr); top: 20px; }
  .site-header > .rental { display: none; }
  .nav-toggle {
    display: block;
    border: 1px solid currentColor;
    border-radius: 4px;
    padding: 8px 12px;
    color: inherit;
    background: transparent;
    font: 600 16px "Clash Display", sans-serif;
  }
  .nav-card { align-items: center; padding: 8px 12px; gap: 8px; background: var(--paper); border-radius: 8px; }
  .nav-card img { width: 50px; height: auto; }
  .nav-card nav {
    position: absolute;
    inset: calc(100% + 8px) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    background: var(--paper);
    border-radius: 8px;
    max-height: 75dvh;
    overflow: auto;
  }
  .nav-toggle[aria-expanded="true"] + nav { display: flex; }
  .rental { padding-inline: 10px; font-size: 1rem; }
  .rental .cta-arrow { display: none; }
  .mega-menu { position: static; grid-template-columns: 1fr; min-height: 0; box-shadow: none; }
  .mega-menu .more { opacity: 1; }
  .mega-menu img { width: 80px; height: 75px; }
}
@media (max-width: 700px) {
  .hero {
    min-height: 80svh;
    align-items: start;
  }
  .hero h1 { font-size: 30px; }
  .split, .service-grid, .site-footer { grid-template-columns: 1fr; }
}

.services-menu:not([open]) .mega-menu { display: none; }

.cta, .mega-menu .more, a:has(.cta-arrow):not(.card-link) { overflow: clip; }

/* Shared diagonal CTA icon */
.cta-arrow {
  pointer-events: none;
  display: inline-block;
  flex: none;
  width: 12px;
  height: 12px;
  overflow: visible;
  vertical-align: baseline;
}
.rental .cta-arrow { width: 16px; height: 16px; }
.cta-arrow::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: currentColor;
  mask: url(media/quote-arrow.svg) center / contain no-repeat;
}
@media (prefers-reduced-motion: no-preference) {
  a:is(:hover, :focus-visible) [data-arrow-travel] .cta-arrow::before,
  a[data-arrow-travel]:is(:hover, :focus-visible) .cta-arrow::before {
    animation: cta-arrow-loop var(--motion-arrow-duration) var(--motion-ease-in-out);
  }
}
@keyframes cta-arrow-loop {
  0%, 100% { transform: translate(0, 0); }
  48% { transform: translateY(var(--arrow-exit)); animation-timing-function: step-end; }
  50% { transform: translateY(var(--arrow-entry)); }
}

/* Shared outline CTA and color variants */
.cta {
  --cta-color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, calc(var(--layout-width) * 0.02), 24px);
  max-width: 100%;
  padding: clamp(20px, calc(var(--layout-width) * 0.03), 36px);
  border: var(--control-stroke) solid var(--cta-color);
  border-radius: var(--radius-control);
  color: var(--cta-color);
  font: 600 var(--text-action)/1.1 var(--font-display);
  letter-spacing: var(--tracking-action);
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color var(--motion-control-duration) var(--motion-ease-in-out), color var(--motion-control-duration) var(--motion-ease-in-out);
}
.cta--yellow { --cta-color: var(--color-action-highlight); }
.cta--red { --cta-color: var(--color-action-contact); }
.card-link:is(:hover, :focus-visible) .cta,
a.cta:is(:hover, :focus-visible) { background: var(--cta-color); color: var(--ink); }
.site-footer .cta { display: inline-flex; margin: 0; text-decoration: none; }


.cta--pink { --cta-color: var(--color-action-study); }
.cta--dark { --cta-color: var(--color-text-inverse); }

.card-link { color: inherit; text-decoration: none; }
.service-grid .card-link {
  display: flex;
  flex: 1;
  min-width: 0;
  min-height: 360px;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
}
.service-grid .card-link:focus-visible { outline-offset: -5px; }

/* Clip the moving arrow to the visual button inside a full-card link. */
.card-link .cta { clip-path: inset(0 round 4px); }

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    .hero::before {
      transform-origin: center 65%;
      animation: pyramid-parallax linear both;
      animation-timeline: scroll(root block);
      animation-range: 0px 80svh;
    }
  }
}
@keyframes pyramid-parallax {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(4%) scale(1.14); }
}

/* Keep markers in the same coordinate space as the original masked SVG. */
.coverage-map { position: relative; width: 100%; margin: 0; }
.coverage-map-image { width: 100%; height: auto; }
.map-marker {
  position: absolute;
  left: var(--map-x);
  top: var(--map-y);
  transform: translateX(-50%);
  translate: 0 calc(-5px - clamp(22px, 2.8vw, 40px) * .35);
  display: grid;
  justify-items: center;
  gap: 5px;
  padding: 5px;
  color: var(--paper);
  font: 500 clamp(12px, 1.15vw, 16px)/1 "Clash Display", sans-serif;
  letter-spacing: .1em;
  text-decoration: none;
}
.map-marker--rennes { --map-x: 40.4%; --map-y: 40.9%; }
.map-marker--vannes { --map-x: 25.5%; --map-y: 48.9%; color: #ffed00; }
.map-marker img { width: clamp(22px, 2.8vw, 40px); height: auto; }
.map-marker:is(:hover, :focus-visible) img { filter: drop-shadow(0 0 7px currentColor); }
@media (prefers-reduced-motion: no-preference) {
  .map-marker img { transition: transform .25s ease-in-out; }
  .map-marker:is(:hover, :focus-visible) img { transform: translateY(-4px) scale(1.12); }
}

.map-zones {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mask-image: url(media/map-land-mask.png), linear-gradient(#000 60%, transparent 100%);
  mask-size: 100% 100%;
  mask-composite: intersect;
}
.map-zone { fill-opacity: .15; }
.map-zone-outline { stroke-width: 1.5; stroke-dasharray: 0 4; stroke-linecap: round; stroke-opacity: .65; }
@media (prefers-reduced-motion: no-preference) {
  .map-zone-outline {
    animation: map-dots-flow 2.4s linear infinite, map-zone-glimmer 2.8s ease-in-out infinite alternate;
  }
  .map-zone--vannes { animation-delay: 0s, -1.4s; }
}
@keyframes map-dots-flow { to { stroke-dashoffset: -12; } }
@keyframes map-zone-glimmer { from { stroke-opacity: .4; } to { stroke-opacity: 1; } }
.coverage-map:has(.map-marker--rennes:is(:hover, :focus-visible)) .map-zone--rennes,
.coverage-map:has(.map-marker--vannes:is(:hover, :focus-visible)) .map-zone--vannes {
  animation: none;
  stroke-opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .cta { transition: none; }
}

/* Keep the panel visible through the exit transition of native details. */
@media (min-width: 701px) and (prefers-reduced-motion: no-preference) {
  @supports selector(details::details-content) {
    .services-menu::details-content {
      transition: content-visibility 160ms allow-discrete;
    }
    .services-menu:not([open]) .mega-menu { display: grid; }
    .services-menu .mega-menu {
      opacity: 0;
      pointer-events: none;
      transition: opacity 160ms ease-in;
    }
    .services-menu[open] .mega-menu {
      opacity: 1;
      pointer-events: auto;
      transition-duration: 220ms;
      transition-timing-function: cubic-bezier(.16, 1, .3, 1);
    }
  }
}
@media (prefers-reduced-motion: no-preference) {
  .mega-menu a > img, .mega-menu .more {
    transition: transform 200ms cubic-bezier(.2, 0, 0, 1), opacity 160ms ease-in-out;
  }
  .mega-menu a:is(:hover, :focus-visible) > img { transform: translateY(-5px); }
  .mega-menu .more { transform: translateY(4px); }
  .mega-menu a:is(:hover, :focus-visible) .more { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .mega-menu a { transition: none; }
}

.section-ticker { mask-image: var(--band-edge-mask); overflow-x: clip; margin-block: 64px 24px; padding-block: 64px; }
.section-ticker > div {
  transform: rotate(-2deg) scale(1.04);
  background: var(--ticker-accent, var(--color-action-study));
  border-top: var(--band-rim-width) solid var(--ticker-edge-top, #ffd0ea);
  border-bottom: var(--band-rim-width) solid var(--ticker-edge-bottom, #9b356f);
  color: var(--ink);
  box-shadow: 0 8px 12px #0004;
}
.section-ticker-track { display: flex; width: max-content; }
.section-ticker-group { display: flex; flex: none; min-width: 100vw; justify-content: space-around; }
.section-ticker span { padding: 20px 28px; white-space: nowrap; font: 600 clamp(20px, 3vw, 40px)/1 var(--font-display); }
@media (prefers-reduced-motion: no-preference) {
  .section-ticker-track { animation: section-ticker-loop 31.43s linear infinite; }
}
@keyframes section-ticker-loop { to { transform: translateX(-50%); } }

.services-index-link {
  color: inherit;
  text-decoration: none;
}
@media (min-width: 1101px) {
  .nav-card .services-menu :is(summary, .services-trigger) { padding-inline: 0; }
  .services-index-link {
    display: flex;
    align-items: center;
    align-self: stretch;
    padding-inline: var(--nav-link-inset);
  }
}

.configurator-page { padding-top: 116px; overflow-x: clip; }
.configurator-page h1 { font: 500 clamp(28px, 4vw, 52px)/1.05 var(--font-display); }
.configurator-page .rental-section > div:first-child > img { width: 123px; margin-bottom: 24px; }

.nav-card nav > a[aria-current="page"] { color: var(--red); }

/* Mobile navigation keeps the three core trades immediately visible. */
.nav-card nav > a.mobile-rental, .services-expander,
.mobile-services-index, .mobile-family-arrow { display: none; }
@media (max-width: 1100px) {
  .nav-toggle { min-height: 44px; border-width: var(--control-stroke); border-radius: var(--radius-control); font: 600 14px/1 var(--font-display); letter-spacing: var(--tracking-action); text-transform: uppercase; }
  .nav-card nav { gap: 8px; padding: 16px; max-height: calc(100dvh - 116px); overscroll-behavior: contain; }
  .nav-toggle[aria-expanded="true"] + nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-menu { grid-column: 1 / -1; }
  .services-menu > :is(summary, .services-trigger) { display: none; }
  .mobile-services-index { display: flex; align-items: center; min-height: 44px; padding: 0 4px 8px; font: 500 23px/1.1 var(--font-display); letter-spacing: .04em; text-decoration: none; }
  .mega-menu { gap: 8px; margin: 0 0 8px; padding: 0; background: transparent; }
  .mega-menu::before { display: none; }
  .mega-menu a { min-height: 72px; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-radius: var(--radius-control); overflow: hidden; }
  .mega-menu :is(img, p, .more) { display: none; }
  .mega-menu strong { font: 500 20px/1.1 var(--font-display); letter-spacing: .04em; text-transform: none; }
  .mobile-family-arrow { display: block; flex: 0 0 auto; }
  .mega-menu strong { flex: 1; }
  .nav-card nav > a { display: flex; align-items: center; min-height: 56px; padding: 10px 4px; border-radius: var(--radius-control); font: 500 20px/1.2 var(--font-display); letter-spacing: .02em; text-transform: none; }
  .nav-card nav > a:is(.mobile-contact, .mobile-rental) { display: flex; grid-column: 1 / -1; justify-content: space-between; gap: 16px; min-height: 72px; margin-top: 8px; padding: 12px; font: 500 20px/1.1 var(--font-display); letter-spacing: .02em; text-transform: uppercase; overflow: hidden; }
}
@media (max-width: 1100px) and (prefers-reduced-motion: no-preference) {
  .nav-toggle[aria-expanded="true"] + nav { animation: mobile-nav-appear 180ms var(--motion-ease-in-out); }
}
@keyframes mobile-nav-appear { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

.legal-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
