/* CV Studio — Portfolio public : styles et responsive */

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font: 16px/1.65 Arial,sans-serif;
  color: #233142;
  background: #ffffff;
}
a {
  color: #315b81;
  text-underline-offset: 4px;
}
nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #ffffff;
  border-bottom: 1px solid #8798aa40;
  padding: 14px max(5vw,16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
nav a {
  text-decoration: none;
  font-size: 14px;
}
nav div {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
main,footer {
  max-width: 1120px;
  margin: auto;
  padding: 0 24px;
}
.hero {
  position: relative;
  overflow: hidden;
  background: #e3eaf0;
  color: #233142;
  padding: clamp(40px,8vw,110px) max(5vw,24px);
}
.hero a {
  color: inherit;
}
.hero-inner {
  position: relative;
  max-width: 1072px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 40px;
  align-items: center;
}
.hero img {
  width: 100%;
  border-radius: 50%;
  aspect-ratio: 1;
  object-fit: cover;
}
.hero h1 {
  font-size: clamp(36px,6vw,76px);
  line-height: 1.05;
  margin: 12px 0;
}
.hero h2 {
  font-size: clamp(20px,3vw,30px);
  margin: 0;
  font-weight: 400;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: bold;
}
.ornament {
  position: absolute;
  width: 460px;
  height: 460px;
  border: 1px solid currentColor;
  opacity: .13;
  border-radius: 50%;
  right: -120px;
  top: -180px;
  pointer-events: none;
}
.hero .cta {
  display: inline-block;
  margin-top: 22px;
  padding: 11px 18px;
  border: 1px solid currentColor;
  border-radius: 6px;
  text-decoration: none;
}
section {
  padding: 52px 0;
  border-bottom: 1px solid #8798aa40;
  scroll-margin-top: 100px;
}
section h2 {
  font-size: 30px;
  line-height: 1.2;
  margin: 0 0 24px;
}
p {
  white-space: pre-wrap;
  margin: 0 0 12px;
}
.timeline {
  border-left: 2px solid #315b81;
  padding-left: 26px;
  margin-left: 8px;
}
.entry {
  position: relative;
  padding: 0 0 24px;
}
.timeline .entry:before {
  content: '';
  position: absolute;
  left: -33px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #315b81;
}
h3 {
  font-size: 19px;
  margin: 0 0 8px;
  color: #315b81;
}
.grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 24px;
}
.grid .entry {
  padding: 24px;
  border: 1px solid #8798aa50;
  border-radius: 12px;
}
.asset33 {
  max-width: 100%;
  height: auto;
}
.levelrow33 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0;
}
.meter33 {
  display: flex;
  gap: 8px;
}
.meter33 i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: block;
}
.meter33.bar33 {
  width: 110px;
  height: 9px;
  background: #b8c2cb;
  border-radius: 8px;
  overflow: hidden;
}
.meter33.bar33 i {
  height: 9px;
  border-radius: 8px;
}
.animate .meter33 i {
  animation: dot .55s both;
  animation-delay: calc(var(--i)*90ms);
}
@keyframes dot {
  from {
    opacity: 0;
    transform: scale(.35);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
footer {
  padding: 32px 24px 54px;
}
@media(max-width:650px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero img {
    width: 130px;
    grid-row: 1;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  nav div {
    gap: 10px;
  }
  .levelrow33 {
    flex-wrap: wrap;
  }
  section {
    padding: 36px 0;
  }
}
@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior: auto!important;
    animation: none!important;
    transform: none!important;
  }
}
.local-edit {
  display: block;
  width: max-content;
  margin: 12px auto 0;
  font-size: 11px;
  text-decoration: none;
  opacity: .65;
}
.local-edit:hover,.local-edit:focus {
  opacity: 1;
  text-decoration: underline;
}
.cv-pdf-download {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  margin: 8px 0 0 10px;
  padding: 12px 20px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  font-weight: 600;
  text-decoration: none;
  vertical-align: middle;
}
.cv-pdf-download:hover {
  opacity: .8;
}
@media(max-width:600px) {
  .cv-pdf-download {
    margin-left: 0;
    margin-right: 10px;
  }
}
/* Actions du hero : même hauteur, graisse et ligne de base */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
}
.hero .hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45em;
  min-height: 48px;
  margin: 0;
  padding: 11px 18px;
  border: 1px solid currentColor;
  border-radius: 7px;
  font: 600 16px/1.4 Arial,sans-serif;
  text-decoration: none;
  vertical-align: middle;
  text-align: center;
  transition: background .2s,color .2s;
}
.hero .hero-actions a:hover {
  background: #8798aa25;
  opacity: 1;
}
.hero .hero-actions a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
@media(max-width:500px) {
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .hero .hero-actions a {
    width: 100%;
  }
}
.admin-local {
  font-size: 12px;
  opacity: .65;
  margin-left: 1em;
  color: inherit;
}
.admin-local:hover,.admin-local:focus {
  opacity: 1;
}
