/* Oyop Multiservices et Transports — refonte UX/UI */
:root {
  --yellow: #e1c735;
  --yellow-light: #f7efb9;
  --black: #11120f;
  --ink: #242620;
  --muted: #666960;
  --white: #fff;
  --grey: #f6f6f2;
  --line: #e4e5dc;
  --display: "Barlow Condensed", "Arial Narrow", "Liberation Sans Narrow", "Roboto Condensed", Arial, sans-serif;
  --text: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gutter: clamp(1.2rem, 5vw, 4.5rem);
  --band-pad: clamp(4rem, 8vw, 7rem);
  --radius: 1.15rem;
  --shadow: 0 20px 60px rgba(17,18,15,.12);
}
*,*::before,*::after { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:6.5rem; }
body { margin:0; background:var(--white); color:var(--ink); font-family:var(--text); font-size:1.0625rem; line-height:1.65; -webkit-font-smoothing:antialiased; }
img,svg { display:block; max-width:100%; height:auto; }
h1,h2,h3,p,ul,dl,dd { margin:0; }
ul { padding:0; list-style:none; }
a { color:inherit; }
a:focus-visible,button:focus-visible { outline:3px solid #2463eb; outline-offset:4px; }
.skip-link { position:absolute; left:1rem; top:-5rem; z-index:100; background:var(--black); color:#fff; padding:.75rem 1rem; border-radius:.5rem; }
.skip-link:focus { top:1rem; }
.wrap { width:100%; max-width:1240px; margin-inline:auto; padding-inline:var(--gutter); }
/* Header */
.top { position:sticky; top:0; z-index:20; background:rgba(225,199,53,.96); color:var(--black); border-bottom:1px solid rgba(17,18,15,.1); backdrop-filter:blur(12px); }
.top__inner { display:flex; align-items:center; justify-content:space-between; gap:1.5rem; min-height:82px; padding-block:.75rem; }
.top__brand { display:flex; align-items:center; gap:.75rem; text-decoration:none; min-width:0; }
.top__brand img { width:54px; height:44px; object-fit:contain; }
.top__brand span { font-family:var(--display); font-size:1.4rem; line-height:1.05; font-weight:800; }
.top__brand small { display:block; margin-top:.2rem; font-family:var(--text); font-size:.68rem; font-weight:600; letter-spacing:.025em; }
.top__nav { display:flex; align-items:center; flex-wrap:wrap; gap:clamp(.8rem,2.4vw,2rem); }
.top__nav a { position:relative; padding:.5rem 0; font-size:.94rem; font-weight:700; text-decoration:none; }
.top__nav a::after { content:""; position:absolute; left:0; right:100%; bottom:.15rem; height:2px; background:var(--black); transition:right .2s ease; }
.top__nav a:hover::after { right:0; }
/* Hero */
.hero { position:relative; overflow:hidden; background:var(--yellow); color:var(--black); padding-block:clamp(4rem,8vw,7.5rem); }
.hero::after { content:""; position:absolute; width:32rem; height:32rem; border:1px solid rgba(17,18,15,.12); border-radius:50%; right:-12rem; bottom:-22rem; box-shadow:0 0 0 3rem rgba(17,18,15,.025),0 0 0 6rem rgba(17,18,15,.025); pointer-events:none; }
.hero__grid { position:relative; z-index:1; display:grid; grid-template-columns:minmax(0,1.12fr) minmax(280px,.88fr); gap:clamp(2.5rem,6vw,6rem); align-items:center; }
.eyebrow { margin-bottom:1rem; font-size:.78rem; line-height:1.3; font-weight:800; letter-spacing:.14em; text-transform:uppercase; }
.eyebrow--muted { color:var(--muted); }
.eyebrow--yellow { color:var(--yellow); }
.hero__title { max-width:13ch; font-family:var(--display); font-weight:800; font-size:clamp(3.3rem,6.4vw,6.2rem); line-height:.94; letter-spacing:-.025em; text-wrap:balance; }
.hero__lead { margin-top:1.6rem; max-width:37rem; font-size:clamp(1.05rem,1.5vw,1.22rem); line-height:1.7; }
.hero__actions { display:flex; flex-wrap:wrap; gap:.8rem; margin-top:2rem; }
.hero__visual { position:relative; display:grid; place-items:center; min-height:340px; }
.hero__logo { width:100%; max-width:430px; max-height:350px; object-fit:contain; filter:drop-shadow(0 20px 22px rgba(0,0,0,.08)); }
.hero__stamp { position:absolute; right:0; bottom:1rem; display:flex; align-items:center; gap:.65rem; max-width:250px; padding:.85rem 1rem; background:var(--white); border:1px solid rgba(17,18,15,.08); border-radius:.75rem; box-shadow:var(--shadow); font-size:.83rem; line-height:1.35; font-weight:700; }
.hero__stamp-dot { width:.65rem; height:.65rem; flex:none; border-radius:50%; background:#38845b; box-shadow:0 0 0 5px #e1f1e7; }
/* Road divider */
.road { position:relative; height:1.5rem; background:var(--black); }
.road::after { content:""; position:absolute; inset:50% 0 auto; height:3px; transform:translateY(-50%); background:repeating-linear-gradient(90deg,var(--yellow) 0 30px,transparent 30px 58px); animation:lane 2.2s ease-out .2s both; }
@keyframes lane { from { background-position-x:900px; } to { background-position-x:0; } }
/* Sections */
.band { padding-block:var(--band-pad); }
.band--light { background:var(--white); color:var(--ink); }
.band--black { background:var(--black); color:var(--white); }
.band--yellow { background:var(--yellow); color:var(--black); }
.band__title { max-width:22ch; font-family:var(--display); font-weight:800; font-size:clamp(2.5rem,4.7vw,4rem); line-height:1; letter-spacing:-.015em; text-wrap:balance; }
.band__title--white { color:var(--white); }
/* Activities */
.duties { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; margin-top:clamp(2rem,4vw,3.5rem); }
.duty { min-height:220px; padding:1.7rem; background:var(--grey); border:1px solid var(--line); border-radius:var(--radius); transition:transform .2s ease,box-shadow .2s ease; }
.duty:hover { transform:translateY(-4px); box-shadow:var(--shadow); }
.duty__name { display:block; margin-bottom:1rem; font-family:var(--display); font-size:clamp(1.8rem,3vw,2.5rem); line-height:1; font-weight:800; }
.duty__text { color:#55584f; font-size:1rem; }
/* Apps */
.section-intro { margin-bottom:clamp(2.5rem,5vw,4.5rem); }
.section-intro .band__title { margin-bottom:1rem; }
.section-intro > p:last-child { max-width:42rem; color:#c7c8c0; }
.app { display:grid; grid-template-columns:minmax(0,1.12fr) minmax(260px,.88fr); gap:clamp(2rem,6vw,5rem); align-items:center; }
.app__body { min-width:0; }
.app__name { font-family:var(--display); font-weight:800; font-size:clamp(3.8rem,8vw,7rem); line-height:.9; letter-spacing:-.025em; }
.band--black .app__name { color:var(--yellow); }
.app__tagline { margin-top:1.2rem; max-width:25ch; font-family:var(--display); font-weight:700; font-size:clamp(1.65rem,3vw,2.4rem); line-height:1.08; text-wrap:balance; }
.app__lead { margin-top:1.25rem; max-width:40rem; }
.app__note { margin-top:1.6rem; margin-bottom:1.6rem; max-width:40rem; font-size:.98rem; opacity:.88; }
.app__note--dark { margin-top:2rem; margin-bottom:1.5rem; opacity:1; font-weight:700; }
.app__map { width:100%; max-width:420px; justify-self:center; padding:1rem; }
.app__lead + .btn { margin-top:1.75rem; }
.ticks { display:grid; gap:.7rem; margin-top:1.7rem; max-width:42rem; }
.ticks li { position:relative; padding-left:2rem; }
.ticks li::before { content:"✓"; position:absolute; left:0; top:.16em; display:grid; place-items:center; width:1.25rem; height:1.25rem; border-radius:50%; background:var(--yellow); color:var(--black); font-size:.75rem; font-weight:900; line-height:1; }
.ticks--dark li::before { background:var(--black); color:var(--yellow); }
/* DeNoTa roles */
.roles { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; margin-top:clamp(2rem,5vw,3.5rem); }
.role { padding:1.6rem; background:rgba(255,255,255,.34); border:1px solid rgba(17,18,15,.16); border-radius:var(--radius); }
.role__name { font-family:var(--display); font-size:2rem; line-height:1; font-weight:800; }
.role .ticks { margin-top:1.2rem; font-size:.98rem; }
.band--medicarte .app { padding-block:.5rem; }
/* Contact */
.contact { padding-bottom:calc(var(--band-pad) * .9); background-image:radial-gradient(circle at 85% 20%,rgba(225,199,53,.11),transparent 25rem); }
.contact__inner { max-width:1240px; }
.contact__inner .app__lead { max-width:36rem; color:#d1d2ca; }
.contact__inner .btn { margin-top:1.8rem; }
.contact__email { margin-top:1rem; color:#bfc0b7; font-size:.95rem; }
/* Buttons */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:.7rem; min-height:50px; padding:.9rem 1.3rem; border:2px solid transparent; border-radius:.65rem; font-family:var(--text); font-size:1rem; font-weight:800; line-height:1.2; text-decoration:none; transition:transform .18s ease,background-color .18s ease,color .18s ease,border-color .18s ease; }
.btn:hover { transform:translateY(-2px); }
.btn--dark { background:var(--black); color:var(--yellow); }
.btn--dark:hover { background:#30312b; }
.btn--line { border-color:rgba(17,18,15,.55); color:var(--black); }
.btn--line:hover { background:var(--black); color:var(--yellow); border-color:var(--black); }
.btn--yellow { background:var(--yellow); color:var(--black); }
.btn--yellow:hover { background:var(--white); }
/* Footer */
.foot { background:#090a08; color:#e7e8e1; border-top:1px solid #30312b; font-size:.9rem; }
.foot__inner { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:.8rem 2rem; padding-block:1.5rem; }
.foot__links { display:flex; flex-wrap:wrap; gap:1.3rem; }
.foot__links a { color:#e7e8e1; text-decoration:none; }
.foot__links a:hover { color:var(--yellow); text-decoration:underline; text-underline-offset:4px; }
/* Responsive */
@media (max-width:900px) {
  .hero__grid,.app { grid-template-columns:minmax(0,1fr); }
  .hero__grid { gap:2.5rem; }
  .hero__title { max-width:15ch; }
  .hero__visual { min-height:260px; justify-items:start; }
  .hero__logo { max-width:340px; }
  .hero__stamp { right:auto; left:170px; bottom:0; }
  .app__map { justify-self:start; max-width:320px; }
  .duties { grid-template-columns:1fr; }
  .duty { min-height:0; }
  .roles { grid-template-columns:1fr; }
  .role { padding:1.4rem; }
}
@media (max-width:600px) {
  :root { --band-pad:3.75rem; }
  body { font-size:1rem; }
  .top__inner { align-items:flex-start; flex-direction:column; gap:.5rem; padding-block:.75rem; }
  .top__brand img { width:44px; height:36px; }
  .top__brand span { font-size:1.2rem; }
  .top__nav { width:100%; gap:1.15rem; }
  .top__nav a { font-size:.9rem; }
  .hero { padding-block:3.5rem 3rem; }
  .hero__title { font-size:clamp(3rem,14vw,4.6rem); }
  .hero__lead { margin-top:1.2rem; }
  .hero__actions { display:grid; grid-template-columns:1fr; }
  .hero__actions .btn { width:100%; }
  .hero__visual { min-height:210px; }
  .hero__logo { max-width:270px; }
  .hero__stamp { position:relative; left:auto; bottom:auto; margin:-.5rem 0 0 3rem; max-width:230px; }
  .band__title { font-size:clamp(2.3rem,10vw,3.3rem); }
  .app__name { font-size:clamp(3.5rem,17vw,5rem); }
  .app__map { max-width:260px; }
  .duty { padding:1.35rem; }
  .roles { gap:.8rem; }
  .role .ticks { font-size:.95rem; }
  .foot__inner { align-items:flex-start; flex-direction:column; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; scroll-behavior:auto!important; }
}
