/* ===== OlaMedic – Chart Graphique ===== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --blue-primary: #204A87;
  --blue-dark: #183A6E;
  --blue-light: #3A7BD5;
  --magenta: #E41C70;
  --orange: #FF8C00;
  --white: #FFFFFF;
  --gray-light: #F5F7FA;
  --gray-mid: #E0E4EA;
  --text-dark: #222222;
  --text-body: #444444;
  --gradient-magenta-orange: linear-gradient(135deg, #E41C70 0%, #FF8C00 100%);
  --gradient-blue: linear-gradient(135deg, #204A87 0%, #3A7BD5 100%);
  --shadow-card: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-soft: 0 4px 15px rgba(0,0,0,0.08);
  --shadow-header: 0 2px 24px rgba(0,0,0,0.10);
  --radius-card: 16px;
  --radius-btn: 30px;
  --transition: all 0.3s ease;
  --header-h: 72px;
}

/* Reset & Base */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; font-size:16px; }
body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width:100%; height:auto; display:block; }
ul { list-style: none; }

/* ===== HEADER / NAV ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: var(--blue-primary);
  box-shadow: var(--shadow-header);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-logo-img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1); /* White on blue bg */
}

/* Desktop nav */
.header-nav {
  display: flex;
  align-items: center;
  gap: 0;
}
.header-nav a {
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: var(--transition);
  position: relative;
}
.header-nav a:hover {
  color: var(--white);
}
.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--gradient-magenta-orange);
  transform: scaleX(0);
  transition: transform 0.25s ease;
  border-radius: 2px;
}
.header-nav a:hover::after,
.header-nav a.active::after {
  transform: scaleX(1);
}

/* Hamburger (mobile) */
.header-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 210;
}
.header-hamburger span {
  width: 26px;
  height: 2.5px;
  border-radius: 3px;
  background: var(--white);
  transition: var(--transition);
}

/* Mobile menu */
@media (max-width: 900px) {
  .header-nav {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 30px 30px;
    gap: 4px;
    transition: right 0.35s ease;
    box-shadow: -4px 0 20px rgba(0,0,0,0.12);
  }
  .header-nav.open {
    right: 0;
  }
  .header-nav a {
    color: var(--blue-primary);
    font-size: 0.95rem;
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid var(--gray-mid);
  }
  .header-nav a::after { display: none; }
  .header-hamburger { display: flex; }
}

/* Body offset for fixed header */
.slide { padding-top: var(--header-h); }

/* ===== SLIDE SYSTEM ===== */
.slide {
  width: 100%;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-inner {
  width: 100%;
  max-width: 1280px;
  padding: 60px 50px;
  position: relative;
  z-index: 2;
}

/* ===== LOGO IMAGE ===== */
.cover-logo-img {
  height: 100px;
  width: auto;
}

.watermark-img {
  height: 32px;
  width: auto;
  opacity: 0.35;
}

.contact-logo-img {
  height: 100px;
  width: auto;
}

/* Logo watermark bottom-right */
.logo-watermark {
  position: absolute;
  bottom: 25px;
  right: 35px;
  z-index: 5;
}

/* ===== COVER SLIDE ===== */
.slide-cover {
  background: var(--white);
  position: relative;
  padding-top: 0;
}

.slide-cover .slide-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  padding-top: calc(var(--header-h) + 50px);
}

.cover-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 40px;
}

.cover-logo { margin-bottom: 30px; }

.cover-icons {
  display: flex;
  gap: 24px;
  margin-bottom: 35px;
}
.cover-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 2px solid var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-primary);
  transition: var(--transition);
}
.cover-icon:hover {
  background: var(--blue-primary);
  color: var(--white);
}
.cover-icon svg { width: 30px; height: 30px; }

.cover-tagline {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-body);
  line-height: 1.8;
  max-width: 420px;
}
.cover-tagline strong { color: var(--blue-primary); }

/* Cover image – large */
.cover-right {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 600px;
}
.cover-right img {
  width: 100%;
  height: 100%;
  min-height: 600px;
  object-fit: cover;
  border-radius: 20px;
}

/* ===== SECTION BANNER ===== */
.section-banner {
  display: inline-block;
  padding: 14px 40px;
  border-radius: var(--radius-btn);
  color: var(--white);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 1px;
  margin-bottom: 30px;
  text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.section-banner.gradient {
  background: var(--gradient-magenta-orange);
}
.section-banner.blue {
  background: var(--gradient-blue);
}

/* ===== TWO-COLUMN LAYOUT ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* ===== TEXT STYLES ===== */
.slide-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--blue-primary);
  margin-bottom: 20px;
  line-height: 1.2;
}

.slide-subtitle {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-body);
  margin-bottom: 25px;
  line-height: 1.8;
}

.bullet-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-body);
}
.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-magenta-orange);
}

/* ===== CARDS ===== */
.cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 35px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.16);
}

/* Card images – ENLARGED */
.card-img {
  height: 300px;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.card-img img { width:100%; height:100%; object-fit:cover; }
.card-body { padding: 22px 20px; }
.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-primary);
  margin-bottom: 8px;
}
.card-text {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ===== IMAGE CONTAINERS – ENLARGED ===== */
.img-frame {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== VALUES BAR ===== */
.values-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
}
.value-pill {
  display: inline-block;
  padding: 10px 26px;
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  background: var(--gradient-magenta-orange);
  box-shadow: 0 4px 16px rgba(228,28,112,0.25);
}

/* ===== SOLUTIONS OVERLAY ===== */
.solutions-overlay {
  background: rgba(32,74,135,0.92);
  border-radius: var(--radius-card);
  padding: 35px 40px;
  color: var(--white);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.solutions-overlay h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.solutions-overlay li {
  padding-left: 20px;
  margin-bottom: 8px;
  font-weight: 400;
  font-size: 1rem;
}
.solutions-overlay li::before {
  content: '\2022';
  margin-right: 10px;
  color: var(--orange);
  font-weight: 800;
}

/* ===== CLIENTS LIST ===== */
.clients-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.client-item {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue-primary);
  padding-left: 30px;
  position: relative;
}
.client-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--gradient-magenta-orange);
}

/* ===== CONTACT SLIDE ===== */
.slide-contact {
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 80px;
}
.contact-logo { margin-bottom: 80px; }

.contact-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--blue-primary);
  padding: 50px 40px;
  color: var(--white);
  text-align: center;
}
.contact-footer .contact-line {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.6;
}
.contact-footer .contact-label {
  font-weight: 800;
  margin-right: 8px;
}

/* ===== LIGHT BLUE INFO BOX ===== */
.info-box {
  background: rgba(58,123,213,0.08);
  border-radius: var(--radius-card);
  padding: 28px 32px;
  margin-top: 30px;
}
.info-box ul li {
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 0.98rem;
  color: var(--text-body);
}
.info-box ul li::before {
  content: '\2022';
  margin-right: 10px;
  color: var(--blue-primary);
  font-weight: 800;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 30px; }
  .cards-row { grid-template-columns: 1fr; }
  .cover-icons { flex-wrap: wrap; }
  .slide-cover .slide-inner { grid-template-columns: 1fr; gap: 30px; }
  .slide-inner { padding: 40px 24px; }
  .slide-title { font-size: 1.7rem; }
  .site-header { padding: 0 20px; }
  .cover-right { min-height: 400px; }
  .cover-right img { min-height: 400px; }
  .cover-logo-img { height: 70px; }
  .header-logo-img { height: 36px; }
  .card-img { height: 260px; }
  .img-frame { height: auto !important; }
}

/* ===== NAV DOTS ===== */
.slide-nav {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 100;
}
.slide-nav a {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  border: 1.5px solid var(--blue-primary);
  transition: var(--transition);
}
.slide-nav a.active,
.slide-nav a:hover {
  background: var(--blue-primary);
  transform: scale(1.3);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--blue-primary); border-radius: 4px; }

/* ===== FOOTER TAGLINE ===== */
.footer-tagline {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--blue-primary);
  letter-spacing: 0.5px;
  text-align: center;
  margin-top: 10px;
}