/* =========================================================
   Support WS — One-page template
   - Personnalisable via CSS variables
   - Responsive desktop/mobile
========================================================= */

:root{
  /* Brand */
  --bg: #0a1428;
  --bg2: #0e2343;
  --surface: #ffffff;
  --surface2: #f3f6fb;

  --text: #0f172a;
  --muted: #5b6b85;

  /* Accent proche du logo (bleu) */
  --accent: #3b82f6;
  --accent2: #2563eb;

  /* UI */
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 16px 40px rgba(2, 6, 23, .12);
  --shadow-soft: 0 10px 30px rgba(2, 6, 23, .08);

  --container: 1120px;
  --gutter: 20px;
  --line: rgba(15, 23, 42, .10);

  --header-h: 74px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background: var(--surface2);
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
p{ line-height: 1.6; margin: 0; }
h1,h2,h3{ line-height: 1.15; margin: 0; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.chat-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: block;
    width: 80px; /* ajuste la taille */
    height: 80px;
}

.chat-float img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: pointer;
}

/* =========================================================
   Header / Nav
========================================================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(120deg, rgba(10,20,40,.98), rgba(14,35,67,.98));
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.header__inner{
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand__logo{
  height: 60px;
  width: auto;
}

.logonews {
    width: 50%;
    max-width: 350px;
    height: auto;
}

.nav{
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav__list{
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav__link{
  color: rgba(255,255,255,.86);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 8px;
  border-radius: 10px;
}
.nav__link:hover{
  background: rgba(255,255,255,.07);
}

.nav__cta{
  margin-left: 4px;
}

.nav__toggle{
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  border-radius: 12px;
  cursor: pointer;
}
.nav__burger{
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(255,255,255,.88);
  margin: 0 auto;
  position: relative;
}
.nav__burger::before,
.nav__burger::after{
  content:"";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: rgba(255,255,255,.88);
}
.nav__burger::before{ top: -6px; }
.nav__burger::after{ top: 6px; }

/* =========================================================
   Buttons
========================================================= */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary{
  background: linear-gradient(180deg, var(--accent), var(--accent2));
  color: #fff;
  box-shadow: 0 14px 30px rgba(37,99,235,.25);
}
.btn--primary:hover{ filter: brightness(1.03); }

.btn--outline{
  background: transparent;
  color: rgba(255,255,255,.92);
  border-color: rgba(255,255,255,.18);
}
.btn--outline:hover{ background: rgba(255,255,255,.06); }

.btn--ghost{
  background: rgba(15, 23, 42, .06);
  color: var(--text);
  border-color: rgba(15, 23, 42, .10);
}
.btn--ghost:hover{ background: rgba(15, 23, 42, .08); }

/* =========================================================
   Hero
========================================================= */
.hero{
  position: relative;
  background: radial-gradient(1200px 500px at 20% 20%, rgba(59,130,246,.25), transparent 60%),
              linear-gradient(120deg, var(--bg), var(--bg2));
  color: #fff;
  padding: 44px 0 0;
  overflow: hidden;
}

.hero__grid{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 30px;
  align-items: center;
  padding-bottom: 54px;
}

.hero__kicker{
  display: inline-block;
  color: rgba(255,255,255,.78);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero__title{
  font-size: clamp(30px, 4vw, 54px);
  letter-spacing: -0.02em;
}
.accent{ color: #93c5fd; }

.hero__subtitle{
  color: rgba(255,255,255,.78);
  font-size: 16px;
  margin-top: 14px;
  max-width: 52ch;
}

.hero__actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.hero__badges{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.badge{
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.9);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
  font-size: 12px;
}

.hero__visual{
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  box-shadow: 0 22px 60px rgba(2, 6, 23, .35);
  padding: 20px;
  min-height: 280px;
  display: grid;
  place-items: center;
}
.hero__image{
  width: 100%;
  height: auto;
}

.hero__wave{
  height: 64px;
  background: var(--surface2);
  border-top-left-radius: 36px;
  border-top-right-radius: 36px;
  transform: translateY(1px);
}

/* =========================================================
   Sections
========================================================= */
.section{
  padding: 54px 0;
}
.section--alt{
  background: #eef3fb;
  border-top: 1px solid rgba(15, 23, 42, .06);
  border-bottom: 1px solid rgba(15, 23, 42, .06);
}

.section__header{
  margin-bottom: 18px;
}
.section__title{
  font-size: 26px;
  letter-spacing: -0.01em;
}
.section__desc{
  margin-top: 10px;
  color: var(--muted);
  max-width: 70ch;
}

/* =========================================================
   Cards
========================================================= */
.card{
  background: var(--surface);
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.card--soft{
  background: linear-gradient(180deg, #ffffff, #f7faff);
}
.card__body{
  padding: 22px;
}

/* =========================================================
   Presentation split
========================================================= */
.split{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.split__item{
  background: rgba(59,130,246,.06);
  border: 1px solid rgba(59,130,246,.12);
  border-radius: var(--radius-sm);
  padding: 14px;
}
.split__title{
  font-size: 16px;
  margin-bottom: 8px;
}
.split__text{
  color: var(--muted);
  font-size: 14px;
}

/* =========================================================
   Services grid
========================================================= */
.grid{
  display: grid;
  gap: 16px;
}
.grid--services{
  grid-template-columns: repeat(3, 1fr);
}

.service-card{
  background: linear-gradient(180deg, #ffffff, #f7faff);
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 18px;
  display: grid;
  gap: 10px;
}
.service-card__top{
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-card__icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 18px;
  background: linear-gradient(180deg, rgba(59,130,246,.18), rgba(37,99,235,.12));
  border: 1px solid rgba(59,130,246,.22);
}
.service-card__title{
  font-size: 16px;
  letter-spacing: -0.01em;
}
.service-card__text{
  color: var(--muted);
  font-size: 14px;
}
.service-card__link{
  color: var(--accent2);
  font-weight: 800;
  font-size: 13px;
  margin-top: 4px;
}

/* =========================================================
   Contact
========================================================= */
.contact{
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 16px;
  align-items: start;
}

.contact__title{
  font-size: 16px;
  margin-bottom: 12px;
}

.list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.dot{
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--accent2));
  margin-right: 10px;
  transform: translateY(1px);
}

.note{
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
  background: rgba(15, 23, 42, .04);
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 12px;
  padding: 12px;
}

.form-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.field{
  display: grid;
  gap: 8px;
}
.field--full{ grid-column: 1 / -1; }
.field__label{
  font-size: 13px;
  font-weight: 800;
  color: #1f2a44;
}
.field__input{
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, .12);
  padding: 0 12px;
  font-size: 14px;
  outline: none;
  background: #fff;
}
.field__input:focus{
  border-color: rgba(59,130,246,.55);
  box-shadow: 0 0 0 4px rgba(59,130,246,.14);
}
.field__input--area{
  height: 128px;
  padding: 12px;
  resize: vertical;
}

.form-actions{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.form-hint{
  color: var(--muted);
  font-size: 13px;
}

/* =========================================================
   Footer
========================================================= */
.site-footer{
  background: #0b1730;
  color: rgba(255,255,255,.82);
  border-top: 1px solid rgba(255,255,255,.10);
  padding: 18px 0;
}
.footer__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.footer__text{
  font-size: 13px;
}
.footer__link{
  font-size: 13px;
  font-weight: 800;
  color: rgba(255,255,255,.86);
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}

/* =========================================================
   Responsive
========================================================= */
@media (max-width: 980px){
  .hero__grid{ grid-template-columns: 1fr; }
  .hero__visual{ min-height: 220px; }
  .grid--services{ grid-template-columns: 1fr; }
  .contact{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; }
}

@media (max-width: 860px){
  .nav__toggle{ display: inline-flex; align-items:center; justify-content:center; }
  .nav__cta{ display: none; }

  .nav__list{
    display: none;
    position: absolute;
    right: var(--gutter);
    top: calc(var(--header-h) - 6px);
    background: rgba(10,20,40,.98);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    padding: 10px;
    min-width: 210px;
    box-shadow: 0 20px 50px rgba(2,6,23,.45);
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .nav__list--open{ display: flex; }
  .nav__link{ padding: 10px 10px; }
  .nav{ position: relative; }
}

@media (max-width: 520px){
  .form-grid{ grid-template-columns: 1fr; }
  .footer__inner{ flex-direction: column; align-items: flex-start; }
}
