/* ONESA-SERVICES — Feuille de style principale v1.0 */
/* Optimisée pour hébergement mutualisé Ionos */

:root {
  --pu: #6B2D8B;
  --pud: #4A1A6A;
  --pum: #9B5DC8;
  --pul: #F3E5F5;
  --go: #E8C840;
  --god: #7a5a00;
  --gol: #FFFDE7;
  --bl: #1BA8C8;
  --bld: #0277BD;
  --bll: #E3F2FD;
  --gr: #4CAF50;
  --grd: #2E7D32;
  --grl: #E8F5E9;
  --re: #E63946;
  --rel: #FFEBEE;
  --or: #F4880C;
  --orl: #FFF3E0;
  --ord: #E65100;
  --nv: #3F51B5;
  --nvl: #E8EAF6;
  --tl: #0F6E56;
  --tll: #E1F5EE;
  --lv: #F8F4FC;
  --wh: #ffffff;
  --tx: #1A1A1A;
  --t2: #444444;
  --t3: #777777;
  --bd: #E0D4ED;
  --f: 'Montserrat', Arial, sans-serif;
  --r: 12px;
  --rs: 8px;
  --max: 1100px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--f); color: var(--tx); background: #fff; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* RAINBOW BAR */
.rb { height: 5px; display: flex; }
.rb span { flex: 1; }

/* GLOBE */
.globe { border-radius: 50%; overflow: hidden; background: #fff; flex-shrink: 0; }
.gs { width: 100%; height: 100%; display: flex; flex-direction: column; padding: 2px; gap: 1px; }
.gs span { flex: 1; border-radius: 1px; }

/* NAVIGATION */
nav {
  background: var(--pu);
  padding: 0.7rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,0.15);
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-brand { font-size: 15px; font-weight: 900; color: #fff; }
.nav-brand span { color: var(--go); }
.nav-menu { display: flex; gap: 1.5rem; margin-left: auto; align-items: center; flex-wrap: wrap; }
.nav-menu a { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.82); transition: color 0.2s; }
.nav-menu a:hover { color: #fff; }
.nav-cta { background: var(--go); color: var(--tx) !important; padding: 6px 16px; border-radius: 20px; font-weight: 800 !important; }
.nav-hamburger { display: none; flex-direction: column; gap: 4px; cursor: pointer; margin-left: auto; }
.nav-hamburger span { width: 22px; height: 2px; background: #fff; border-radius: 1px; transition: 0.3s; }

/* HERO */
.hero { background: var(--pud); padding: 4.5rem 1.5rem 0; overflow: hidden; position: relative; }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 24px);
}
.hero-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; position: relative; z-index: 1; }
.globe-hero { width: 80px; height: 80px; border: 3px solid rgba(255,255,255,0.25); margin-bottom: 0.75rem; }
.gs-hero { padding: 6px; gap: 2px; }
.hero-brand { font-size: 36px; font-weight: 900; color: #fff; letter-spacing: -1px; line-height: 1; }
.hero-brand span { color: var(--go); }
.hero-sub { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.5); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 1rem; }
.hero h1 { font-size: clamp(22px,3.5vw,40px); font-weight: 900; color: #fff; line-height: 1.2; margin-bottom: 0.85rem; }
.hero h1 em { color: var(--go); font-style: normal; }
.hero-desc { font-size: 14px; color: rgba(255,255,255,0.75); line-height: 1.75; margin-bottom: 1.5rem; max-width: 500px; }
.hero-pills { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.pill { padding: 4px 13px; border-radius: 20px; font-size: 11px; font-weight: 700; border: 1.5px solid rgba(255,255,255,0.22); color: rgba(255,255,255,0.88); }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

/* BUTTONS */
.btn { padding: 11px 26px; border-radius: 24px; font-size: 13px; font-weight: 800; cursor: pointer; border: none; font-family: var(--f); transition: all 0.2s; display: inline-block; }
.btn-primary { background: var(--go); color: var(--tx); }
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.4); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-purple { background: var(--pu); color: #fff; }
.btn-purple:hover { background: var(--pud); }
.btn-green { background: var(--gr); color: #fff; }
.btn-fw { width: 100%; display: block; text-align: center; }

/* HERO MOCKUP */
.hero-mockup { background: var(--pu); border-radius: 18px 18px 0 0; overflow: hidden; box-shadow: 0 20px 55px rgba(0,0,0,0.3); border: 5px solid rgba(255,255,255,0.15); }
.hm-bar { background: var(--pud); padding: 0.75rem 1rem; display: flex; align-items: center; gap: 6px; }
.hm-dot { width: 8px; height: 8px; border-radius: 50%; }
.hm-body { background: var(--lv); padding: 1rem; }
.hm-card { background: #fff; border-radius: 9px; padding: 0.75rem; margin-bottom: 0.5rem; display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--bd); }
.hm-val { font-size: 20px; font-weight: 900; }
.hm-lbl { font-size: 10px; color: var(--t3); }
.hm-badge { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 20px; }

/* STATS BAR */
.stats-bar { background: var(--pu); padding: 2.25rem 1.5rem; }
.stats-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; text-align: center; }
.stat-num { font-size: 34px; font-weight: 900; color: var(--go); line-height: 1; }
.stat-lbl { font-size: 11px; color: rgba(255,255,255,0.72); margin-top: 4px; font-weight: 600; }

/* SECTIONS */
.section { padding: 4.5rem 1.5rem; }
.section-lv { background: var(--lv); }
.section-pu { background: var(--pud); }
.container { max-width: var(--max); margin: 0 auto; }
.section-tag { display: inline-block; font-size: 10px; font-weight: 800; padding: 3px 13px; border-radius: 20px; margin-bottom: 0.65rem; letter-spacing: 0.5px; text-transform: uppercase; }
.section-tag-pu { background: var(--pul); color: var(--pu); }
.section-tag-gr { background: var(--grl); color: var(--grd); }
.section-tag-or { background: var(--orl); color: var(--ord); }
.section-tag-go { background: var(--gol); color: var(--god); }
.section-tag-bl { background: var(--bll); color: var(--bld); }
h2 { font-size: clamp(22px,3vw,34px); font-weight: 900; line-height: 1.2; margin-bottom: 0.65rem; }
.section-desc { font-size: 14px; color: var(--t2); line-height: 1.75; max-width: 600px; margin-bottom: 2.5rem; }
.text-center { text-align: center; }
.text-center .section-desc { margin-left: auto; margin-right: auto; }

/* GRIDS */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 0.9rem; }

/* CARDS */
.card { background: #fff; border-radius: var(--r); padding: 1.5rem; border: 1px solid var(--bd); transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(107,45,139,0.1); }
.card-icon { width: 52px; height: 52px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 0.9rem; }
.card-title { font-size: 16px; font-weight: 800; margin-bottom: 0.5rem; }
.card-desc { font-size: 13px; color: var(--t2); line-height: 1.7; }

/* POLE CARDS */
.pole-img { height: 185px; position: relative; overflow: hidden; }
.pole-img img { width: 100%; height: 100%; object-fit: cover; }
.pole-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.28); }
.pole-tag { position: absolute; top: 10px; left: 10px; font-size: 10px; font-weight: 800; padding: 3px 10px; border-radius: 20px; }
.pole-body { padding: 1.25rem; background: #fff; }
.pole-title { font-size: 16px; font-weight: 800; margin-bottom: 0.45rem; }
.pole-desc { font-size: 12px; color: var(--t2); line-height: 1.65; margin-bottom: 0.75rem; }
.pole-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.ptag { font-size: 10px; font-weight: 700; padding: 2px 9px; border-radius: 20px; }

/* SAP CARDS */
.sap-card { background: var(--grl); border-radius: var(--r); padding: 1.1rem; border-left: 4px solid var(--gr); }
.sap-title { font-size: 13px; font-weight: 800; color: var(--grd); margin-bottom: 0.35rem; }
.sap-desc { font-size: 12px; color: var(--t2); line-height: 1.6; }

/* TECH CARDS */
.tech-card { background: var(--orl); border-radius: var(--r); padding: 0.9rem; border-top: 3px solid var(--or); text-align: center; }
.tech-title { font-size: 12px; font-weight: 700; color: var(--ord); margin-bottom: 0.3rem; }
.tech-desc { font-size: 11px; color: var(--t2); line-height: 1.5; }

/* SECTOR CARDS */
.sector-card { border-radius: var(--r); padding: 1.1rem; border: 1px solid var(--bd); }

/* RH ITEMS */
.rh-item { background: var(--pul); border-radius: var(--rs); padding: 0.9rem; border-left: 3px solid var(--pu); }
.rh-item-title { font-size: 12px; font-weight: 700; color: var(--pu); margin-bottom: 0.25rem; }
.rh-item-desc { font-size: 11px; color: var(--t2); line-height: 1.55; }

/* PROCESS */
.process-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; text-align: center; position: relative; }
.process-steps::before { content: ''; position: absolute; top: 31px; left: 12%; right: 12%; height: 2px; background: var(--bd); }
.step-circle { width: 62px; height: 62px; border-radius: 50%; background: var(--pu); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 900; margin: 0 auto 0.85rem; position: relative; z-index: 1; border: 4px solid #fff; box-shadow: 0 0 0 2px var(--pu); }
.step-title { font-size: 13px; font-weight: 700; margin-bottom: 0.35rem; }
.step-desc { font-size: 11px; color: var(--t2); line-height: 1.55; }

/* ELIOLY P SECTION */
.elioly-section { background: var(--pud); padding: 4.5rem 1.5rem; position: relative; overflow: hidden; }
.elioly-section::before { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.025) 0, rgba(255,255,255,0.025) 1px, transparent 1px, transparent 30px); pointer-events: none; }
.elioly-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; position: relative; z-index: 1; }
.elioly-features { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; margin-top: 1.5rem; }
.ef { background: rgba(255,255,255,0.07); border-radius: var(--rs); padding: 0.85rem; border: 1px solid rgba(255,255,255,0.12); }
.ef-title { font-size: 12px; font-weight: 700; color: var(--go); margin-bottom: 0.2rem; }
.ef-desc { font-size: 11px; color: rgba(255,255,255,0.65); line-height: 1.5; }

/* TARIFS ELIOLY P */
.tarif-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 0.75rem; margin-bottom: 0.75rem; }
.tarif-box { background: rgba(255,255,255,0.07); border-radius: var(--rs); padding: 0.85rem; text-align: center; border: 1px solid rgba(255,255,255,0.12); }
.tarif-label { font-size: 10px; color: rgba(255,255,255,0.5); margin-bottom: 0.25rem; }
.tarif-price-big { font-size: 24px; font-weight: 900; }
.tarif-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 0.5rem; }

/* TESTIMONIALS */
.testi-card { background: var(--lv); border-radius: var(--r); padding: 1.25rem; border: 1px solid var(--bd); }
.testi-stars { color: var(--go); font-size: 14px; margin-bottom: 0.6rem; }
.testi-text { font-size: 12px; color: var(--t2); line-height: 1.7; margin-bottom: 0.85rem; font-style: italic; }
.testi-avatar { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex-shrink: 0; }

/* PARTNERS */
.partners-bar { background: var(--lv); padding: 2.5rem 1.5rem; }
.partner-logo { background: #fff; border: 1px solid var(--bd); border-radius: var(--rs); padding: 0.55rem 1.1rem; font-size: 12px; font-weight: 800; color: var(--t2); }

/* CONTACT */
.contact-section { background: var(--pu); padding: 4.5rem 1.5rem; }
.contact-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-form { background: #fff; border-radius: var(--r); padding: 1.75rem; }
.form-group { margin-bottom: 0.9rem; }
.form-group label { display: block; font-size: 10px; font-weight: 700; color: var(--t3); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.3rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 9px 13px; border: 1.5px solid var(--bd); border-radius: var(--rs); font-size: 12px; font-family: var(--f); color: var(--tx); background: #fff; transition: border 0.2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--pu); }
.form-group textarea { height: 85px; resize: none; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.contact-detail { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 0.85rem; }
.cd-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.cd-label { font-size: 10px; color: rgba(255,255,255,0.5); font-weight: 700; text-transform: uppercase; }
.cd-value { font-size: 14px; color: #fff; font-weight: 600; }
.social-links { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1.25rem; }
.sl-btn { padding: 7px 14px; border-radius: 18px; font-size: 11px; font-weight: 700; cursor: pointer; border: none; font-family: var(--f); transition: opacity 0.2s; }
.sl-btn:hover { opacity: 0.9; }

/* RGPD */
.rgpd-section { background: var(--lv); padding: 3rem 1.5rem; }
.rgpd-card { padding: 0.9rem; background: #fff; border-radius: var(--rs); border: 1px solid var(--bd); }

/* COOKIE BANNER */
.cookie-banner { background: var(--pud); padding: 0.85rem 1.5rem; border-top: 3px solid var(--go); }
.cookie-inner { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.cookie-text { font-size: 11px; color: rgba(255,255,255,0.8); flex: 1; }
.cookie-text a { color: var(--go); text-decoration: underline; }
.ck-btn { padding: 6px 14px; border-radius: 18px; font-size: 11px; font-weight: 700; cursor: pointer; border: none; font-family: var(--f); }
.ck-accept { background: var(--go); color: var(--tx); }
.ck-refuse { background: transparent; color: rgba(255,255,255,0.65); border: 1px solid rgba(255,255,255,0.25); }

/* FOOTER */
footer { background: var(--pud); padding: 2.5rem 1.5rem 1.25rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-col h4 { font-size: 10px; font-weight: 800; color: rgba(255,255,255,0.85); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 0.85rem; }
.footer-col a { display: block; font-size: 11px; color: rgba(255,255,255,0.5); margin-bottom: 0.4rem; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 1.25rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem; }
.footer-legal { font-size: 10px; color: rgba(255,255,255,0.4); }
.footer-legal a { color: rgba(255,255,255,0.55); margin: 0 0.35rem; }
.rbadge { display: inline-flex; align-items: center; gap: 0.3rem; background: rgba(255,255,255,0.06); padding: 3px 10px; border-radius: 20px; font-size: 9px; font-weight: 700; color: rgba(255,255,255,0.55); border: 1px solid rgba(255,255,255,0.1); }
.footer-badges { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.footer-social a { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #fff; margin-right: 0.35rem; }

/* INFO BOX */
.info-box { border-radius: var(--rs); padding: 1rem 1.25rem; margin: 0.85rem 0; }
.info-box-pu { background: var(--pul); border-left: 4px solid var(--pu); }
.info-box-gr { background: var(--grl); border-left: 4px solid var(--gr); }
.info-box-go { background: var(--gol); border-left: 4px solid var(--go); }
.info-box-bl { background: var(--bll); border-left: 4px solid var(--bl); }
.info-box-re { background: var(--rel); border-left: 4px solid var(--re); }
.info-title { font-size: 13px; font-weight: 700; margin-bottom: 0.35rem; }
.info-text { font-size: 12px; line-height: 1.65; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner, .contact-inner, .elioly-inner, .grid-2 { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-menu { display: none; }
  .nav-hamburger { display: flex; }
}
@media (max-width: 600px) {
  .grid-3, .grid-4, .sap-grid, .elioly-features, .footer-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 3rem 1.25rem; }
}
