@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@500;600;700;800&display=swap');


/* =====================================================
   PORTFOLIO OGAH SÉVÉRIN
   STYLE GLOBAL
   MOBILE FIRST
===================================================== */


/* =====================================================
   VARIABLES
===================================================== */

:root{
  --bg:#070707;
  --bg-soft:#0b0b0b;
  --bg-soft-2:#101010;

  --surface:#111111;
  --surface-2:#161616;

  --light:#f4f2ed;
  --light-soft:#faf8f4;

  --white:#f7f7f4;
  --white-soft:#deded9;

  --text:#131313;
  --text-soft:#625f59;

  --muted:#b2b2ad;
  --muted-soft:#ecece7;

  --gold:#c8a267;
  --gold-light:#ddbd86;
  --gold-soft:rgba(200,162,103,.12);

  --line-dark:rgba(255,255,255,.10);
  --line-light:#dedad2;

  --font-title:"Montserrat",system-ui,-apple-system,"Segoe UI",sans-serif;
  --font-body:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;

  --container:1180px;

  --page-x:18px;

  --ease:cubic-bezier(.2,.75,.25,1);
}


/* =====================================================
   RESET
===================================================== */

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

html{
  scroll-behavior:smooth;
  scroll-padding-top:88px;
  -webkit-text-size-adjust:100%;
}

body{
  margin:0;
  min-width:320px;

  background:var(--bg);
  color:var(--white);

  font-family:var(--font-body);
  line-height:1.65;

  overflow-x:hidden;

  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

body.menu-open{
  overflow:hidden;
}

img{
  display:block;
  max-width:100%;
  height:auto;
}

a{
  color:inherit;
  text-decoration:none;
}

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

button,
a{
  -webkit-tap-highlight-color:transparent;
}

::selection{
  background:var(--gold);
  color:#070707;
}


/* =====================================================
   CONTENEUR GLOBAL
===================================================== */

.container{
  width:min(
    var(--container),
    calc(100% - (var(--page-x) * 2))
  );

  margin-left:auto;
  margin-right:auto;
}


/* =====================================================
   TYPOGRAPHIE GLOBALE
===================================================== */

h1,
h2,
h3,
h4{
  margin:0;

  font-family:var(--font-title);
  font-weight:600;

  line-height:1.08;
  letter-spacing:-.04em;

  hyphens:none;
  -webkit-hyphens:none;

  word-break:normal;
  overflow-wrap:normal;

  text-wrap:balance;
}

p{
  margin:0;

  text-align:justify;
  text-justify:inter-word;

  hyphens:none;
  -webkit-hyphens:none;

  word-break:normal;
  overflow-wrap:break-word;
}

.eyebrow{
  margin:0 0 16px;

  color:var(--gold);

  font-size:12px;
  font-weight:700;

  line-height:1.45;

  letter-spacing:.15em;
  text-transform:uppercase;

  text-align:left;
}

.section-title{
  width:100%;
  max-width:980px;

  color:#111;

  font-size:clamp(31px,8vw,46px);
  line-height:1.08;
}

.section-title span{
  display:inline;
  color:#9a9790;
}

.section-text{
  max-width:760px;

  margin-top:24px;

  color:var(--text-soft);

  font-size:16px;
  line-height:1.85;
}

.section-label{
  width:max-content;
  max-width:100%;

  display:flex;
  align-items:center;

  gap:11px;

  color:#68645e;

  font-size:12px;
  font-weight:700;

  line-height:1.3;

  letter-spacing:.12em;
  text-transform:uppercase;

  white-space:nowrap;
}

.section-label span{
  color:var(--gold);
}

.section-label::after{
  content:"";

  width:34px;
  height:1px;

  flex:0 0 auto;

  background:#cec9c0;
}

.section-label--light{
  color:#d4d4cf;
}

.section-label--light::after{
  background:rgba(255,255,255,.18);
}


/* =====================================================
   HEADER
===================================================== */

.site-header{
  position:fixed;

  top:0;
  left:0;

  width:100%;

  z-index:100;

  background:rgba(7,7,7,.78);

  border-bottom:1px solid transparent;

  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);

  transition:
    background .35s ease,
    border-color .35s ease,
    box-shadow .35s ease;
}

.site-header.is-scrolled{
  background:rgba(7,7,7,.96);

  border-color:var(--line-dark);

  box-shadow:
    0 14px 36px rgba(0,0,0,.22);
}

.site-header__inner{
  min-height:68px;

  display:flex;
  align-items:center;
  justify-content:space-between;

  gap:16px;
}

.brand{
  display:inline-flex;
  align-items:center;

  gap:10px;

  flex:0 0 auto;
}

.brand__mark{
  width:34px;
  height:34px;

  display:grid;
  place-items:center;

  border:1px solid rgba(255,255,255,.15);
  border-radius:50%;

  color:var(--gold);

  font-family:var(--font-title);
  font-size:14px;
  font-weight:700;

  transition:
    background .3s ease,
    color .3s ease,
    border-color .3s ease;
}

.brand:hover .brand__mark{
  background:var(--gold);
  border-color:var(--gold);

  color:#080808;
}

.brand__text{
  color:var(--white);

  font-family:var(--font-title);

  font-size:14px;
  font-weight:600;

  white-space:nowrap;
}

.desktop-nav{
  display:none;
}

.site-header__actions{
  display:flex;
  align-items:center;

  gap:9px;
}

.header-cv{
  display:none;
}


/* =====================================================
   BURGER
===================================================== */

.burger{
  position:relative;

  width:42px;
  height:42px;

  flex:0 0 42px;

  padding:0;

  border:1px solid rgba(255,255,255,.16);
  border-radius:50%;

  background:transparent;

  cursor:pointer;
}

.burger span{
  position:absolute;

  left:50%;

  width:18px;
  height:1px;

  background:#fff;

  transform:translateX(-50%);

  transition:
    top .3s ease,
    transform .3s ease;
}

.burger span:first-child{
  top:17px;
}

.burger span:last-child{
  top:23px;
}

.burger[aria-expanded="true"] span:first-child{
  top:20px;

  transform:
    translateX(-50%)
    rotate(45deg);
}

.burger[aria-expanded="true"] span:last-child{
  top:20px;

  transform:
    translateX(-50%)
    rotate(-45deg);
}


/* =====================================================
   NAVIGATION MOBILE
===================================================== */

.mobile-nav{
  position:fixed;

  top:72px;
  left:12px;
  right:12px;

  z-index:99;

  padding:13px;

  display:grid;
  gap:7px;

  background:#0d0d0d;

  border:1px solid var(--line-dark);
  border-radius:19px;

  box-shadow:
    0 28px 70px rgba(0,0,0,.5);

  opacity:0;
  visibility:hidden;

  transform:translateY(-10px);

  pointer-events:none;

  transition:
    opacity .3s ease,
    visibility .3s ease,
    transform .3s ease;
}

.mobile-nav.is-open{
  opacity:1;
  visibility:visible;

  transform:translateY(0);

  pointer-events:auto;
}

.mobile-nav a{
  min-height:47px;

  padding:0 14px;

  display:flex;
  align-items:center;

  border-radius:12px;

  color:#d6d6d1;

  font-size:14px;
  font-weight:600;

  text-align:left;

  transition:
    background .25s ease,
    color .25s ease;
}

.mobile-nav a:hover{
  background:#171717;
  color:#fff;
}

.mobile-nav__cv{
  justify-content:center;

  background:var(--gold);

  color:#080808 !important;
}


/* =====================================================
   BOUTONS
===================================================== */

.btn{
  min-height:46px;

  max-width:100%;

  padding:0 19px;

  display:inline-flex;
  align-items:center;
  justify-content:center;

  gap:8px;

  border:1px solid transparent;
  border-radius:999px;

  font-size:13px;
  font-weight:700;

  white-space:nowrap;

  transition:
    transform .3s var(--ease),
    background .3s ease,
    border-color .3s ease,
    color .3s ease,
    box-shadow .3s ease;
}

.btn:hover{
  transform:translateY(-3px);
}

.btn--primary{
  background:var(--white);
  color:#080808;
}

.btn--primary:hover{
  box-shadow:
    0 14px 36px rgba(255,255,255,.12);
}

.btn--ghost{
  color:var(--white);

  background:transparent;

  border-color:rgba(255,255,255,.19);
}

.btn--ghost:hover{
  border-color:rgba(255,255,255,.45);
}

.btn--gold{
  background:var(--gold);
  color:#080808;
}

.btn--gold:hover{
  background:var(--gold-light);

  box-shadow:
    0 16px 40px rgba(200,162,103,.16);
}

.btn--ghost-light{
  color:#fff;

  background:transparent;

  border-color:rgba(255,255,255,.18);
}

.btn--ghost-light:hover{
  background:#fff;

  border-color:#fff;

  color:#080808;
}

.text-link{
  display:inline-flex;
  align-items:center;

  gap:8px;

  color:#d6d6d1;

  font-size:13px;
  font-weight:600;
}

.text-link span{
  color:var(--gold);

  transition:transform .3s ease;
}

.text-link:hover span{
  transform:translate(3px,-3px);
}


/* =====================================================
   HERO HOME
===================================================== */

.hero{
  position:relative;

  min-height:100svh;

  padding:108px 0 55px;

  display:flex;
  align-items:center;

  overflow:hidden;

  background:
    linear-gradient(
      180deg,
      #070707 0%,
      #080808 75%,
      #090909 100%
    );
}

.hero::after{
  content:"";

  position:absolute;

  left:0;
  right:0;
  bottom:0;

  height:1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255,255,255,.13),
      transparent
    );
}

.hero__glow{
  position:absolute;

  pointer-events:none;

  border-radius:50%;
}

.hero__glow--one{
  width:520px;
  height:520px;

  top:-180px;
  right:-260px;

  background:
    radial-gradient(
      circle,
      rgba(200,162,103,.12) 0%,
      rgba(200,162,103,.04) 35%,
      transparent 70%
    );
}

.hero__glow--two{
  width:420px;
  height:420px;

  left:-260px;
  bottom:-160px;

  background:
    radial-gradient(
      circle,
      rgba(255,255,255,.04),
      transparent 70%
    );
}


/* =====================================================
   CORRECTION CENTRAGE HERO
===================================================== */

.hero > .container.hero__inner{
  position:relative;
  z-index:2;

  width:min(
    var(--container),
    calc(100% - (var(--page-x) * 2))
  );

  margin-left:auto;
  margin-right:auto;
}

.hero__content{
  width:100%;
  max-width:1020px;
}


/* =====================================================
   TITRE HERO — CORRECTION RETOUR À LA LIGNE
===================================================== */

.hero__title{
  width:100%;
  max-width:1020px;

  color:var(--white);

  font-size:clamp(
    40px,
    11vw,
    60px
  );

  line-height:1.01;
  letter-spacing:-.052em;

  /*
   * IMPORTANT :
   * contrairement à "balance", wrap laisse le navigateur
   * remplir la ligne avant de passer à la suivante.
   */
  text-wrap:wrap;
  white-space:normal;

  /* Aucun mot coupé */
  word-break:normal;
  overflow-wrap:normal;

  hyphens:none;
  -webkit-hyphens:none;
}

.hero__title span{
  display:inline;

  color:#ecece7;
}

.hero__intro{
  max-width:710px;

  margin-top:27px;

  color:#e7e7e2;

  font-size:16px;
  line-height:1.82;
}

.hero__actions{
  margin-top:30px;

  display:flex;
  flex-direction:column;
  align-items:flex-start;

  gap:11px;
}


/* =====================================================
   SIGNATURE HERO
===================================================== */

.hero__signature{
  margin-top:52px;
}

.hero__signature-line{
  width:100%;
  height:1px;

  background:rgba(255,255,255,.10);
}

.hero__signature-items{
  padding-top:18px;

  display:grid;
  grid-template-columns:
    repeat(2,minmax(0,1fr));

  gap:18px;
}

.hero__signature-items div{
  min-width:0;

  display:flex;
  flex-direction:column;

  gap:3px;
}

.hero__signature-items span{
  color:#c8c8c3;

  font-size:11px;
  font-weight:600;
}

.hero__signature-items strong{
  color:#bdbdb8;

  font-family:var(--font-title);

  font-size:12px;
  font-weight:600;

  letter-spacing:.055em;
  text-transform:uppercase;
}


/* =====================================================
   PROFIL
===================================================== */

.intro-section{
  padding:82px 0;

  background:var(--light);
}

.intro-grid{
  display:grid;

  gap:32px;
}

.intro-grid > *{
  min-width:0;
}

.intro-content{
  min-width:0;
}


/* =====================================================
   ÉTUDE SEO VEDETTE
===================================================== */

.seo-feature{
  padding:85px 0;

  background:#090909;
}

.seo-feature__head{
  margin-bottom:46px;

  display:grid;

  gap:32px;
}

.seo-feature__head > *{
  min-width:0;
}

.seo-feature__title{
  width:100%;
  max-width:940px;

  color:#f7f7f4;

  font-size:clamp(
    32px,
    8.5vw,
    48px
  );

  line-height:1.08;
}

.seo-feature__title span{
  display:inline;

  color:#ecece7;
}

.seo-feature__main{
  display:grid;

  gap:42px;
}

.seo-feature__main > *{
  min-width:0;
}

.seo-feature__content{
  max-width:700px;
}

.seo-project-tag{
  width:max-content;
  max-width:100%;

  margin-bottom:22px;

  padding:7px 11px;

  border:1px solid rgba(200,162,103,.31);
  border-radius:999px;

  color:var(--gold);

  font-size:11px;
  font-weight:700;

  letter-spacing:.08em;
  text-transform:uppercase;
}

.seo-feature__content > p{
  color:#e7e7e2;

  font-size:16px;
  line-height:1.82;
}

.seo-feature__skills{
  margin-top:26px;

  display:flex;
  flex-wrap:wrap;

  gap:8px;
}

.seo-feature__skills span{
  padding:7px 10px;

  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;

  color:#deded9;

  font-size:11px;
  font-weight:600;
}

.seo-feature__actions{
  margin-top:31px;

  display:flex;
  flex-direction:column;
  align-items:flex-start;

  gap:17px;
}


/* =====================================================
   KPI SEO
===================================================== */

.seo-results{
  display:grid;
  grid-template-columns:1fr;

  gap:11px;
}

.result-card{
  min-width:0;
  min-height:165px;

  padding:22px;

  display:flex;
  flex-direction:column;
  justify-content:space-between;

  background:#101010;

  border:1px solid rgba(255,255,255,.09);
  border-radius:18px;

  transition:
    transform .35s var(--ease),
    border-color .35s ease,
    background .35s ease;
}

.result-card:hover{
  transform:translateY(-4px);

  border-color:rgba(200,162,103,.34);

  background:#131313;
}

.result-card__label{
  color:#d8d8d3;

  font-size:12px;
  font-weight:600;
}

.result-card__value{
  margin:17px 0 8px;

  display:flex;
  align-items:baseline;
  flex-wrap:wrap;

  gap:8px;

  color:#ecece7;

  font-family:var(--font-title);

  font-size:16px;
}

.result-card__value strong{
  color:#f5f5f1;

  font-size:clamp(
    28px,
    8vw,
    40px
  );

  font-weight:600;

  letter-spacing:-.045em;
}

.result-arrow{
  color:var(--gold);
}

.result-card small{
  color:var(--gold);

  font-size:11px;
  font-weight:700;
}


/* =====================================================
   EXPERTISES
===================================================== */

.expertises-section{
  padding:85px 0;

  background:var(--light);
}

.section-heading{
  margin-bottom:44px;

  display:grid;

  gap:32px;
}

.section-heading > *{
  min-width:0;
}

.expertise-grid{
  display:grid;

  gap:11px;
}

.expertise-card{
  position:relative;

  min-width:0;
  min-height:225px;

  padding:22px;

  display:flex;
  flex-direction:column;

  overflow:hidden;

  background:#faf8f4;

  border:1px solid var(--line-light);

  transition:
    transform .35s var(--ease),
    background .35s ease,
    border-color .35s ease;
}

.expertise-card::after{
  content:"";

  position:absolute;

  left:0;
  right:0;
  bottom:0;

  height:2px;

  background:var(--gold);

  transform:scaleX(0);
  transform-origin:left;

  transition:
    transform .45s var(--ease);
}

.expertise-card:hover{
  transform:translateY(-4px);

  background:#fff;

  border-color:#cac5bc;
}

.expertise-card:hover::after{
  transform:scaleX(1);
}

.expertise-card__number{
  color:#9e9991;

  font-size:11px;
  font-weight:700;
}

.expertise-card h3{
  margin-top:auto;

  color:#151515;

  font-size:22px;
  line-height:1.12;

  letter-spacing:-.03em;
}

.expertise-card p{
  margin-top:13px;

  color:#625f59;

  font-size:14px;
  line-height:1.75;
}


/* =====================================================
   PROJETS WEB HOME
===================================================== */

.web-projects{
  padding:85px 0;
  background:#080808;
}

.web-projects__title{
  width:100%;
  max-width:940px;

  color:#f7f7f4;

  font-size:clamp(32px,8.5vw,48px);
  line-height:1.08;
}

.web-projects__title span{
  display:inline;
  color:#ecece7;
}


/* =====================================================
   GRID
===================================================== */

.web-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
}


/* =====================================================
   CARD
===================================================== */

.web-card{
  min-width:0;

  display:flex;
  flex-direction:column;

  overflow:hidden;

  background:#0e0e0e;

  border:1px solid rgba(255,255,255,.09);

  transition:
    transform .45s var(--ease),
    border-color .35s ease,
    background .35s ease;
}

.web-card:hover{
  transform:translateY(-6px);

  border-color:rgba(200,162,103,.30);

  background:#111;
}


/* =====================================================
   IMAGE
===================================================== */

.web-card__media{
  position:relative;

  display:block;

  width:100%;
  aspect-ratio:16 / 9;

  overflow:hidden;

  background:#151515;
}

.web-card__media::after{
  content:"";

  position:absolute;
  inset:0;

  pointer-events:none;

  background:
    linear-gradient(
      to top,
      rgba(0,0,0,.25),
      transparent 45%
    );

  opacity:.65;

  transition:opacity .4s ease;
}

.web-card__media img{
  width:100%;
  height:100%;

  object-fit:cover;
  object-position:center;

  transform:scale(1.01);

  transition:
    transform .7s var(--ease),
    filter .5s ease;
}

.web-card:hover .web-card__media img{
  transform:scale(1.045);
}

.web-card:hover .web-card__media::after{
  opacity:.25;
}


/* =====================================================
   FLECHE IMAGE
===================================================== */

.web-card__media-arrow{
  position:absolute;

  top:16px;
  right:16px;

  z-index:2;

  width:40px;
  height:40px;

  display:grid;
  place-items:center;

  border-radius:50%;

  background:rgba(7,7,7,.82);

  border:1px solid rgba(255,255,255,.13);

  color:var(--gold);

  font-size:16px;

  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);

  transition:
    background .3s ease,
    color .3s ease,
    transform .35s var(--ease);
}

.web-card:hover .web-card__media-arrow{
  transform:translate(2px,-2px);

  background:var(--gold);

  color:#080808;
}


/* =====================================================
   CORPS
===================================================== */

.web-card__body{
  min-height:320px;

  padding:22px;

  display:flex;
  flex-direction:column;
}

.web-card__top{
  display:flex;
  align-items:center;
  justify-content:space-between;

  gap:20px;

  color:#ecece7;

  font-size:11px;
  font-weight:700;

  letter-spacing:.07em;
  text-transform:uppercase;
}

.web-card__content{
  margin:auto 0;
  padding:36px 0;
}

.web-card h3{
  max-width:520px;

  color:#f2f2ee;

  font-size:clamp(25px,7vw,34px);

  line-height:1.08;
}

.web-card p{
  max-width:570px;

  margin-top:18px;

  color:#deded9;

  font-size:14px;
  line-height:1.78;
}


/* =====================================================
   FOOTER CARD
===================================================== */

.web-card__footer{
  padding-top:20px;

  border-top:1px solid rgba(255,255,255,.09);

  display:flex;
  flex-direction:column;

  gap:13px;
}

.web-card__footer > span{
  color:#ecece7;

  font-size:11px;
  font-weight:600;
}

.web-card__footer a{
  width:max-content;
  max-width:100%;

  display:inline-flex;
  align-items:center;

  gap:7px;

  color:#deded9;

  font-size:12px;
  font-weight:700;
}

.web-card__footer a span{
  color:var(--gold);

  transition:transform .3s ease;
}

.web-card__footer a:hover span{
  transform:translateX(4px);
}


/* =====================================================
   BOUTON GLOBAL
===================================================== */

.web-projects__more{
  margin-top:34px;
}


/* =====================================================
   TABLETTE WEB CARDS
===================================================== */

@media(min-width:640px){

  .web-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .web-card__body{
    min-height:340px;
  }

  .web-card__footer{
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
  }

}


/* =====================================================
   DESKTOP WEB CARDS
===================================================== */

@media(min-width:980px){

  .web-grid{
    gap:20px;
  }

  .web-card__body{
    min-height:360px;
    padding:27px;
  }

  .web-card__content{
    padding:42px 0;
  }

  .web-card h3{
    font-size:clamp(27px,2.3vw,35px);
  }

}


/* =====================================================
   DOCUMENTS
===================================================== */

.documents-section{
  padding:85px 0;

  background:var(--light);
}

.documents-grid{
  display:grid;

  gap:44px;
}

.documents-grid > *{
  min-width:0;
}

.documents-list{
  display:grid;

  gap:11px;
}

.document-card{
  position:relative;

  min-width:0;

  padding:22px;

  display:flex;
  align-items:flex-start;
  justify-content:space-between;

  gap:20px;

  background:#faf8f4;

  border:1px solid var(--line-light);

  transition:
    transform .35s var(--ease),
    background .35s ease,
    border-color .35s ease;
}

.document-card:hover{
  transform:translateY(-4px);

  background:#fff;

  border-color:#c8c2b7;
}

.document-card__type{
  color:#9d7641;

  font-size:11px;
  font-weight:700;

  letter-spacing:.09em;
  text-transform:uppercase;
}

.document-card h3{
  margin-top:11px;

  color:#171717;

  font-size:clamp(
    20px,
    5.5vw,
    27px
  );

  line-height:1.15;
}

.document-card p{
  max-width:570px;

  margin-top:11px;

  color:#625f59;

  font-size:13px;
  line-height:1.72;
}

.document-card__arrow{
  flex:0 0 auto;

  color:#a17d4c;

  font-size:18px;

  transition:transform .3s ease;
}

.document-card:hover .document-card__arrow{
  transform:translate(3px,-3px);
}


/* =====================================================
   CONTACT
===================================================== */

.contact-section{
  position:relative;

  padding:95px 0;

  overflow:hidden;

  background:#080808;
}

.contact-glow{
  position:absolute;

  width:600px;
  height:600px;

  left:50%;
  top:50%;

  transform:translate(-50%,-50%);

  border-radius:50%;

  background:
    radial-gradient(
      circle,
      rgba(200,162,103,.09),
      transparent 67%
    );

  pointer-events:none;
}

.contact-card{
  position:relative;

  z-index:2;

  width:100%;
  max-width:950px;
}

.contact-card h2{
  width:100%;
  max-width:950px;

  color:#f7f7f4;

  font-size:clamp(
    37px,
    9.5vw,
    59px
  );

  line-height:1.04;
}

.contact-card h2 span{
  display:inline;

  color:#ecece7;
}

.contact-card > p:not(.eyebrow){
  max-width:690px;

  margin-top:25px;

  color:#e3e3de;

  font-size:16px;
  line-height:1.82;
}

.contact-actions{
  margin-top:31px;

  display:flex;
  flex-wrap:wrap;

  gap:9px;
}


/* =====================================================
   FOOTER
===================================================== */

.footer{
  padding:25px 0;

  background:#050505;

  border-top:1px solid var(--line-dark);
}

.footer__inner{
  display:flex;
  flex-direction:column;

  gap:13px;
}

.footer__inner > div{
  display:flex;
  flex-direction:column;
}

.footer strong{
  color:#e0e0dc;

  font-family:var(--font-title);

  font-size:13px;
  font-weight:600;
}

.footer span,
.footer p{
  color:#c7c7c2;

  font-size:11px;

  text-align:left;
}


/* =====================================================
   ANIMATIONS
===================================================== */

.js-ready .reveal{
  opacity:0;

  transform:translateY(25px);

  filter:blur(2px);

  transition:
    opacity .78s var(--ease),
    transform .78s var(--ease),
    filter .78s ease;

  will-change:
    opacity,
    transform;
}

.js-ready .reveal.is-visible{
  opacity:1;

  transform:none;

  filter:blur(0);
}


/* =====================================================
   PETITS MOBILES
===================================================== */

@media(max-width:389px){

  :root{
    --page-x:15px;
  }

  .brand__text{
    font-size:13px;
  }

  /*
   * HERO :
   * taille légèrement réduite pour exploiter correctement
   * la largeur des écrans 320px / 360px / 375px.
   */
  .hero__title{
    width:100%;
    max-width:none;

    font-size:clamp(
      34px,
      10.3vw,
      40px
    );

    line-height:1.04;
    letter-spacing:-.045em;

    text-wrap:wrap;
    white-space:normal;

    word-break:normal;
    overflow-wrap:normal;

    hyphens:none;
    -webkit-hyphens:none;
  }

  .btn{
    white-space:normal;
    text-align:center;
  }

  .hero__actions{
    width:100%;
  }

  .hero__actions .btn{
    width:100%;
  }

  .contact-actions{
    flex-direction:column;
  }

  .contact-actions .btn{
    width:100%;
  }

}


/* =====================================================
   TABLETTE
===================================================== */

@media(min-width:640px){

  :root{
    --page-x:28px;
  }

  .hero__title{
    max-width:980px;

    font-size:clamp(
      52px,
      7.8vw,
      67px
    );

    /*
     * On conserve également le retour naturel
     * à la ligne sur tablette.
     */
    text-wrap:wrap;
  }

  .hero__intro{
    font-size:16px;
  }

  .hero__actions{
    flex-direction:row;
  }

  .hero__signature-items{
    grid-template-columns:
      repeat(4,minmax(0,1fr));
  }

  .section-title{
    font-size:clamp(
      38px,
      6vw,
      52px
    );
  }

  .seo-feature__title,
  .web-projects__title{
    font-size:clamp(
      39px,
      6vw,
      54px
    );
  }

  .seo-results{
    grid-template-columns:
      repeat(2,minmax(0,1fr));
  }

  .expertise-grid{
    grid-template-columns:
      repeat(2,minmax(0,1fr));
  }

  .web-card__footer{
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
  }

  .footer__inner{
    flex-direction:row;
    align-items:flex-end;
    justify-content:space-between;
  }

}


/* =====================================================
   DESKTOP
===================================================== */

@media(min-width:980px){

  :root{
    --page-x:42px;
  }


  /* HEADER */

  .site-header__inner{
    min-height:80px;
  }

  .desktop-nav{
    display:flex;
    align-items:center;

    gap:27px;
  }

  .desktop-nav a{
    position:relative;

    padding:8px 0;

    color:#deded9;

    font-size:12px;
    font-weight:600;

    white-space:nowrap;

    transition:color .3s ease;
  }

  .desktop-nav a::after{
    content:"";

    position:absolute;

    left:0;
    bottom:2px;

    width:100%;
    height:1px;

    background:var(--gold);

    transform:scaleX(0);
    transform-origin:right;

    transition:
      transform .35s var(--ease);
  }

  .desktop-nav a:hover,
  .desktop-nav a[aria-current="page"]{
    color:#fff;
  }

  .desktop-nav a:hover::after,
  .desktop-nav a[aria-current="page"]::after{
    transform:scaleX(1);
    transform-origin:left;
  }

  .header-cv{
    min-height:39px;

    padding:0 16px;

    display:inline-flex;
    align-items:center;

    gap:6px;

    border:1px solid rgba(255,255,255,.16);
    border-radius:999px;

    color:#deded9;

    font-size:11px;
    font-weight:700;

    transition:
      background .3s ease,
      color .3s ease,
      transform .3s ease;
  }

  .header-cv:hover{
    transform:translateY(-2px);

    background:#fff;

    color:#080808;
  }

  .burger{
    display:none;
  }

  .mobile-nav{
    display:none !important;
  }


  /* ===================================================
     HERO DESKTOP
  =================================================== */

  .hero{
    min-height:100svh;

    padding:
      140px 0
      70px;
  }

  .hero > .container.hero__inner{
    width:min(
      var(--container),
      calc(100% - (var(--page-x) * 2))
    );

    margin-left:auto;
    margin-right:auto;
  }

  .hero__content{
    width:100%;
    max-width:1010px;
  }

  .hero__title{
    width:100%;
    max-width:1010px;

    font-size:clamp(
      60px,
      5.35vw,
      74px
    );

    line-height:1.01;

    /* Pas d'équilibrage artificiel */
    text-wrap:wrap;
  }

  .hero__intro{
    max-width:710px;

    margin-top:29px;

    font-size:16px;
  }

  .hero__signature{
    margin-top:68px;
  }


  /* SECTIONS */

  .intro-section,
  .seo-feature,
  .expertises-section,
  .web-projects,
  .documents-section{
    padding:125px 0;
  }

  .intro-grid,
  .section-heading,
  .seo-feature__head{
    grid-template-columns:
      210px minmax(0,1fr);

    gap:65px;
  }

  .section-title{
    max-width:980px;

    font-size:clamp(
      44px,
      4vw,
      58px
    );
  }

  .seo-feature__title,
  .web-projects__title{
    max-width:980px;

    font-size:clamp(
      44px,
      4.1vw,
      59px
    );
  }

  .seo-feature__main{
    grid-template-columns:
      minmax(0,.82fr)
      minmax(0,1.18fr);

    gap:70px;

    align-items:start;
  }

  .result-card{
    min-height:195px;

    padding:27px;
  }

  .expertise-grid{
    grid-template-columns:
      repeat(3,minmax(0,1fr));
  }

  .expertise-card{
    min-height:265px;

    padding:27px;
  }

  .web-grid{
    grid-template-columns:
      repeat(2,minmax(0,1fr));
  }

  .web-card{
    min-height:440px;

    padding:29px;
  }

  .documents-grid{
    grid-template-columns:
      minmax(0,.7fr)
      minmax(0,1.3fr);

    gap:80px;

    align-items:start;
  }

  .document-card{
    padding:28px;
  }

  .contact-section{
    padding:135px 0;
  }

  .contact-card h2{
    max-width:1000px;

    font-size:clamp(
      52px,
      4.9vw,
      69px
    );
  }

}


/* =====================================================
   GRAND DESKTOP
===================================================== */

@media(min-width:1280px){

  :root{
    --page-x:48px;
  }

  .hero__title{
    max-width:1010px;

    font-size:74px;

    text-wrap:wrap;
  }

  .section-title{
    font-size:58px;
  }

  .seo-feature__title,
  .web-projects__title{
    font-size:59px;
  }

}


/* =====================================================
   TRÈS GRAND ÉCRAN
===================================================== */

@media(min-width:1500px){

  .hero__content{
    max-width:1010px;
  }

  .hero__title{
    max-width:1010px;

    font-size:74px;

    text-wrap:wrap;
  }

}


/* =====================================================
   ACCESSIBILITÉ
===================================================== */

@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;
  }

  .js-ready .reveal{
    opacity:1;

    transform:none;

    filter:none;
  }

}


/* =====================================================
   HOME — AUTOMATISATION & IA
===================================================== */

.btn--light{
  background:var(--white);
  color:#080808;
}

.btn--light:hover{
  background:#fff;
  box-shadow:0 14px 36px rgba(255,255,255,.12);
}

.btn--dark-outline{
  color:#111;
  background:transparent;
  border-color:#bdb7ad;
}

.btn--dark-outline:hover{
  color:#fff;
  background:#111;
  border-color:#111;
}

.automation-section{
  padding:85px 0;
  background:var(--light);
  color:var(--text);
}

.automation-section__head{
  margin-bottom:46px;
  display:grid;
  gap:32px;
}

.automation-section__head > *{
  min-width:0;
}

.automation-section__title{
  width:100%;
  max-width:980px;
  color:#111;
  font-size:clamp(31px,8vw,46px);
  line-height:1.08;
}

.automation-section__title span{
  display:inline;
  color:#8d8982;
}

.automation-section__intro{
  max-width:760px;
  margin-top:24px;
  color:var(--text-soft);
  font-size:16px;
  line-height:1.85;
}

.automation-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
}

.automation-card{
  min-width:0;
  overflow:hidden;
  background:#faf8f4;
  border:1px solid var(--line-light);
  transition:
    transform .4s var(--ease),
    border-color .35s ease,
    background .35s ease;
}

.automation-card:hover{
  transform:translateY(-6px);
  background:#fff;
  border-color:#c8c2b7;
}

.automation-card__visual{
  width:100%;
  aspect-ratio:16/9;
  overflow:hidden;
  background:#111;
}

.automation-card__visual img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.automation-card__placeholder{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  padding:24px;

  background:
    radial-gradient(
      circle at 75% 20%,
      rgba(200,162,103,.16),
      transparent 34%
    ),
    linear-gradient(
      135deg,
      #0b0b0b,
      #151515
    );

  color:#aaa69f;
  font-size:12px;
  font-weight:600;
  text-align:center;
}

.automation-card__body{
  padding:22px;
}

.automation-card__top{
  display:flex;
  align-items:center;
  justify-content:space-between;

  gap:18px;

  color:#8f6b3e;

  font-size:10px;
  font-weight:700;

  letter-spacing:.07em;
  text-transform:uppercase;
}

.automation-card h3{
  max-width:580px;

  margin-top:28px;

  color:#151515;

  font-size:clamp(
    24px,
    7vw,
    34px
  );

  line-height:1.08;
}

.automation-card p{
  max-width:620px;

  margin-top:17px;

  color:#625f59;

  font-size:14px;
  line-height:1.78;
}

.automation-card__tags{
  margin-top:23px;

  display:flex;
  flex-wrap:wrap;

  gap:7px;
}

.automation-card__tags span{
  padding:6px 9px;

  border:1px solid #d5d0c7;
  border-radius:999px;

  color:#5f5b55;

  font-size:10px;
  font-weight:600;
}

.automation-card__actions{
  margin-top:27px;
  padding-top:21px;

  border-top:1px solid #dedad2;

  display:flex;
  flex-direction:column;
  align-items:flex-start;

  gap:15px;
}

.automation-card__pdf{
  display:inline-flex;
  align-items:center;

  gap:7px;

  color:#4d4943;

  font-size:12px;
  font-weight:700;
}

.automation-card__pdf span{
  color:#9d7641;

  transition:transform .3s ease;
}

.automation-card__pdf:hover span{
  transform:translate(3px,-3px);
}

.automation-section__more{
  margin-top:34px;
}


/* =====================================================
   AUTOMATISATION — TABLETTE
===================================================== */

@media(min-width:640px){

  .automation-grid{
    grid-template-columns:
      repeat(2,minmax(0,1fr));
  }

  .automation-card__actions{
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
  }

}


/* =====================================================
   AUTOMATISATION — DESKTOP
===================================================== */

@media(min-width:980px){

  .automation-section{
    padding:125px 0;
  }

  .automation-section__head{
    grid-template-columns:
      210px minmax(0,1fr);

    gap:65px;
  }

  .automation-section__title{
    font-size:clamp(
      44px,
      4vw,
      58px
    );
  }

  .automation-grid{
    gap:20px;
  }

  .automation-card__body{
    padding:28px;
  }

  .automation-card h3{
    font-size:clamp(
      27px,
      2.3vw,
      35px
    );
  }

}


/* =====================================================
   AUTOMATISATION — GRAND DESKTOP
===================================================== */

@media(min-width:1280px){

  .automation-section__title{
    font-size:58px;
  }

}
