/* base.css - reset, typo de base */
*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;padding:0;max-width:100vw;overflow-x:hidden}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--header-h-mobile) + 12px)}
@media (min-width:768px){html{scroll-padding-top:calc(var(--header-h) + 12px)}}

body{
  font-family:var(--ff-body);
  font-size:16px;
  line-height:1.6;
  color:var(--text);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
}

/* Reset universal */
figure,blockquote,dl,dd,h1,h2,h3,h4,h5,h6,p{margin:0}
ul,ol{margin:0;padding:0;list-style:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;padding:0}
a{color:inherit;text-decoration:none}
img,video,iframe{max-width:100%;display:block}
svg{display:block}

/* [hidden] doit ecraser display:flex/grid (piege prod #8) */
[hidden]{display:none !important}

/* Typo */
h1,h2,h3,h4{
  font-family:var(--ff-display);
  font-weight:500;
  line-height:1.15;
  color:var(--text);
  letter-spacing:-0.005em;
}
h1{font-size:clamp(2.1rem,5.5vw,3.6rem);line-height:1.06}
h2{font-size:clamp(1.7rem,3.6vw,2.6rem);line-height:1.12}
h3{font-size:clamp(1.2rem,2.4vw,1.55rem)}
h4{font-size:clamp(1rem,1.8vw,1.2rem)}
p{color:var(--text);line-height:1.65}
em{font-style:italic}
.muted{color:var(--text-2)}
small,.small{font-size:.85rem;color:var(--text-2)}

/* Micro-details signature */
::selection{background:var(--accent);color:#fff}
::-webkit-scrollbar{width:8px;height:8px}
::-webkit-scrollbar-track{background:var(--bg-alt)}
::-webkit-scrollbar-thumb{background:var(--accent);border-radius:8px}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:3px}
::placeholder{color:var(--text-mute);opacity:.85}

/* Container */
.container{
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:0 20px;
}
@media (min-width:768px){.container{padding:0 32px}}

/* Section padding mobile-first */
section{padding:48px 0}
@media (min-width:768px){section{padding:80px 0}}

/* Eyebrow signature */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:var(--ff-ui);
  font-size:.75rem;
  font-weight:500;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--accent-deep);
}
.eyebrow::before{
  content:"";
  width:24px;
  height:1px;
  background:var(--accent);
}
