:root{
  --bg:#0b0f17;
  --panel:#101828;
  --card:#141f33;
  --text:#eaf0ff;
  --muted:#a6b1c7;
  --line:rgba(255,255,255,.10);
  --accent:#6ee7ff;
  --accent2:#a78bfa;
  --radius:18px;
  --shadow: 0 16px 40px rgba(0,0,0,.35);
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 10% -10%, rgba(110, 255, 238, 0.18), transparent 60%),
              radial-gradient(900px 500px at 90% 0%, rgba(167,139,250,.14), transparent 55%),
              var(--bg);
  color:var(--text);
  line-height:1.5;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
.container{ width:min(1100px, 92%); margin:0 auto; }

.muted{ color:var(--muted); }
.small{ font-size:.9rem; }
.accent{ color:var(--accent); }

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:.9rem 1.1rem;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.15);
  background: linear-gradient(135deg, rgba(110,231,255,.20), rgba(167,139,250,.18));
  box-shadow: var(--shadow);
  font-weight:700;
  transition: transform .15s ease, filter .15s ease, background .15s ease;
}
.btn:hover{ transform: translateY(-1px); filter: brightness(1.05); }
.btn:active{ transform: translateY(0); }

.btn-ghost{
  background: transparent;
  box-shadow:none;
}
.btn-sm{ padding:.65rem .95rem; font-weight:700; }
.btn-full{ width:100%; }

.site-header{
  position: sticky; top:0; z-index:20;
  background: rgba(11,15,23,.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: .9rem 0;
  gap: 1rem;
}
.brand{ display:flex; align-items:center; gap:.6rem; }
.brand-mark{
  width:36px; height:36px; border-radius:12px;
  display:grid; place-items:center;
  background: linear-gradient(135deg, rgba(110,231,255,.35), rgba(167,139,250,.3));
  border:1px solid rgba(255,255,255,.15);
}
.brand-text{ letter-spacing:.2px;}

.nav{ display:flex; align-items:center; gap: .9rem; }
.nav a{ padding:.45rem .55rem; border-radius:10px;
  color:var(--muted); 
}
.nav a:hover{ background: rgba(255,255,255,.06); color: var(--text); }
.nav a.is-active{ color: var(--text); background: rgba(255,255,255,.06); }

.burger{
  display:none;
  width:44px; height:40px; border-radius:12px;
  background: rgba(255,255,255,.06);
  border:1px solid var(--line);
  cursor:pointer;
}
.burger span{
  display:block; height:2px; width:18px; margin:4px auto;
  background: rgba(255,255,255,.8);
}

/* HERO */
.hero{ padding: 3.2rem 0 2.2rem; }
.hero-inner{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1.5rem;
  align-items: start;
}
.kicker{
  display:inline-flex;
  padding:.35rem .6rem;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 .7rem;
}
h1{ font-size: clamp(2rem, 3.6vw, 3.2rem); line-height:1.1; margin:.2rem 0 .9rem; }
.lead, ul{ font-size:1.1rem; color: var(--muted); max-width: 60ch; }
.hero-cta{ display:flex; gap:.8rem; flex-wrap:wrap; margin: 1.2rem 0 1rem; }

.trust{
  display:grid; grid-template-columns: repeat(3, 1fr);
  gap: .8rem; margin-top: 1.1rem;
}
.trust-item{
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  padding: .9rem;
}
.trust-title{ font-weight:800; margin-bottom:.25rem; }

.hero-card{
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem;
}
.profile{ display:flex; gap:.9rem; align-items:center; margin-bottom: 1rem; }
.profile-img{
  width:64px; height:64px; border-radius:16px; object-fit:cover;
  border:1px solid rgba(255,255,255,.15);
}
.profile-name{ font-size:1.1rem; font-weight:800; }

.section{ padding: 2.4rem 0; }
.section-soft{ background: rgba(255,255,255,.03); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.section-head{ margin-bottom: 1.2rem; }
.section-head h2{ margin:0 0 .35rem; font-size: 1.6rem; }

.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.cards-3{ grid-template-columns: repeat(3, 1fr); }
.card{
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  padding: 1.1rem;
}
.card h3{ margin:.1rem 0 .6rem; }
.grid-2{ display:grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.mini-title{ font-weight:800; }
.link{ color: var(--accent); font-weight:700; }
.link:hover{ text-decoration: underline; }

.cta-band{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: var(--radius);
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
}

.page-hero{ padding: 2.2rem 0 1rem; }
.page{ padding-bottom: 1.5rem; }

/* Pricing */
.pricing{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: stretch;
}
.price-card{ position:relative; }
.price-top{ display:flex; align-items:flex-end; justify-content:space-between; gap:1rem; }
.price{ font-size:0.8rem; font-weight:600; }
.badge{
  position:absolute; top: 12px; right: 12px;
  font-size:.85rem; font-weight:800;
  padding:.3rem .6rem; border-radius:999px;
  background: rgba(110,231,255,.18);
  border:1px solid rgba(110,231,255,.25);
  color: var(--text);
}
.popular{
  background: linear-gradient(135deg, rgba(110,231,255,.09), rgba(167,139,250,.08));
  border-color: rgba(110,231,255,.22);
}
.options{ margin-top: 1rem; }

.list{ margin:.6rem 0 0; padding-left: 1.1rem; color: var(--muted); }
.list li{ margin:.35rem 0; }

.timeline{
  list-style: none;
  padding:0; margin:0;
  display:grid;
  gap: .75rem;
}
.timeline li{
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  padding: .9rem 1rem;
}

.cta-inline{ display:flex; gap:.8rem; margin-top: 1.1rem; flex-wrap:wrap; }

.highlight{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 1rem;
  margin-top: 1.2rem;
}

/* About */
.about{
  display:grid;
  grid-template-columns: 0.5fr 1.5fr;
  gap: 1.4rem;
  align-items:start;
  /* align-items: center; */
}
.about-media{
  display: flex;
  justify-content: center;
}
.about-img{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.15);
  box-shadow: var(--shadow);
  object-fit: cover;
  width: 100%;
  max-height: 360px;
}

/* Contact */
.contact-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1rem;
}
.form{ display:grid; gap:.9rem; }
label{ display:grid; gap:.35rem; font-weight:700; }
input, select, textarea{
  width:100%;
  background: rgba(255,255,255,.04);
  border:1px solid var(--line);
  border-radius: 14px;
  padding: .85rem .9rem;
  color: var(--text);
  font: inherit;
}
textarea{ resize: vertical; }

/* SELECT + OPTIONS (fix thème sombre) */
select {
    background-color: rgba(255,255,255,0.04);
    color: var(--text);
}

select option {
    background-color: #0b0f17; /* fond sombre */
    color: #eaf0ff;            /* texte clair */
}
select option:hover {
    background-color: #141f33;
}

.alert{
  border:1px solid rgba(255,120,120,.35);
  background: rgba(255,120,120,.08);
  border-radius: var(--radius);
  padding: .8rem 1rem;
  margin: .8rem 0 1rem;
}
.divider{ height:1px; background: var(--line); margin: 1rem 0; }

/* Footer */
.site-footer{
  border-top:1px solid var(--line);
  background: rgba(0,0,0,.18);
  padding: 2rem 0;
}
.footer-inner{
  display:grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 1rem;
}
.footer-brand{ font-weight:900; font-size:1.1rem; margin-bottom:.25rem; }
.footer-links{ display:grid; gap:.4rem; }
.footer-links a{ color: var(--muted); }
.footer-links a:hover{ color: var(--text); }

@media (max-width: 900px){
  .hero-inner{ grid-template-columns: 1fr; }
  .trust{ grid-template-columns: 1fr; }
  .cards, .pricing{ grid-template-columns: 1fr; }
  .about, .contact-grid{ grid-template-columns: 1fr; }
  .footer-inner{ grid-template-columns: 1fr; }
}

@media (max-width: 760px){
  .burger{ display:block; }
  .nav{
    position: absolute;
    right: 4%;
    top: 66px;
    width: min(92%, 420px);
    padding: .8rem;
    border:1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(11,15,23,.92);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap: .35rem;
  }
  .nav.is-open{ display:flex; }
}

.brand-logo{
  height: 70px;        /* taille réelle du header */
  width: auto;         /* garde les proportions */
  max-width: 120px;    /* sécurité */
  display: block;
}

.site-footer .brand-logo{
  height: 100px;
}

/* CHAT WIDGET */
#chatbot-button {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #0BC5EA;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: 0.25s ease;
}

#chatbot-button:hover {
    transform: scale(1.1);
    background: #08aecb;
}

#chatbot-window {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 380px;
    height: 520px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.25);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

#chatbot-header {
    background: #0B1120;
    color: white;
    padding: 12px 18px;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#chatbot-header span {
    cursor: pointer;
}

#chatbot-messages{
  color: #0b0f17;
}
#chatbot-input {
    border-top: 1px solid #e0e0e0;
    padding: 10px;
    display: flex;
    gap: 8px;
    color: #0b0f17;
}

/* CHAT MESSAGES */
#chatbot-messages {
    flex: 1;
    padding: 12px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #f7f7f9;
}

/* message commun */
.chatbot-msg {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word;
}

/* message utilisateur → droite */
.chatbot-user {
    align-self: flex-end;
    background: #0BC5EA;
    color: white;
    border-bottom-right-radius: 4px;
}

/* message bot → gauche */
.chatbot-bot {
    align-self: flex-start;
    background: #e5e7eb;
    color: #111827;
    border-bottom-left-radius: 4px;
}

/* END CHAT WIDGET */
