/* ===== Palette Avril : bleu ciel, bleu nuit et rouge ===== */
:root {
  --bg: #d1e8f6;
  --surface: #ffffff;
  --surface-2: #f3f8fc;
  --line: #b6cede;
  --text: #17182f;
  --muted: #41465a;
  --accent: #c8102e;
  --accent-hover: #a50d24;
  --accent-ink: #ffffff;
  --radius: 12px;
  --nav-h: 64px;
  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ===== Base ===== */
html { scroll-padding-top: calc(var(--nav-h) + 8px); }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  padding-top: var(--nav-h); /* la navbar est fixe */
}
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.text-accent { color: var(--accent); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 2000;
  background: var(--accent); color: var(--accent-ink);
  padding: .5rem 1rem; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: .75rem; color: var(--accent-ink); }

/* ===== Navigation ===== */
.site-nav { background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); min-height: var(--nav-h); }
.site-nav .navbar-brand { color: var(--text); font-weight: 700; }
.site-nav .navbar-brand span { color: var(--accent); }
.site-nav .nav-link { color: var(--muted); font-weight: 500; }
.site-nav .nav-link:hover,
.site-nav .nav-link.active { color: var(--accent); }
.site-nav .nav-link.active { text-decoration: underline; text-underline-offset: 6px; }
.site-nav .navbar-toggler { border-color: var(--line); }

/* ===== Sections ===== */
.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; margin-bottom: .5rem; text-align: center; }
.section-lead { color: var(--muted); max-width: 60ch; margin: 0 auto 2.5rem; text-align: center; }
.section-title + .cert-grid,
.section-title + .timeline,
.section-title + .card-grid { margin-top: 2rem; }

/* ===== Boutons ===== */
.btn-cta, .btn-outline-cta {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; padding: .7rem 1.4rem; border-radius: 10px; border: 1px solid var(--accent);
}
.btn-cta { background: var(--accent); color: var(--accent-ink); }
.btn-cta:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-ink); }
.btn-outline-cta { background: transparent; color: var(--accent); }
.btn-outline-cta:hover { background: var(--accent); color: var(--accent-ink); }

/* ===== À propos ===== */
.about p { color: var(--muted); max-width: 62ch; }
.about { text-align: center; }
.about .role { color: var(--text); font-size: 1.15rem; font-weight: 500; }
.about .btn-cta { margin-top: 1rem; }

.photo {
  position: relative; overflow: hidden; border-radius: 50%;
  width: clamp(200px, 60vw, 280px); aspect-ratio: 1; margin-inline: auto;
  padding: 5px; background: var(--surface);
}
.photo::before { /* anneau lumineux, seul mouvement automatique de la page */
  content: ""; position: absolute; inset: -50%;
  background: conic-gradient(transparent 0 70%, var(--accent));
  animation: spin 8s linear infinite;
}
.photo img { position: relative; display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Compétences : cartes bleu nuit et rouge de dimensions homogènes ===== */
#competences { background: #f1f3f5; }
.skills-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.card-skill,
.cert {
  --surface-2: #232440;
  --line: #393b60;
  --text: #f4f7fa;
  --muted: #d6d7e5;
  --accent: #ff5368;
  --accent-hover: #ff99a6;
  background: #17182f;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.card-skill {
  --surface-2: #a50d24;
  --line: rgba(255, 255, 255, .3);
  --accent: #fff;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  background: #c8102e;
}
.card-skill__media {
  position: relative;
}
.card-skill__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--surface-2);
}
.card-skill__icon {
  position: absolute;
  bottom: 0;
  left: 50%;
  display: grid;
  place-items: center;
  width: 4.5rem;
  aspect-ratio: 1;
  transform: translate(-50%, 50%);
  border: 5px solid #fff;
  border-radius: 50%;
  background: #17182f;
  color: #fff;
  font-size: 1.4rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
}
.card-skill__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: .5rem;
  padding: 3rem 1.25rem 1.25rem;
  text-align: justify;
}
.card-head { display: flex; align-items: center; justify-content: center; }
.card-head h3 { font-size: clamp(1.1rem, 1.5vw, 1.35rem); font-weight: 700; margin: 0; text-align: center; }
.card-skill p { color: var(--muted); margin: 0; font-size: .95rem; line-height: 1.4; }
.card-skill .proof { margin-top: .25rem; padding-top: 0; font-size: .85rem; }

.skill-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: fit-content;
  min-width: 10rem;
  margin: .25rem auto 0;
  padding: .55rem 1rem;
  border-radius: 999px;
  background: #fff;
  color: #c8102e;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}
.skill-more:hover {
  color: #a50d24;
  transform: translateY(-1px);
}
.skill-more span { transition: transform .2s ease; }
.skill-more:hover span { transform: translateX(3px); }

/* ===== Page dédiée aux détails des compétences ===== */
.skill-detail-navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1030;
}
.skill-detail-container {
  width: min(100% - 2rem, 960px);
  margin-inline: auto;
}
.skill-detail-navbar__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-h);
  gap: 1rem;
}
.skill-detail-return {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}
.skill-detail-return:hover { color: var(--accent); }
.skill-detail-page {
  min-height: calc(100vh - var(--nav-h));
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}
.skill-detail-eyebrow {
  margin: 0 0 .5rem;
  color: var(--accent);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.skill-detail-card {
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid #a50d24;
  border-radius: var(--radius);
  background: #c8102e;
  color: #fff;
}
.skill-detail-card h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.2;
}
.skill-detail-intro,
.skill-detail-proof { color: #f4f7fa; }
.skill-detail-intro { max-width: 70ch; margin: 1rem 0 0; }
.skill-detail-proof { margin: .5rem 0 0; font-size: .9rem; }
.skill-detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 2rem;
  margin: 2rem 0 0;
}
.skill-detail-list > div {
  padding-top: .75rem;
  border-top: 1px solid rgba(255, 255, 255, .35);
}
.skill-detail-list dt { margin-bottom: .25rem; font-weight: 700; }
.skill-detail-list dd { margin: 0; color: #f4f7fa; line-height: 1.5; }
.skill-detail-error { margin: 1rem 0 0; color: var(--muted); }
.skill-detail-card .skill-detail-error { color: #fff; }

@media (max-width: 600px) {
  .skill-detail-navbar__content { gap: .5rem; }
  .skill-detail-return { font-size: .85rem; text-align: right; }
  .skill-detail-list { grid-template-columns: 1fr; }
}

/* ===== Carrousel de la section d'accueil ===== */
.hero-carousel {
  display: grid;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 0;
}
.hero-slide {
  grid-area: 1 / 1;
  min-width: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease, visibility .45s ease;
}
.hero-slide.is-active {
  z-index: 1;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.hero-slide--intro {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 5rem) 0;
  background-image: url("images/alhafikoibour_web_development_workstation.webp");
  background-position: right center;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero-slide--intro::before,
.hero-slide--visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(5, 12, 24, .85);
  pointer-events: none;
}
.hero-slide--intro > .container,
.hero-slide--visual > .hero-slide__content {
  position: relative;
  z-index: 1;
}
.hero-slide--intro .about h1 {
  color: #fff;
  text-shadow: 0 2px 5px rgba(5, 12, 24, .9);
}
.hero-slide--intro .about h1 .text-accent {
  color: #ff5368;
}
.hero-slide--intro .about p {
  color: #fff;
  text-shadow: 0 2px 5px rgba(5, 12, 24, .95);
}
.hero-slide--visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(34rem, calc(100vh - var(--nav-h)), 52rem);
  min-height: clamp(34rem, calc(100svh - var(--nav-h)), 52rem);
  padding: clamp(2rem, 6vw, 5rem) 0;
  color: var(--hero-copy-color, #fff);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero-slide--security {
  --hero-copy-color: #fff;
  --hero-copy-shadow: 0 2px 6px rgba(0, 0, 0, .95);
}
.hero-slide--infrastructure {
  --hero-copy-color: #fff;
  --hero-copy-shadow: 0 2px 6px rgba(0, 0, 0, .95);
}
.hero-carousel[data-active-slide="1"] .hero-slide--security {
  background-image: url("images/Pentest.webp");
}
.hero-carousel[data-active-slide="2"] .hero-slide--infrastructure {
  background-image: url("images/alhafikoibourhub_sensibilisation_cybersecurite.webp");
}
.hero-slide__content {
  width: min(100%, 70rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  text-align: center;
}
.hero-slide__eyebrow { margin: 0 0 .25rem; font-size: clamp(1.25rem, 3vw, 2rem); text-shadow: var(--hero-copy-shadow, 0 2px 6px rgba(0, 0, 0, .85)); }
.hero-slide__title { margin: 0 0 .75rem; color: #ff5368; font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; text-shadow: var(--hero-copy-shadow, 0 2px 6px rgba(0, 0, 0, .85)); }
.hero-slide__content > p:not(.hero-slide__eyebrow) { margin: 0 auto 1.5rem; max-width: 52rem; font-size: clamp(1rem, 2vw, 1.35rem); text-shadow: var(--hero-copy-shadow, 0 2px 6px rgba(0, 0, 0, .85)); }
.hero-slide__content > .btn-cta { align-self: center; min-width: 11rem; justify-content: center; }
.hero-controls {
  position: absolute;
  z-index: 2;
  bottom: 1.5rem;
  left: 50%;
  display: flex;
  gap: .75rem;
  transform: translateX(-50%);
}
.hero-control {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}
.hero-control:hover { background: var(--accent-hover); transform: scale(1.06); }
.hero-carousel[data-active-slide="1"] .hero-controls { bottom: 16%; }
.hero-carousel[data-active-slide="2"] .hero-controls { bottom: 6%; }

@media (min-width: 768px) {
  .skills-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; }
}
@media (max-width: 991.98px) {
  .hero-slide--intro { padding-bottom: 6rem; }
}
@media (min-width: 1200px) {
  .skills-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ===== Certifications ===== */
.cert-carousel { overflow: hidden; width: 100%; }
.cert-grid {
  display: flex;
  width: max-content;
  animation: cert-marquee 48s linear infinite;
  will-change: transform;
}
.cert-grid:not(.is-ready) { animation: none; }
.cert-group {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 1.5rem;
  padding: .5rem 1.75rem 1rem .25rem;
}
.cert {
  --text: #17182f;
  --muted: #41465a;
  --accent: #c8102e;
  display: flex;
  flex: 0 0 15rem;
  flex-direction: column;
  align-items: center;
  gap: .65rem;
  min-height: 18rem;
  padding: .5rem .75rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  text-align: center;
}
.cert__badge {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: #b7def2;
  color: #c8102e;
}
.cert__image {
  width: 100%;
  height: 100%;
  padding: .35rem;
  border-radius: 50%;
  object-fit: contain;
}
.cert__badge i { font-size: 2.2rem; }
.cert__content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  width: 100%;
}
.cert h3 {
  max-width: 32ch;
  margin: 0 auto;
  color: #17182f;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.cert p { color: #41465a; margin: 0; font-size: 1rem; line-height: 1.35; }
.cert p a {
  color: #c8102e;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cert__content > p:last-child { margin-top: auto; padding-top: .5rem; }
.cert p a:hover { color: #a50d24; }
.cert-carousel:hover .cert-grid,
.cert-carousel:focus-within .cert-grid { animation-play-state: paused; }
@keyframes cert-marquee {
  to { transform: translateX(-50%); }
}
@media (max-width: 575.98px) {
  .cert-group { gap: 1rem; padding-right: 1.25rem; }
  .cert { flex-basis: 13.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .cert-grid { animation-play-state: paused; }
}

/* ===== Expériences : frise chronologique en cartes ===== */
#experiences .timeline {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0 0 0 1.5rem;
  border-left: 2px solid var(--line);
}
#experiences .timeline > li {
  position: relative;
  padding-bottom: 1.5rem;
}
#experiences .timeline > li:last-child { padding-bottom: 0; }
#experiences .timeline > li::before {
  position: absolute;
  top: 1.45rem;
  left: calc(-1.5rem - 7px);
  width: 12px;
  height: 12px;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--accent);
  content: "";
}
#experiences .experience-card {
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(23, 24, 47, .07);
}
#experiences .experience-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
#experiences .experience-card h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}
#experiences .experience-card__meta {
  margin: .2rem 0 0;
  color: var(--muted);
  font-size: .95rem;
}
#experiences .experience-card__period {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: .4rem;
  margin: 0;
  padding: .35rem .7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text);
  font-size: .85rem;
  font-weight: 600;
}
#experiences .experience-card > ul {
  display: grid;
  gap: .55rem;
  margin: 1rem 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}
#experiences .experience-card > ul li {
  position: relative;
  margin: 0;
  padding-left: 1.25rem;
}
#experiences .experience-card > ul li::before {
  position: absolute;
  top: .65em;
  left: .15rem;
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}
@media (max-width: 575.98px) {
  #experiences .experience-card { padding: 1.1rem; }
  #experiences .experience-card__header { flex-direction: column; }
}

/* ===== Projets et hobbies : grilles homogènes ===== */
.card-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
#services .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 991.98px) {
  #services .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
  #services .card-grid { grid-template-columns: 1fr; }
}

#services .service-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(23, 24, 47, .08);
}
#services .service-card__media {
  position: relative;
  isolation: isolate;
  height: 13rem;
  flex: 0 0 auto;
  background: #e8f1f8;
}
#services .service-card__media > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#services .service-card__media::after {
  position: absolute;
  z-index: 1;
  right: -10%;
  bottom: -1px;
  left: -10%;
  height: 2rem;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: var(--surface);
  content: "";
}
#services .service-card__icon {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 50%;
  display: grid;
  width: 4.25rem;
  aspect-ratio: 1;
  place-items: center;
  transform: translate(-50%, 50%);
  border: 4px solid var(--surface);
  border-radius: 50%;
  background: #071a34;
  color: #fff;
  font-size: 1.35rem;
  box-shadow: 0 6px 16px rgba(7, 26, 52, .2);
}
#services .service-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  padding: 2.8rem 1.35rem 1.5rem;
  text-align: center;
}
#services .service-card__body h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 700;
}
#services .service-card__body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
#services .service-card__body .btn {
  align-self: center;
  margin-top: auto;
}

.project, .hobby {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.project img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.project__preview { position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.project img.project__preview-screen { width: 100%; height: 100%; }
.project__preview--betatech { background: #071a34; }
.project img.project__preview-screen--contain { object-fit: contain; }
.project img.project__preview-portrait {
  position: absolute;
  top: 39.73%;
  left: 67.25%;
  width: 21.17%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
}
.project-body { display: flex; flex-direction: column; gap: .5rem; flex: 1; padding: 1.25rem; }
.project-body h3, .hobby h3 { font-size: 1.1rem; font-weight: 700; margin: 0; }
.project-body p, .hobby p { color: var(--muted); font-size: .95rem; margin: 0; }
.project-body .btn { margin-top: auto; align-self: flex-start; }

.hobby { padding: 1.5rem; text-align: center; gap: .5rem; }
.hobby .emoji { font-size: 2.5rem; line-height: 1; }

/* ===== Contact ===== */
#contact {
  --bg: #d1e8f6;
  --surface: #ffffff;
  --surface-2: #f3f8fc;
  --line: #b6cede;
  --text: #17182f;
  --muted: #41465a;
  --accent: #c8102e;
  --accent-hover: #a50d24;
  --accent-ink: #ffffff;
  background: var(--bg);
  color: var(--text);
}
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.contact-list i { color: var(--accent); width: 1.5rem; text-align: center; margin-right: .5rem; }
.form-label { color: var(--muted); font-weight: 500; }
.form-control {
  background: var(--surface); border: 1px solid var(--line); color: var(--text); border-radius: 10px;
}
.form-control:focus { background: var(--surface); color: var(--text); border-color: var(--accent); box-shadow: 0 0 0 .2rem rgba(200, 16, 46, .25); }
#contact .contact-form-panel {
  max-width: 900px;
  margin-inline: auto;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(23, 24, 47, .07);
}
#contact .contact-form-panel__intro {
  margin-bottom: 1.25rem;
  color: var(--muted);
  text-align: center;
}

/* ===== Pied de page et bouton WhatsApp ===== */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
}
.footer-logo {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 12px;
  border: 1px solid var(--line);
}
.footer-brand {
  color: var(--text);
  font-weight: 800;
}
.footer-brand span {
  color: var(--accent);
}
.footer-title {
  color: var(--text);
  font-weight: 700;
  margin-bottom: .9rem;
  font-size: 1rem;
}
.footer-links li {
  margin-bottom: .45rem;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .92rem;
}
.footer-links a:hover {
  color: var(--accent);
}
.site-footer .contact-list {
  gap: .25rem;
  font-size: .92rem;
}
.site-footer .contact-list a {
  color: var(--muted);
  text-decoration: none;
}
.site-footer .contact-list a:hover {
  color: var(--accent);
}
.footer-copyright {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .88rem;
}
.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.social-btn:hover {
  border-color: var(--accent);
  color: var(--accent-ink);
  background: var(--accent);
}

.fab-whatsapp {
  position: fixed; right: 20px; bottom: 20px; z-index: 1000;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #128c7e; color: #fff; font-size: 28px; box-shadow: 0 4px 14px rgba(0, 0, 0, .4);
}
.fab-whatsapp:hover { background: #0e6f64; color: #fff; }
/* ===== Mouvement réduit ===== */
@media (prefers-reduced-motion: reduce) {
  .photo::before { animation: none; }
  .hero-slide { transition: none; }
  .skill-more summary span { transition: none; }
  html { scroll-behavior: auto; }
}