/* ============================================================
   AI6 Technologies — Landing page
   Police : Nunito · Couleur principale : #001DFC
   ============================================================ */

:root {
  --primary:            #001DFC;
  --primary-teal:       #00FCDA;
  --primary-light-max:  #EFEFFF;
  --lavender:           #F2F3FF;
  --ink:                #181C34;
  --ink-soft:           #4A4E66;
  --white:              #FFFFFF;

  --radius:             24px;
  --container:          2245px;
  --gutter:             clamp(20px, 4.5vw, 72px);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--lavender);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  /* padding-inline: var(--gutter); */
  padding-inline: 0;
  padding:0 10px 0 35px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--lavender);
  /* trame de points discrète sur toute la largeur */
  background-image: radial-gradient(rgba(0, 29, 252, 0.06) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  background-position: 0 0;

  /* occupe toute la hauteur de l'écran au chargement ;
     le reste de la page apparaît au scroll */
  min-height: 100vh;          /* fallback navigateurs anciens */
  min-height: 100dvh;         /* tient compte des barres mobiles */
  display: flex;
  flex-direction: column;
}

/* illustration ville isométrique (slide.png) ancrée à droite */
.hero__bg {
  position: absolute;
  inset: 0 0 0 auto;
  width: 62%;
  background: url('../images/slide.png') no-repeat right top;
  background-size: cover;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  flex: 1;                       /* remplit la hauteur du hero */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;     /* contenu centré verticalement */
  padding-top: 56px;
  padding-bottom: clamp(48px, 6vw, 72px);
  padding-left: 70px;
}

.hero__logo { display: inline-block; margin-bottom: clamp(48px, 9vw, 110px); }
.hero__logo img { 
  /* width: clamp(78px, 7vw, 96px); */
  width: 145px;
  height: auto; }

.hero__title {
  margin: 0 0 36px;
  max-width: 795px;
  color: var(--primary);
  font-size: 60px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;

  
  
}
.hero__title strong { 
  font-weight: 700;
  font-style: Bold;
  /* font-size: 60px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0px;
  text-transform: uppercase; */

}

.hero__text {
  max-width: 795px;
  color: var(--ink-soft);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}
.hero__text p { 
  margin: 0 0 20px; 
  color: var(--Colors-Functional-FalseBlack, #181C34);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;

}
.hero__text p:last-child { margin-bottom: 0; }
.hero__text strong,
.hero__text--strong { font-weight: 800; color: var(--ink); }

/* ============================================================
   SOLUTIONS  (panneau blanc à coins arrondis sur le hero)
   ============================================================ */
.solutions {
  position: relative;
  z-index: 2;
  background: var(--lavender);
  padding: 0 clamp(12px, 2vw, 24px) clamp(40px, 5vw, 56px);
}

.solutions__card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 48px;
  width: 100%;
  /* max-width: 1392px; */
  margin-inline: auto;
  padding: 90px 24px;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
}

/* trapèze lavande au sommet du conteneur blanc */
.solutions__notch {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: min(751px, 56%);
  height: auto;
}

.solutions__head { width: 100%; }

.solutions__title {
  max-width: 930px;
  color: var(--Colors-Primary-Primary, #001DFC);
  text-align: center;
  font-size: 48px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-transform: uppercase;
  padding: 0;
  margin: 0 auto;
}

.solutions__subtitle {
  margin: 0 auto;
  max-width: 930px;
  text-align: center;
  color: var(--ink-soft);
  text-align: center;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-top: 12px;
}

/* ----- grille des cartes ----- */
.cards {
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 24px;
  flex-wrap: wrap;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  flex: 1 1 0;
  min-width: 0;
  max-width: 358px;
  padding: 20px;
  border-radius: var(--radius);
}

.card--light {
  min-height: 475px;
  background: var(--primary-light-max);
  justify-content: center;
}

.card--featured {
  min-height: 505px;
  padding: 42px 20px 20px;
  background: var(--primary);
  color: var(--white);
}

.card__logo { display: flex; justify-content: center; width: 100%; }
.card__logo img { height: 60px; width: auto; }
.card--featured .card__logo img { height: 65px; }

.card__body { width: 100%; }

.card__title {
  margin: 0 0 12px;
  font-size: clamp(17px, 1.4vw, 19px);
  font-weight: 800;
  line-height: 1.3;
  color: var(--ink);
}
.card--featured .card__title { color: var(--white); }

.card__desc {
  margin: 0 0 24px;
  font-size: 13.5px;
  line-height: 1.55;
  font-weight: 700;
  color: var(--ink);
}
.card--featured .card__desc { color: var(--white); font-weight: 600; }

.card__incl {
  margin: 0 0 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}
.card--featured .card__incl { 
  color: var(--Colors-Functional-Light-FalseBlackLightMax, #F0F0F7);
    font-family: Nunito;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

/* ----- listes à coches ----- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li {
  position: relative;
  padding-left: 32px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.05em;
  width: 22px;
  height: 22px;
  background-repeat: no-repeat;
  background-position: center;
  /* coche stroke #181C34 */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22' fill='none'%3E%3Cpath d='M4.125 10.8121L7.99425 14.6813C8.13083 14.8188 8.29308 14.9288 8.47183 15.0031C8.65058 15.0782 8.84217 15.1167 9.03558 15.1167C9.22992 15.1167 9.4215 15.0782 9.60025 15.0031C9.779 14.9288 9.94033 14.8188 10.0769 14.6813L17.875 6.88324' stroke='%23181C34' stroke-width='1.375' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
/* coche blanche (carte mise en avant) */
.checklist--light li { 
  /* color: var(--white);  */
  color: var(--Colors-Functional-Light-FalseBlackLightMax, #F0F0F7);
}
.checklist--light li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22' fill='none'%3E%3Cpath d='M4.125 10.8121L7.99425 14.6813C8.13083 14.8188 8.29308 14.9288 8.47183 15.0031C8.65058 15.0782 8.84217 15.1167 9.03558 15.1167C9.22992 15.1167 9.4215 15.0782 9.60025 15.0031C9.779 14.9288 9.94033 14.8188 10.0769 14.6813L17.875 6.88324' stroke='white' stroke-width='1.375' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ============================================================
   CTA  (bloc bleu) + FOOTER
   ============================================================ */
.cta {
  position: relative;
  background: var(--primary);
  border-radius: var(--radius) var(--radius) 0 0;
  color: var(--white);
  overflow: hidden;
}

/* trapèze lavande au sommet */
.cta__notch {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: min(751px, 64%);
  height: auto;
  z-index: 2;
}

.cta__inner {
  padding-top: 100px;
  padding-bottom: 0;
  text-align: center;
}

.cta__title {
  color: var(--Colors-Functional-Light-FalseBlackLightMax, #F0F0F7);
  text-align: center;
  font-size: 64px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
  padding: 0;
  margin: 0;
}

/* séparateur dégradé bas */
.cta__divider {
  width: 100%;
  padding-inline:  var(--gutter);
  margin-bottom: 67px;
  margin-top: 67px;
}
.cta__divider svg { width: 100%; height: 24px; }

/* ----- footer ----- */
.footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding-bottom: 40px;
}

.footer__brand { display: flex; flex-direction: column; gap: 18px; }
.footer__logo { 
  width: 80px;
  height: 63.216px;
  aspect-ratio: 80.00 / 63.22; 
}
.footer__copy { margin: 0; font-size: 13px; color: rgba(255, 255, 255, 0.82); }

.footer__btns {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.5vw, 22px);
  flex-wrap: wrap;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.92);
}
.footer__nav a { transition: opacity 0.15s ease; }
.footer__nav a:hover { opacity: 0.7; }
.footer__social { display: inline-flex; margin-right: 4px; }
.footer__social svg { width: 22px; height: 22px; }

.footer__nav{
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap:10px
}

.footer__social_mobile, .footer__copy_mobile, .separateur_mobile, .title_v_mobile{
  display: none;
}
.container.footer{
  padding: 0px 15px 30px 15px;
}

/* ============================================================
   RESPONSIVE
   Les tailles desktop (hand-tunées) restent intactes ci-dessus ;
   on ne fait que les réduire par paliers ici.
   ============================================================ */

/* ---- Tablette / petit laptop ---- */
@media (max-width: 1100px) {
  /* .hero__title,
  .hero__title strong { font-size: 48px; line-height: 1.08; } */
  .solutions__title    { font-size: 38px; }
  .solutions__subtitle { font-size: 20px; }
  .cta__title          { font-size: 50px; }
}

@media (max-width: 980px) {
  .hero__bg { width: 80%; opacity: 0.85; }
  .hero__inner { 
    padding-left: 35px;
  }
  

  .cards { flex-direction: column; align-items: center; }
  .card,
  .card--featured,
  .card--light {
    flex: 0 0 auto;
    width: 100%;
    max-width: 440px;
    min-height: 0;
  }

  /* sur mobile, la carte concerto (mise en avant) passe en tête */
  .card--featured { order: -1; }

  .solutions__card { padding: 56px 24px; gap: 36px; }
  .cta__inner { padding-top: 72px; }
  .cta__divider { margin-top: 48px; margin-bottom: 48px; }
}

/* ---- Mobile ---- */
@media (max-width: 620px) {
  /* l'illustration reste un fond discret derrière le titre */
  .hero__bg {
    width: 100%;
    opacity: 0.45;
    background-position: right top;
    background-size: contain;
  }
  .hero__inner { 
    padding-top: 25px; 
    padding-bottom: 64px; 
    padding-left: 30px;
  }
  .hero__title { 
    max-width: none;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
  }
  .hero__title strong{
    /* font-size: 26px; */
  /* font-style: normal; */
  font-weight: 700;
  /* line-height: normal;
  text-transform: uppercase;
  margin-bottom: 15px; */
  }
  .hero__text { max-width: none; }

  /* .hero__title,
  .hero__title strong { font-size: 34px; line-height: 1.12; } */
  .hero__text,
  .hero__text p       { font-size: 15px; }
  .solutions__title    { 
    font-size: 28px;
        font-style: normal;
        font-weight: 600;
        line-height: normal; 
  }
  .solutions__subtitle {
    font-size: 16px;
    text-align: center;
    font-style: normal;
    font-weight: 600;
           line-height: 140%;
  }
  .cta__title          { font-size: 34px; line-height: 1.12; }

  .footer { flex-direction: column; align-items: flex-start; gap: 5px; }
  .footer__nav { align-items: flex-start; }
  .footer__brand{
    display: flex;
    flex-direction: row;
    gap: 18px;
    width: 100%;
    max-width: 100%;
    align-items: flex-end;
    padding-top: 48px;
    padding-bottom: 48px;
    justify-content: space-between;
  }
  .footer__social, .footer__copy, .cta__divider, .title_v_desktop{
    display: none;
  }
  .footer__social_mobile, .footer__copy_mobile, .separateur_mobile, .title_v_mobile{
    display: block;
  }
  .solutions{
    padding: 2px;
    padding-bottom: 24px;
  }
  .footer {
    padding-bottom: 48px;
  }
  .hero__inner{
    justify-content: flex-start;
  }
  .hero__logo img { 
    width: 100px;
    height: auto;
  }

  .hero__logo {
    margin-bottom: 15px;
  }
}

/* ---- Très petits écrans ---- */
@media (max-width: 380px) {
  .hero__title,
  .hero__title strong { font-size: 29px; }
  .solutions__title    { font-size: 23px; }
  .cta__title          { font-size: 29px; }
}

/* ============================================================
   PAGES LEGALES (Mentions légales / Politique de confidentialité)
   ============================================================ */

/* ---- Header compact : logo + titre, illustration réduite, hauteur <= 220px ---- */
.hero--page {
  min-height: 0;
  height: 220px;
  max-height: 220px;
}
.hero--page .hero__inner {
  flex: 1;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
  padding-top: 0;
  padding-bottom: 0;
}
.hero--page .container { padding: 0 24px; }
.hero--page-mentions-legales .page-title,
.hero--page-politique-de-confidentialite .page-title {
  text-align: center;
  margin: 0 auto;
}
/* logo un peu plus compact pour tenir dans les 220px */
.hero--page .hero__logo { margin-bottom: 0; }
.hero--page .hero__logo img { width: 86px; }

/* illustration slide à droite, en plus petit */
.hero--page .hero__bg {
  width: 42%;
  opacity: 1;
  background-position: right center;
  background-size: contain;
}

.page-title {
  margin: 0;
  max-width: 56%;
  text-align: left;
  color: var(--primary);
  font-size: clamp(26px, 3.4vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

/* ---- Contenu légal dans le conteneur blanc (solutions__card) ---- */
.legal__content {
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
  text-align: left;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
}
.legal__content > *:first-child { margin-top: 0; }

.legal__content h1,
.legal__content .legal__h {
  color: var(--primary);
  text-transform: uppercase;
  line-height: 1.25;
  margin: 40px 0 14px;
}
.legal__content h1 { font-size: clamp(22px, 2.4vw, 28px); }
.legal__content h2.legal__h { font-size: clamp(18px, 1.9vw, 22px); }
.legal__content h3.legal__h { font-size: 18px; }
.legal__h--doc { color: var(--ink) !important; font-size: clamp(20px, 2.2vw, 26px) !important; }

.legal__content p { margin: 0 0 16px; }
.legal__content strong { font-weight: 800; color: var(--ink); }
.legal__content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-word;
}
.legal__content a:hover { opacity: 0.75; }

/* listes à puces */
.legal__list,
.legal__clist {
  margin: 0 0 16px;
  padding-left: 0;
  list-style: none;
}
.legal__clist { margin-bottom: 0; }
.legal__list li,
.legal__clist li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
}
.legal__list li::before,
.legal__clist li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

/* tableaux */
.legal__table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 0 0 20px;
  -webkit-overflow-scrolling: touch;
}
.legal__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
  min-width: 520px;
}
.legal__table td,
.legal__table th {
  border: 1px solid #E1E4F5;
  padding: 12px 14px;
  vertical-align: top;
  text-align: left;
}
.legal__table tr:first-child td,
.legal__table th {
  background: var(--primary-light-max);
  color: var(--primary);
}
.legal__table .legal__clist { margin: 0; }
.legal__table .legal__clist li { margin-bottom: 6px; }

@media (max-width: 620px) {
  .hero--page { height: auto; max-height: none; min-height: 150px; }
  .hero--page .hero__inner { 
    padding: 28px 0;
    gap: 12px;
    padding-left: 30px;
  }
  .hero--page .hero__logo img { width: 78px; }
  .hero--page .hero__bg {
    width: 55%;
    opacity: 0.4;
    background-position: right center;
    background-size: contain;
  }
  .hero--page .page-title { max-width: 100%; }
  .legal__content { font-size: 15px; }
  .legal__content .legal__h { margin-top: 32px; }
}
