/* =====================================================
   À PROPOS
===================================================== */

#about {
  scroll-margin-top:17vh;
}


/* =====================================================
   SECTION PRINCIPALE
===================================================== */

.section__about {
  position:relative;
  width:var(--w-container-size);
  min-height:clamp(480px,42vw,600px);
  margin:0 auto var(--section-gap);
  display:grid;
  grid-template-columns:minmax(280px,40%) minmax(0,1fr);
  align-items:stretch;
  background:black;
  border:var(--border);
  overflow:hidden;
  isolation:isolate;
  opacity:0;
  visibility:hidden;
  transform:translateY(90px);
  transition:opacity 800ms ease,transform 900ms cubic-bezier(.22,1,.36,1),visibility 0s linear 900ms;
  will-change:transform,opacity;
}


/* =====================================================
   PETIT HALO SUPÉRIEUR
===================================================== */

.section__about::before {
  content:"";
  position:absolute;
  top:-1px;
  left:8%;
  width:38%;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(184,184,184,.9),rgba(255,255,255,.55),transparent);
  box-shadow:0 0 5px rgba(184,184,184,.7),0 0 12px rgba(184,184,184,.25);
  pointer-events:none;
  z-index:10;
}


/* =====================================================
   ZONE PHOTO
===================================================== */

.about__visual {
  position:relative;
  width:100%;
  height:100%;
  min-height:clamp(480px,42vw,600px);
  background:black;
  overflow:hidden;
}


/* =====================================================
   FUTURE PHOTO
===================================================== */

.img__about {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
  filter:brightness(.72) contrast(1.08) saturate(.72);
  z-index:1;
}


/* =====================================================
   DÉGRADÉ SUR LA FUTURE PHOTO
===================================================== */

.about__visual::before {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top,rgba(0,0,0,.78),transparent 45%),linear-gradient(to right,transparent 55%,rgba(0,0,0,.55));
  pointer-events:none;
  z-index:2;
}


/* =====================================================
   LIGNE VERTICALE ENTRE PHOTO ET TEXTE
===================================================== */

.about__visual::after {
  content:"";
  position:absolute;
  top:0;
  right:0;
  width:1px;
  height:100%;
  background:linear-gradient(to bottom,transparent,rgba(184,184,184,.65),rgba(255,255,255,.2),rgba(184,184,184,.65),transparent);
  box-shadow:0 0 7px rgba(184,184,184,.3);
  z-index:5;
}


/* =====================================================
   TEXTE DÉCORATIF SUR LA PHOTO
===================================================== */

.about__visual-decoration {
  position:absolute;
  top:clamp(28px,3vw,48px);
  left:clamp(25px,3vw,45px);
  z-index:4;
  display:flex;
  flex-direction:column;
  gap:5px;
  color:rgba(255,255,255,.34);
  font-family:"Montserrat",Arial,sans-serif;
  font-size:clamp(7px,.8vw,11px);
  font-weight:500;
  letter-spacing:.35em;
  line-height:1.3;
}


/* =====================================================
   PETITE LIGNE SOUS LE TEXTE DÉCORATIF
===================================================== */

.about__visual-decoration-line {
  width:28px;
  height:2px;
  margin-top:12px;
  background:var(--other-color);
}


/* =====================================================
   ENCART IDENTITÉ
===================================================== */

.about__identity {
  position:absolute;
  left:clamp(25px,3vw,45px);
  right:clamp(25px,3vw,45px);
  bottom:clamp(28px,3vw,45px);
  z-index:4;
  padding:clamp(18px,2vw,25px);
  background:rgba(5,5,8,.86);
  border:1px solid rgba(255,255,255,.25);
  border-radius:8px;
  box-shadow:0 0 20px rgba(0,0,0,.7),inset 0 0 18px rgba(184,184,184,.025);
  backdrop-filter:blur(5px);
}


/* =====================================================
   NOM
===================================================== */

.about__identity-name {
  margin:0;
  color:rgba(255,255,255,.95);
  font-family:"Montserrat",Arial,sans-serif;
  font-size:clamp(15px,1.65vw,23px);
  font-weight:400;
  line-height:1.2;
}

.about__identity-name strong {
  font-weight:750;
}


/* =====================================================
   MÉTIER
===================================================== */

.about__identity-job {
  margin-top:5px;
  color:rgba(255,255,255,.68);
  font-family:"Montserrat",sans-serif;
  font-size:clamp(10px,1vw,14px);
  font-weight:400;
  line-height:1.4;
}


/* =====================================================
   LIGNE DE L'ENCART
===================================================== */

.about__identity-line {
  display:block;
  width:45px;
  height:2px;
  margin-top:14px;
  background:var(--other-color);
}


/* =====================================================
   CONTENU DROIT
===================================================== */

.about__content {
  position:relative;
  z-index:4;
  min-width:0;
  padding:clamp(45px,5vw,75px);
  display:flex;
  flex-direction:column;
  justify-content:center;
}


/* =====================================================
   TITRE
===================================================== */

.about__heading {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:clamp(7px,.9vw,12px);
}

.about__eyebrow {
  color:var(--text-color);
  font-family:"Montserrat",sans-serif;
  font-size:clamp(8px,.8vw,14px);
  font-weight:500;
  letter-spacing:.12em;
}

.about__title {
  margin:0;
  font-size:clamp(38px,2.8vw,50px);
}


/* =====================================================
   DESCRIPTION
===================================================== */

.about__description {
  max-width:760px;
  margin-top:clamp(28px,3vw,42px);
  color:rgba(255,255,255,.75);
  font-family:"Montserrat",sans-serif;
  font-size:clamp(12px,1.2vw,17px);
  font-weight:300;
  line-height:1.75;
}


/* =====================================================
   LES 3 PETITES CARTES
===================================================== */

.about__advantages {
  width:100%;
  margin-top:clamp(25px,3vw,38px);
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(8px,1.2vw,15px);
}


/* =====================================================
   CARTE
===================================================== */

.about__advantage {
  min-width:0;
  padding:clamp(10px,1.2vw,15px);
  display:flex;
  align-items:center;
  gap:clamp(8px,1vw,12px);
  background:linear-gradient(135deg,rgba(184,184,184,.035),rgba(255,255,255,.015)),black;
  border:1px solid rgba(255,255,255,.22);
  border-radius:7px;
}

.about__advantage .shared-icon,
.about__advantage .shared-icon:hover {
  background:rgba(184,184,184,.08);
  box-shadow:0 0 12px rgba(184,184,184,.08);
  transform:none;
  transition:none;
}


/* =====================================================
   TEXTE DES CARTES
===================================================== */

.about__advantage-text {
  min-width:0;
}

.about__advantage-text h3 {
  margin:0;
  color:rgba(255,255,255,.92);
  font-family:"Montserrat",sans-serif;
  font-size:clamp(8px,10vw,16px);
  font-weight:600;
  line-height:1.25;
}

.about__advantage-text p {
  margin-top:3px;
  color:rgba(255,255,255,.48);
  font-family:"Montserrat",sans-serif;
  font-size:clamp(8px,.9vw,12px);
  font-weight:400;
  line-height:1.3;
}


/* =====================================================
   ANIMATION À PROPOS
===================================================== */

.section__about.is-visible {
  opacity:1;
  visibility:visible;
  transform:translateY(0);
  transition:opacity 800ms ease,transform 900ms cubic-bezier(.22,1,.36,1),visibility 0s;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media screen and (max-width:900px) {
  .section__about {
    grid-template-columns:minmax(220px,38%) minmax(0,1fr);
    min-height:clamp(440px,58vw,560px);
  }

  .about__visual {
    min-height:100%;
  }

  .about__content {
    padding:clamp(28px,4vw,45px);
  }

  .about__description {
    margin-top:clamp(20px,3vw,30px);
    font-size:clamp(8px,1.45vw,12px);
    line-height:1.6;
  }

  .about__advantages {
    margin-top:clamp(18px,3vw,28px);
    gap:8px;
  }

  .about__advantage {
    padding:9px;
    gap:7px;
  }

  .about__advantage-text h3 {
    font-size:8px;
  }
}

@media screen and (max-width:650px) {
  .section__about {
    height:auto;
    min-height:0;
    grid-template-columns:1fr;
  }

  .about__visual {
    min-height:clamp(330px,95vw,450px);
  }

  .about__visual::after {
    top:auto;
    right:8%;
    bottom:0;
    width:84%;
    height:1px;
    background:linear-gradient(90deg,transparent,rgba(184,184,184,.75),rgba(255,255,255,.3),rgba(184,184,184,.75),transparent);
  }

  .about__visual-decoration {
    top:25px;
    left:25px;
    font-size:8px;
  }

  .about__identity {
    left:20px;
    right:20px;
    bottom:20px;
    padding:17px;
  }

  .about__identity-name {
    font-size:clamp(16px,5vw,21px);
  }

  .about__identity-job {
    font-size:clamp(8px,2.7vw,11px);
  }

  .about__content {
    padding:clamp(30px,8vw,45px) clamp(20px,6vw,30px);
  }

  .about__title {
    font-size:clamp(27px,8vw,36px);
  }

  .about__eyebrow {
    font-size:clamp(9px,3vw,12px);
  }

  .about__description {
    margin-top:25px;
    font-size:clamp(10px,3.1vw,13px);
    line-height:1.65;
  }

  .about__advantages {
    grid-template-columns:1fr;
    gap:10px;
    margin-top:25px;
  }

  .about__advantage {
    padding:13px 15px;
  }

  .about__advantage-text h3 {
    font-size:10px;
  }

  .about__advantage-text p {
    font-size:9px;
  }
}


/* =====================================================
   TÉLÉPHONE PAYSAGE
===================================================== */

@media screen and (orientation:landscape) and (max-width:1000px) and (max-height:500px) {
  .about__eyebrow {
    font-size:8px;
  }

  .about__title {
    font-size:clamp(20px,4vw,25px);
  }

  .about__advantage-text h3 {
    font-size:8px;
  }
}