/* ==========================================================================
   Vaibe Consulting — feuille de style unique
   Reproduction du site Wix d'origine :
   - desktop (>= 1000 px) : grille centrée de 980 px, mesures relevées sur le site Wix ;
   - mobile (< 768 px)   : maquette mobile Wix (320 px) mise à l'échelle de l'écran
     grâce à l'unité --m (1 px de la maquette mobile) ;
   - tablette (768–999 px) : adaptation fluide de la version desktop.
   ========================================================================== */

/* ---------- Polices (fichiers Google Fonts hébergés dans /assets/fonts) ---------- */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/roboto-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* Alternative libre la plus proche d'« Avenir LT 35 Light » utilisée par Wix */
@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/nunito-sans-latin-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Variables ---------- */
:root {
  --c-bg: #262626;
  --c-orange: #ff8e26;
  --c-white: #fff;
  --c-dark: #262626;
  --c-grey: #c9c9c9;
  --c-grey-2: #939393;
  --c-blue: #438afc;
  --c-mint: #76dbab;
  --c-pink: #fc5e85;
  --c-purple: #5956b0;
  --c-green: #3f7652;

  --f-body: "Montserrat", Arial, sans-serif;
  --f-head: "Roboto", Arial, sans-serif;
  --f-avenir: "Nunito Sans", Arial, sans-serif;
  --w-avenir-bold: 600;

  /* 1 px de la maquette mobile Wix (320 px de large), plafonné pour les grands mobiles */
  --m: min(calc(100vw / 320), 1.35px);
  --header-h: calc(70 * var(--m));

  --ease-fade: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-back: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-expand: cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  min-width: 320px;
  background-color: var(--c-bg);
  color: var(--c-white);
  font-family: var(--f-body);
  font-size: calc(15 * var(--m));
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Motif de fond fixe du site Wix : petites croix sur fond #262626 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: var(--c-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='70' height='70' shape-rendering='crispEdges'%3E%3Crect x='35' y='31' width='1' height='8' fill='%23516234' fill-opacity='.5'/%3E%3Crect x='31' y='34' width='9' height='2' fill='%23516234' fill-opacity='.25'/%3E%3C/svg%3E");
  background-position: center;
  background-size: 70px 70px;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
blockquote,
figure {
  margin: 0;
}

/* :where() garde une spécificité nulle : les classes des composants gardent la main */
:where(ul[class], ol[class]) {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--c-white);
  color: var(--c-dark);
  font-size: 14px;
  border-radius: 4px;
}
.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 2px solid var(--c-orange);
  outline-offset: 3px;
}

/* Les animations 3D (perspective) débordent brièvement sur les côtés : on les coupe
   pour éviter un défilement horizontal, sans créer de zone de défilement (clip). */
main {
  overflow-x: clip;
}

.container {
  width: 100%;
  padding: 0 calc(20 * var(--m));
  margin: 0 auto;
}

.hl {
  color: var(--c-orange);
}

/* ---------- Titres de section ---------- */
.eyebrow {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: calc(16 * var(--m));
  line-height: 1.2;
  letter-spacing: 0.1em;
  color: var(--c-orange);
  text-align: center;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: calc(23 * var(--m));
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--c-white);
  text-align: center;
}

/* ---------- Boutons « pilule » orange ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 0 solid var(--c-orange);
  border-radius: 100px;
  background-color: var(--c-orange);
  color: var(--c-white);
  font-family: var(--f-body);
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.4s ease, background-color 0.4s ease, color 0.4s ease;
}
.btn:hover,
.btn:focus-visible {
  background-color: var(--c-white);
  color: var(--c-dark);
}
.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.btn--header {
  width: 183px;
  height: 44px;
  padding: 0 8px;
  font-size: 18px;
  white-space: nowrap;
}

.btn--footer,
.btn--large {
  width: 327px;
  max-width: 100%;
  height: 68px;
  font-size: 14px;
  border-width: 1px;
}
.btn--footer:hover,
.btn--footer:focus-visible,
.btn--large:hover,
.btn--large:focus-visible {
  border-color: var(--c-dark);
}

/* ==========================================================================
   En-tête
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background-color: var(--c-bg);
}

.site-header__inner {
  display: flex;
  align-items: center;
  height: 100%;
}

.site-header__logo {
  display: block;
  flex: none;
}
.site-header__logo img {
  width: calc(115 * var(--m));
  height: calc(70 * var(--m));
  object-fit: cover;
}

.site-nav,
.site-header .btn--header,
.lang-switch {
  display: none;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav__link {
  font-family: var(--f-body);
  font-size: 16px;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--c-white);
  transition: color 0.3s ease;
}
.site-nav__link:hover,
.site-nav__link[aria-current="page"] {
  color: var(--c-orange);
}

/* Sélecteur de langue (drapeau + chevron) */
.lang-switch {
  position: relative;
  width: 77px;
  height: 45px;
  margin-left: 4px;
}

.lang-switch__button {
  display: flex;
  align-items: center;
  width: 77px;
  height: 45px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--c-white);
  cursor: pointer;
}
.lang-switch__button img,
.lang-switch__option img {
  width: 22px;
  height: 22px;
}
.lang-switch__chevron {
  width: 12px;
  height: 6px;
  margin-left: auto;
  margin-right: 6px;
  fill: currentColor;
  transition: transform 0.2s ease;
}
.lang-switch__button[aria-expanded="true"] .lang-switch__chevron {
  transform: rotate(180deg);
}

.lang-switch__menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 77px;
  overflow: hidden;
  border-radius: 0 0 10px 10px;
  background-color: rgba(50, 50, 50, 0.9);
}
.lang-switch__option {
  display: flex;
  align-items: center;
  height: 45px;
  padding: 0 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}
.lang-switch__option:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Accueil — bandeau « Nada Brisville »
   ========================================================================== */
.hero__inner {
  position: relative;
  padding: calc(102 * var(--m)) 0 calc(45 * var(--m));
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(87 * var(--m));
  object-fit: cover;
}

.hero__name {
  position: absolute;
  top: calc(35 * var(--m));
  left: calc(39 * var(--m));
  z-index: 1;
  font-family: var(--f-avenir);
  font-weight: var(--w-avenir-bold);
  font-size: calc(18 * var(--m));
  line-height: 0.9;
  color: var(--c-orange);
}

.hero__photo {
  position: absolute;
  top: calc(14 * var(--m));
  right: calc(36 * var(--m));
  z-index: 1;
  width: calc(72 * var(--m));
  height: calc(73 * var(--m));
  object-fit: cover;
}

.hero__text {
  position: relative;
  padding: 0 calc(20 * var(--m));
  font-size: calc(15 * var(--m));
  line-height: 1.7;
  text-align: justify;
}
.hero__text p + p {
  margin-top: 1.7em;
}

/* ==========================================================================
   Chiffres clés (section optionnelle, masquée tant qu'aucun chiffre n'est visible)
   ========================================================================== */
.chiffres {
  padding: calc(40 * var(--m)) 0 calc(20 * var(--m));
}
.chiffres__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(24 * var(--m)) calc(12 * var(--m));
  margin-top: calc(20 * var(--m));
  text-align: center;
}
.chiffre__valeur {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: calc(40 * var(--m));
  line-height: 1.1;
  color: var(--c-orange);
}
.chiffre__unite {
  margin-left: 0.2em;
  font-size: 0.5em;
}
.chiffre__label {
  margin-top: calc(6 * var(--m));
  font-size: calc(14 * var(--m));
}

/* ==========================================================================
   Offres
   ========================================================================== */
.offres {
  padding: calc(20 * var(--m)) 0;
}
.offres .section-title {
  margin-top: calc(11 * var(--m));
}

.offres__grid {
  display: flex;
  flex-direction: column;
  gap: calc(30 * var(--m));
  margin: calc(9 * var(--m)) calc(-20 * var(--m)) 0;
}

.offre {
  display: flex;
  flex-direction: column;
  padding-bottom: calc(36 * var(--m));
  background-color: var(--offre-color, var(--c-purple));
}

.offre__body {
  padding: calc(20 * var(--m)) calc(20 * var(--m)) 0;
}

.offre__title {
  font-family: var(--f-avenir);
  font-weight: var(--w-avenir-bold);
  font-size: calc(22 * var(--m));
  line-height: 1.4;
}

.offre__text {
  margin-top: calc(11 * var(--m));
  font-family: var(--f-avenir);
  font-weight: 300;
  font-size: calc(14 * var(--m));
  line-height: 1.4;
}
.offre__text p + p {
  margin-top: 1.4em;
}

.offre__link {
  display: inline-block;
  margin-top: 1.4em;
  font-family: var(--f-body);
  font-size: calc(14 * var(--m));
}

.offre__img {
  width: 100%;
  aspect-ratio: 320 / 318;
  margin-top: calc(20 * var(--m));
  object-fit: cover;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact {
  position: relative;
  padding: calc(54 * var(--m)) 0 calc(20 * var(--m));
}
/* Vague décorative en bas de section (séparateur Wix) */
.contact::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: calc(60 * var(--m));
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 100 1920 200' preserveAspectRatio='none'%3E%3Cpath fill='%23262626' d='M1920 300v-4.067c-455.162 0-690.876-51.203-1082.65-129.288C490.044 97.423 0 100.013 0 100.013V300h1920z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
  pointer-events: none;
}
.contact > .container {
  position: relative;
  z-index: 1;
}
.contact .section-title {
  margin-top: calc(11 * var(--m));
}

.contact__cards {
  display: flex;
  flex-direction: column;
  gap: calc(71 * var(--m));
  margin: calc(10 * var(--m)) calc(-20 * var(--m)) 0;
}

.contact-card {
  position: relative;
  padding: calc(20 * var(--m)) calc(20 * var(--m)) calc(21 * var(--m));
  background-color: var(--card-color);
  text-align: center;
}
.contact-card--linkedin {
  --card-color: var(--c-blue);
}
.contact-card--sessionize {
  --card-color: var(--c-mint);
}
.contact-card--malt {
  --card-color: var(--c-pink);
}

.contact-card__text {
  font-size: calc(14 * var(--m));
  line-height: 1.4;
}
.contact-card__text p + p {
  margin-top: 1.4em;
}

.contact-card__title {
  margin-top: calc(28 * var(--m));
  font-family: var(--f-head);
  font-weight: 700;
  font-size: calc(27 * var(--m));
  line-height: 1.4;
}

.contact-card__icon {
  position: absolute;
  bottom: calc(-50 * var(--m));
  left: 50%;
  width: calc(70 * var(--m));
  height: calc(69 * var(--m));
  transform: translateX(-50%);
}
.contact-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact__block {
  margin-top: calc(101 * var(--m));
}
.contact__block .section-title {
  margin-top: 0;
}

/* ---------- Formulaire de contact ---------- */
.contact-form {
  max-width: 583px;
  margin: calc(20 * var(--m)) auto 0;
}

.form__row {
  display: grid;
  gap: calc(16 * var(--m));
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: calc(16 * var(--m));
}
.form__row .form__field {
  margin-top: 0;
}
.form__row + .form__field,
.form__field + .form__row {
  margin-top: calc(16 * var(--m));
}

.form__label {
  font-size: calc(14 * var(--m));
}
.form__optional {
  color: var(--c-grey);
}

.form__input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #5c5c5c;
  border-radius: 0;
  background-color: #2e2e2e;
  color: var(--c-white);
  font-size: 16px; /* 16 px minimum : évite le zoom automatique d'iOS au focus */
  line-height: 1.4;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.form__input:hover {
  border-color: var(--c-grey-2);
}
.form__input:focus {
  outline: none;
  border-color: var(--c-orange);
  background-color: #333;
}
.form__input:user-invalid {
  border-color: var(--c-pink);
}
textarea.form__input {
  min-height: 150px;
  resize: vertical;
}

/* Champ piège anti-robots : invisible pour les humains */
.form__hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: calc(24 * var(--m));
  text-align: center;
}
.form__notice {
  font-size: 12px;
  color: var(--c-grey);
}
.form__status {
  min-height: 1.4em;
  font-size: 14px;
}
.form__status--success {
  color: var(--c-mint);
}
.form__status--error {
  color: var(--c-pink);
}

/* ---------- Vidéo YouTube (chargée seulement au clic) ---------- */
.video {
  position: relative;
  width: 100%;
  max-width: 583px;
  aspect-ratio: 16 / 9;
  margin: calc(20 * var(--m)) auto 0;
  background-color: #000;
}
.video__link,
.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video__link {
  display: block;
  overflow: hidden;
  color: var(--c-white);
  text-decoration: none;
}
.video__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video__title {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  padding: 14px 16px 40px;
  background: linear-gradient(rgba(0, 0, 0, 0.8), transparent);
  font-family: Roboto, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.3;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}
.video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68px;
  height: 48px;
  transform: translate(-50%, -50%);
}
.video__play-bg {
  fill: #212121;
  fill-opacity: 0.8;
  transition: fill 0.1s, fill-opacity 0.1s;
}
.video__link:hover .video__play-bg,
.video__link:focus-visible .video__play-bg {
  fill: #f00;
  fill-opacity: 1;
}

/* ==========================================================================
   Clients
   ========================================================================== */
.clients {
  padding: calc(41 * var(--m)) 0 calc(21 * var(--m));
}
.clients .eyebrow {
  font-size: calc(14 * var(--m));
}
.clients .section-title {
  margin-top: calc(9 * var(--m));
  font-size: calc(25 * var(--m));
}

.clients__box {
  width: calc(100% - 40 * var(--m));
  margin: calc(47 * var(--m)) auto 0;
  padding: calc(13 * var(--m)) 0 calc(38 * var(--m));
  background-color: var(--c-white);
}

.clients__logos {
  display: flex;
  flex-direction: column;
  gap: calc(16 * var(--m));
}

.clients__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(16 * var(--m)) 0;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(70 * var(--m));
}
.client-logo img {
  width: calc(var(--logo-w-mobile, 70) * var(--m));
  height: auto;
  max-height: calc(70 * var(--m));
  object-fit: contain;
}

/* ==========================================================================
   Témoignages (section optionnelle)
   ========================================================================== */
.temoignages {
  padding: calc(41 * var(--m)) 0 calc(30 * var(--m));
}
.temoignages .section-title {
  margin-top: calc(9 * var(--m));
}
.temoignages__grid {
  display: grid;
  gap: calc(20 * var(--m));
  margin-top: calc(24 * var(--m));
}
.temoignage {
  padding: calc(20 * var(--m));
  border-left: 3px solid var(--c-orange);
  background-color: rgba(255, 255, 255, 0.05);
}
.temoignage__texte {
  font-size: calc(15 * var(--m));
  line-height: 1.6;
  font-style: italic;
}
.temoignage__auteur {
  margin-top: calc(14 * var(--m));
  font-family: var(--f-head);
  font-weight: 700;
  font-size: calc(15 * var(--m));
  color: var(--c-orange);
}
.temoignage__entreprise {
  font-size: calc(13 * var(--m));
  color: var(--c-grey);
}

/* ==========================================================================
   Pied de page
   ========================================================================== */
.site-footer {
  padding: calc(20 * var(--m)) calc(15 * var(--m)) calc(19 * var(--m));
  background-color: var(--c-white);
  color: var(--c-dark);
  text-align: center;
}

.site-footer__logo {
  display: block;
  width: calc(210 * var(--m));
  margin: 0 auto;
}
.site-footer__logo img {
  width: 100%;
  height: auto;
}

.site-footer__legal {
  margin-top: calc(15 * var(--m));
  font-size: calc(12 * var(--m));
  line-height: 1.4;
}

.site-footer__cta {
  display: none;
}

/* ==========================================================================
   Actions rapides (bouton flottant mobile, comme sur le site Wix)
   ========================================================================== */
.quick-actions__backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background-color: rgba(255, 255, 255, 0.9);
}

.quick-actions__toggle {
  position: fixed;
  right: calc(16 * var(--m));
  bottom: calc(16 * var(--m));
  z-index: 62;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(50 * var(--m));
  height: calc(50 * var(--m));
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: #008afc;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}
.quick-actions__toggle svg {
  width: calc(22 * var(--m));
  height: calc(22 * var(--m));
  fill: #fff;
}
.quick-actions__toggle .icon-close,
.quick-actions__toggle[aria-expanded="true"] .icon-dots {
  display: none;
}
.quick-actions__toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.quick-actions__list {
  position: fixed;
  right: calc(19 * var(--m));
  bottom: calc(82 * var(--m));
  z-index: 61;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: calc(14 * var(--m));
}

.quick-action {
  display: flex;
  align-items: center;
  gap: calc(16 * var(--m));
  text-decoration: none;
}
.quick-action__label {
  padding: calc(6 * var(--m)) calc(8 * var(--m));
  border-radius: 4px;
  background-color: var(--c-white);
  box-shadow: 0 0 8px #ccc;
  color: #1d2d3c;
  font-family: var(--f-body);
  font-size: calc(12 * var(--m));
  line-height: 1.25;
}
.quick-action__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(44 * var(--m));
  height: calc(44 * var(--m));
  border-radius: 50%;
  background-color: var(--qa-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.quick-action__icon svg,
.quick-action__icon img {
  width: calc(24 * var(--m));
  height: calc(18 * var(--m));
  fill: #fff;
}
.quick-action__icon img {
  width: calc(24 * var(--m));
  height: calc(24 * var(--m));
}
.quick-action--email {
  --qa-color: #be1867;
}
.quick-action--linkedin {
  --qa-color: #1670bb;
}
.quick-action--youtube {
  --qa-color: #e14d3b;
}
.quick-action--cv {
  --qa-color: var(--c-orange);
}
.quick-action--blog {
  --qa-color: var(--c-green);
}
.quick-action--lang {
  --qa-color: var(--c-purple);
}

/* ==========================================================================
   Pages intérieures (CV, Blog, Mentions légales, 404)
   ========================================================================== */
.page-hero {
  position: relative;
}
.page-hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: calc(110 * var(--m));
  padding: calc(20 * var(--m));
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero__title {
  position: relative;
  font-family: var(--f-avenir);
  font-weight: var(--w-avenir-bold);
  font-size: calc(26 * var(--m));
  line-height: 1;
  color: var(--c-orange);
}
.page-hero__lead {
  position: relative;
  margin-top: calc(10 * var(--m));
  font-size: calc(14 * var(--m));
  line-height: 1.5;
}

.page-section {
  padding: calc(40 * var(--m)) 0;
}
.page-section .section-title {
  margin-top: calc(11 * var(--m));
}

/* ---------- Page CV ---------- */
.cv-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: calc(24 * var(--m));
}

.cv-pdf {
  display: none;
  margin-top: 40px;
}
.cv-pdf__frame {
  display: block;
  width: 100%;
  height: 800px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: #525659;
}
.cv-pdf__mobile {
  margin-top: calc(16 * var(--m));
  font-size: calc(13 * var(--m));
  color: var(--c-grey);
  text-align: center;
}

.cv-html {
  margin-top: calc(40 * var(--m));
}
.cv-block + .cv-block {
  margin-top: calc(48 * var(--m));
}
.cv-block__title {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: calc(22 * var(--m));
  line-height: 1.3;
}
.cv-block__title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 10px;
  background-color: var(--c-orange);
}

.cv-profil {
  text-align: center;
}
.cv-profil__titre {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: calc(20 * var(--m));
  color: var(--c-orange);
}
.cv-profil__accroche {
  max-width: 640px;
  margin: calc(10 * var(--m)) auto 0;
  font-size: calc(15 * var(--m));
  line-height: 1.6;
}

.timeline {
  position: relative;
  margin-top: calc(24 * var(--m));
  padding-left: calc(22 * var(--m));
  border-left: 2px solid rgba(255, 142, 38, 0.45);
}
.timeline__item {
  position: relative;
}
.timeline__item + .timeline__item {
  margin-top: calc(28 * var(--m));
}
.timeline__item::before {
  content: "";
  position: absolute;
  top: 0.45em;
  left: calc(-22 * var(--m) - 7px);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--c-orange);
  box-shadow: 0 0 0 4px var(--c-bg);
}
.timeline__title {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: calc(17 * var(--m));
  line-height: 1.3;
}
.timeline__meta {
  margin-top: 4px;
  font-size: calc(13 * var(--m));
  color: var(--c-orange);
}
.timeline__desc {
  margin-top: 8px;
  font-size: calc(14 * var(--m));
  line-height: 1.6;
}
.timeline__points {
  margin-top: 6px;
  padding-left: 1.2em;
  list-style: disc;
  font-size: calc(14 * var(--m));
  line-height: 1.6;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding: 0;
  list-style: none;
}
.tag {
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  font-size: 12px;
  line-height: 1.4;
}
.tags--large .tag {
  font-size: calc(13 * var(--m));
  padding: 6px 14px;
}

.cv-list {
  margin-top: calc(18 * var(--m));
  padding: 0;
  list-style: none;
}
.cv-list li + li {
  margin-top: 12px;
}
.cv-list__main {
  font-weight: 700;
}
.cv-list__sub {
  color: var(--c-grey);
}
.cv-list--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}
.cv-list--inline li + li {
  margin-top: 0;
}

/* ---------- Page Blog ---------- */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: calc(24 * var(--m));
}
.blog-filter {
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 100px;
  background: transparent;
  color: var(--c-white);
  font-family: var(--f-body);
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.blog-filter:hover {
  border-color: var(--c-orange);
}
.blog-filter.actif {
  border-color: var(--c-orange);
  background-color: var(--c-orange);
}
.blog-filter__count {
  margin-left: 4px;
  opacity: 0.75;
}

.blog-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: calc(20 * var(--m));
  margin-top: calc(28 * var(--m));
}

.blog-empty {
  margin-top: 28px;
  color: var(--c-grey);
  text-align: center;
}

.post {
  --post-color: var(--c-orange);
  display: flex;
  background-color: rgba(255, 255, 255, 0.05);
  border-top: 3px solid var(--post-color);
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.post--linkedin {
  --post-color: var(--c-blue);
}
.post--youtube {
  --post-color: var(--c-pink);
}
.post--medium {
  --post-color: var(--c-mint);
}
.post--talks {
  --post-color: var(--c-orange);
}
.post:has(a.post__inner:hover) {
  transform: translateY(-4px);
  background-color: rgba(255, 255, 255, 0.08);
}

.post__inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  color: inherit;
  text-decoration: none;
}
.post__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #000;
}
.post__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 20px;
}
.post__badge {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 100px;
  background-color: var(--post-color);
  color: var(--c-dark);
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.post__title {
  margin-top: 12px;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
}
.post__date {
  margin-top: 6px;
  font-size: 13px;
  color: var(--c-grey);
}
.post__excerpt {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
}
.post__more {
  margin-top: auto;
  padding-top: 14px;
  font-size: 13px;
  color: var(--c-orange);
}

/* ---------- Mentions légales ---------- */
.legal {
  padding: calc(40 * var(--m)) 0 calc(60 * var(--m));
}
.legal__block + .legal__block {
  margin-top: calc(40 * var(--m));
}
.legal__title {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: calc(22 * var(--m));
  line-height: 1.4;
}
.legal__content {
  margin-top: calc(16 * var(--m));
  font-size: calc(14 * var(--m));
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.legal__content p + p,
.legal__content p + ul,
.legal__content ul + p {
  margin-top: 1.4em;
}
.legal__content ul {
  margin-left: 7.5px;
  padding-left: 19.5px;
}
.legal__content li + li {
  margin-top: 0;
}
.legal__content a {
  text-decoration: underline;
}
.legal__note {
  margin-top: 1.4em;
  padding: 12px 14px;
  border-left: 3px solid var(--c-orange);
  background-color: rgba(255, 255, 255, 0.05);
  font-size: 13px;
  color: var(--c-grey);
}

/* ---------- 404 ---------- */
.not-found {
  padding: calc(60 * var(--m)) 0 calc(80 * var(--m));
  text-align: center;
}
.not-found__code {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: calc(80 * var(--m));
  line-height: 1;
  color: var(--c-orange);
}
.not-found p + p {
  margin-top: 12px;
}
.not-found .btn {
  margin-top: 28px;
}

/* ==========================================================================
   Tablette et desktop (>= 768 px)
   ========================================================================== */
@media (min-width: 768px) {
  :root {
    --header-h: 87px;
  }

  body {
    font-size: 15px;
  }

  .container {
    width: min(980px, 100% - 48px);
    padding: 0;
  }

  .eyebrow {
    font-size: 16px;
  }
  .section-title {
    font-size: 36px;
    line-height: 1.3;
  }

  /* En-tête */
  .site-header__inner {
    padding: 0 24px;
  }
  .site-header__logo img {
    width: 115px;
    height: 69px;
  }
  .site-nav {
    display: block;
    margin-left: auto;
    margin-right: 40px;
  }
  .site-header .btn--header {
    display: inline-flex;
  }
  .lang-switch {
    display: block;
  }

  /* Bandeau d'accueil (tablette : texte dans le flux, sur la fumée) */
  .hero {
    padding-bottom: 90px;
  }
  .hero__inner {
    min-height: 358px;
    padding: 49px 290px 40px 40px;
  }
  .hero__bg {
    height: 100%;
  }
  .hero__name {
    position: relative;
    top: auto;
    left: auto;
    font-size: 42px;
  }
  .hero__photo {
    top: auto;
    right: 24px;
    bottom: 0;
    width: 250px;
    height: auto;
    aspect-ratio: 299 / 303;
  }
  .hero__text {
    margin-top: 40px;
    padding: 0;
    font-size: 15px;
  }

  /* Chiffres */
  .chiffres {
    padding: 0 0 60px;
  }
  .chiffres__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-top: 28px;
  }
  .chiffre__valeur {
    font-size: 50px;
  }
  .chiffre__label {
    margin-top: 6px;
    font-size: 15px;
  }

  /* Offres */
  .offres {
    padding: 45px 0 46px;
  }
  .offres .section-title {
    max-width: 833px;
    margin: 33px auto 0;
  }
  .offres__grid {
    display: grid;
    grid-template-columns: minmax(0, 720px);
    justify-content: center;
    gap: 30px;
    margin: 83px 0 0;
  }
  .offre {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    height: 441px;
    padding-bottom: 0;
  }
  .offre__body {
    padding: 19px 20px 0 28px;
  }
  .offre__title {
    font-size: 24px;
  }
  .offre__text {
    max-width: 300px;
    margin-top: 29px;
    font-size: 14px;
  }
  .offre__link {
    font-size: 14px;
  }
  .offre__img {
    height: 441px;
    aspect-ratio: auto;
    margin-top: 0;
  }

  /* Contact */
  .contact {
    padding: 85px 0 58px;
  }
  .contact::after {
    height: 200px;
  }
  .contact .section-title {
    margin-top: 24px;
  }
  .contact__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 49px 0 0;
  }
  .contact-card {
    height: 432px;
    padding: 39px 16px 0;
  }
  .contact-card__text {
    display: grid;
    grid-template-rows: minmax(169px, auto) auto;
    max-width: 191px;
    margin: 0 auto;
    font-size: 15px;
  }
  .contact-card__text p + p {
    margin-top: 0;
  }
  .contact-card__title {
    position: absolute;
    right: 3px;
    bottom: 51px;
    left: 3px;
    margin: 0;
    font-size: 30px;
  }
  .contact-card__icon {
    bottom: -49px;
    width: 97px;
    height: 98px;
  }
  .contact__block {
    margin-top: 154px;
  }
  .contact__block + .contact__block {
    margin-top: 100px;
  }
  .contact-form,
  .video {
    margin-top: 30px;
  }
  .form__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .form__field,
  .form__row + .form__field,
  .form__field + .form__row {
    margin-top: 16px;
  }
  .form__label {
    font-size: 14px;
  }
  .form__footer {
    margin-top: 24px;
  }

  /* Clients */
  .clients {
    padding: 52px 0 22px;
  }
  .clients .eyebrow {
    font-size: 16px;
  }
  .clients .section-title {
    margin-top: 20px;
    font-size: 36px;
  }
  .clients__box {
    width: min(1157px, 100% - 48px);
    margin-top: 17px;
    padding: 21px 24px 31px;
  }
  .clients__logos {
    gap: 12px;
  }
  .clients__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 60px;
  }
  .client-logo {
    min-height: 88px;
  }
  .client-logo img {
    width: var(--logo-w, auto);
    max-width: 170px;
    max-height: 88px;
  }

  /* Témoignages */
  .temoignages {
    padding: 60px 0 40px;
  }
  .temoignages .section-title {
    margin-top: 20px;
  }
  .temoignages__grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
  }
  .temoignage {
    padding: 28px;
  }
  .temoignage__texte {
    font-size: 15px;
  }
  .temoignage__auteur {
    margin-top: 16px;
    font-size: 16px;
  }
  .temoignage__entreprise {
    font-size: 13px;
  }

  /* Pied de page */
  .site-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 251px;
    padding: 0;
    text-align: left;
  }
  .site-footer__col--left {
    position: relative;
  }
  .site-footer__logo {
    position: absolute;
    top: 25px;
    left: 20px;
    width: 242px;
    margin: 0;
  }
  .site-footer__legal {
    position: absolute;
    top: 192px;
    left: 36px;
    margin: 0;
    font-size: 13px;
  }
  .site-footer__col--right {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .site-footer__cta {
    display: inline-flex;
  }

  /* Le bouton flottant n'existe que sur mobile */
  .quick-actions {
    display: none;
  }

  /* Pages intérieures */
  .page-hero__visual {
    width: min(1158px, 100%);
    min-height: 200px;
    margin: 0 auto;
    padding: 40px max(24px, 50% - 434px);
  }
  .page-hero__title {
    font-size: 42px;
  }
  .page-hero__lead {
    max-width: 600px;
    margin-top: 14px;
    font-size: 15px;
  }
  .page-section {
    padding: 70px 0;
  }
  .page-section .section-title {
    margin-top: 20px;
  }

  .cv-actions {
    margin-top: 32px;
  }
  .cv-pdf {
    display: block;
  }
  .cv-pdf__mobile {
    display: none;
  }
  .cv-html {
    margin-top: 70px;
  }
  .cv-block + .cv-block {
    margin-top: 56px;
  }
  .cv-block__title {
    font-size: 26px;
  }
  .cv-profil__titre {
    font-size: 22px;
  }
  .cv-profil__accroche {
    font-size: 16px;
  }
  .timeline {
    padding-left: 32px;
  }
  .timeline__item::before {
    left: -39px;
  }
  .timeline__item + .timeline__item {
    margin-top: 32px;
  }
  .timeline__title {
    font-size: 19px;
  }
  .timeline__meta {
    font-size: 14px;
  }
  .timeline__desc,
  .timeline__points {
    font-size: 15px;
  }
  .tags--large .tag {
    font-size: 14px;
  }

  .blog-filters {
    margin-top: 32px;
  }
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 40px;
  }

  .legal {
    padding: 108px 0 110px;
  }
  .legal__block {
    max-width: 782px;
  }
  .legal__block + .legal__block {
    margin-top: 57px;
  }
  .legal__title {
    font-size: 30px;
  }
  .legal__content {
    font-size: 15px;
  }

  .not-found {
    padding: 100px 0 120px;
  }
  .not-found__code {
    font-size: 120px;
  }
}

/* ==========================================================================
   Desktop (>= 1000 px) : mise en page identique au site Wix
   ========================================================================== */
@media (min-width: 1000px) {
  .site-header__inner {
    padding: 0 40px;
  }

  /* Bandeau d'accueil : fumée 1158 × 358, éléments placés sur la grille de 980 px */
  .hero {
    padding-bottom: 0;
  }
  .hero__inner {
    height: 448px;
    min-height: 0;
    padding: 0;
  }
  .hero__bg {
    left: 50%;
    width: min(1158px, 100%);
    height: 358px;
    transform: translateX(-50%);
  }
  .hero__name {
    position: absolute;
    top: 49px;
    left: calc(50% - 434px);
  }
  .hero__photo {
    top: 55px;
    right: auto;
    bottom: auto;
    left: calc(50% + 190px);
    width: 299px;
    height: 303px;
  }
  .hero__text {
    position: absolute;
    top: 127px;
    left: calc(50% - 434px);
    width: 600px;
    margin: 0;
  }

  /* Offres : 2 × 2 cartes de 474 × 441 */
  .offres__grid {
    grid-template-columns: repeat(2, 474px);
  }
  .offre {
    grid-template-columns: 236px 238px;
  }
  .offre__body {
    padding: 19px 0 0 28px;
  }
  .offre__title {
    width: 200px;
  }
  .offre__text {
    width: 170px;
    max-width: none;
  }

  /* Contact : 3 cartes de 277 × 432 */
  .contact__cards {
    grid-template-columns: repeat(3, 277px);
    justify-content: center;
    gap: 72px;
  }
  .contact-card {
    padding: 39px 43px 0;
  }
  .contact-card__title {
    font-size: 35px;
  }

  .clients__box {
    width: min(1157px, 100%);
  }

  .blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
  }
}

/* ==========================================================================
   Animations d'apparition (reprises des effets Wix)
   ========================================================================== */
@keyframes motion-fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes motion-flipIn {
  from {
    transform: perspective(800px) rotateX(-45deg);
  }
  to {
    transform: perspective(800px) rotateX(0deg);
  }
}
@keyframes motion-foldIn {
  from {
    transform: translateY(-50%) perspective(800px) rotateX(-90deg) translateY(50%);
  }
  to {
    transform: translateY(-50%) perspective(800px) rotateX(0deg) translateY(50%);
  }
}
@keyframes motion-expandIn {
  from {
    transform: scale(0.8);
  }
  to {
    transform: scale(1);
  }
}
@keyframes motion-rubber {
  0%,
  33%,
  100% {
    transform: scale(1, 1);
  }
  14.85% {
    transform: scale(1.03, 0.93);
  }
  18.48% {
    transform: scale(0.9, 1.03);
  }
  21.78% {
    transform: scale(1.02, 0.96);
  }
  25.74% {
    transform: scale(0.98, 1.02);
  }
  29.37% {
    transform: scale(1.005, 0.9995);
  }
}
/* Filet de sécurité : si le script ne s'exécute pas, le contenu réapparaît */
@keyframes reveal-fallback {
  to {
    opacity: 1;
  }
}

@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .reveal:not(.is-visible) {
    opacity: 0;
    animation: reveal-fallback 0s 4s forwards;
  }
  .reveal--flip.is-visible {
    animation: motion-fadeIn 1.2s var(--ease-fade) both, motion-flipIn 1.2s var(--ease-back) both;
  }
  .reveal--fold.is-visible {
    animation: motion-fadeIn 1.2s var(--ease-fade) both, motion-foldIn 1.2s var(--ease-back) both;
  }
  .reveal--expand.is-visible {
    animation: motion-fadeIn 1.2s linear both, motion-expandIn 1.2s var(--ease-expand) both;
  }
  .contact-card__icon img {
    animation: motion-rubber 3s linear infinite;
  }
}
