/* ============================================================
   LAPIS-IT — style.css
   Partagé entre index.html et pro.html
   ============================================================ */

/* ── VARIABLES ── */
:root {
  --cyan:       #2EC7CC;
  --lapis:      #1A3D7C;
  --light:      #F2F4F7;
  --slate:      #2B2F38;
  --gold:       #F2C94C;
  --white:      #FFFFFF;
  --border:     #DDE1E9;
  --muted:      #6B7280;
  --cyan-light: rgba(46, 199, 204, 0.12);
  --shadow-sm:  0 4px 18px rgba(26, 61, 124, 0.08);
  --shadow-md:  0 12px 40px rgba(26, 61, 124, 0.12);
  --shadow-lg:  0 20px 60px rgba(26, 61, 124, 0.1);
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--light);
  color: var(--slate);
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--lapis);
  margin-bottom: 1.2rem;
}
h1 em { font-style: normal; color: var(--cyan); }

h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: clamp(1.75rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--lapis);
  margin-bottom: 0.9rem;
}

h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--lapis);
  margin-bottom: 0.5rem;
}

p { line-height: 1.75; }

/* ── NAVBAR ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 5%;
  background: rgba(242, 244, 247, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  animation: fadeDown 0.6s ease both;
}
.logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 1.35rem;
  color: var(--lapis); text-decoration: none;
}
.logo span { color: var(--cyan); }
.logo-img {
  height: 38px;
  width: auto;
  display: block;
  /* Le logo a un fond noir — on le rend transparent avec mix-blend-mode */
  mix-blend-mode: multiply;
  filter: brightness(0) saturate(100%) invert(62%) sepia(60%) saturate(400%) hue-rotate(145deg) brightness(95%);
}
nav ul { list-style: none; display: flex; gap: 2.5rem; }
nav ul a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem; font-weight: 600;
  color: var(--muted); text-decoration: none;
  transition: color 0.2s;
}
nav ul a:hover { color: var(--lapis); }
.nav-cta {
  background: var(--lapis); color: var(--white);
  padding: 0.6rem 1.4rem; border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem; font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--cyan); transform: translateY(-1px); }
.nav-pro {
  background: transparent; color: var(--lapis);
  padding: 0.6rem 1.2rem; border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem; font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--lapis);
  transition: all 0.2s; margin-right: 0.5rem;
}
.nav-pro:hover { background: var(--lapis); color: var(--white); }
.nav-back {
  color: var(--muted); font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem; font-weight: 600;
  text-decoration: none; display: flex; align-items: center; gap: 0.4rem;
  transition: color 0.2s; margin-right: 0.25rem;
  background: none; border: none; padding: 0;
}
.nav-back:hover { color: var(--lapis); }
.nav-divider {
  width: 1px; height: 28px;
  background: var(--border);
  margin: 0 0.5rem;
  flex-shrink: 0;
}
.nav-actions {
  display: flex; align-items: center; gap: 0.75rem;
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--cyan); color: var(--white);
  padding: 0.9rem 2rem; border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem; font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 18px rgba(46, 199, 204, 0.3);
  display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(46, 199, 204, 0.45); }

.btn-secondary {
  color: var(--lapis); font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem; font-weight: 600;
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem;
  transition: color 0.2s;
}
.btn-secondary:hover { color: var(--cyan); }
.btn-secondary::after { content: '→'; }

.btn-gold {
  background: var(--gold); color: var(--slate);
  padding: 0.9rem 2rem; border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem; font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 18px rgba(242, 201, 76, 0.35);
  white-space: nowrap; display: inline-block;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(242, 201, 76, 0.5); }

.btn-outline-white {
  color: rgba(255,255,255,0.7); font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem; font-weight: 600;
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem;
  transition: color 0.2s;
}
.btn-outline-white:hover { color: var(--white); }
.btn-outline-white::after { content: '→'; }

/* ── SECTION UTILS ── */
section { padding: 6rem 5%; }

.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.73rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 0.7rem;
}
.section-sub {
  color: var(--muted); font-size: 1rem;
  line-height: 1.75; max-width: 520px;
}
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .section-sub { margin: 0 auto; }

/* ── HERO (PARTICULIERS) ── */
.hero {
  min-height: 100vh; display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center; padding: 7rem 5% 4rem; gap: 4rem;
}
.hero-text { animation: fadeUp 0.8s 0.2s ease both; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--cyan-light); color: var(--cyan);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.07em;
  text-transform: uppercase; padding: 0.45rem 1rem; border-radius: 100px;
  margin-bottom: 1.5rem; border: 1px solid rgba(46,199,204,0.25);
}
.hero-badge::before { content: ''; width: 7px; height: 7px; background: var(--cyan); border-radius: 50%; }
.hero-sub {
  font-size: 1rem; color: var(--muted); line-height: 1.75;
  max-width: 480px; margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }

.hero-visual { animation: fadeUp 0.8s 0.4s ease both; position: relative; padding: 1.5rem 0; }
.hero-card {
  background: var(--white); border-radius: 20px; padding: 2.5rem;
  border: 1px solid var(--border); box-shadow: var(--shadow-lg);
  position: relative; overflow: visible;
}
.hero-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--lapis));
  border-radius: 20px 20px 0 0;
}
.card-icon {
  width: 54px; height: 54px; background: var(--cyan-light);
  border-radius: 14px; display: flex; align-items: center;
  justify-content: center; margin-bottom: 1.2rem; font-size: 1.6rem;
}
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.stat-item {
  background: var(--light); border-radius: 12px;
  padding: 1rem 1.2rem; border: 1px solid var(--border);
}
.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 1.75rem; color: var(--lapis); line-height: 1;
}
.stat-num span { color: var(--cyan); }
.stat-label { font-size: 0.73rem; color: var(--muted); margin-top: 0.25rem; font-weight: 300; }

/* ── SERVICES ── */
.services { background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.service-card {
  border: 1px solid var(--border); border-radius: 16px;
  padding: 2rem; background: var(--light);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--cyan); }
.service-icon {
  font-size: 1.6rem; margin-bottom: 1rem;
  width: 50px; height: 50px; background: var(--cyan-light);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
}
.service-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }

/* ── ABOUT ── */
.about { background: var(--lapis); }
.about h2 { color: var(--white); }
.about .section-label { color: var(--cyan); }
.about .section-sub { color: rgba(255,255,255,0.5); }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.about-item { display: flex; gap: 1rem; align-items: flex-start; }
.about-check {
  min-width: 28px; height: 28px; background: rgba(46,199,204,0.15);
  color: var(--cyan); border-radius: 50%; display: flex;
  align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; margin-top: 2px;
}
.about-item-title { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.95rem; color: var(--white); margin-bottom: 0.25rem; }
.about-item-desc { font-size: 0.875rem; color: rgba(255,255,255,0.45); line-height: 1.65; }
.about-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px; padding: 2.5rem; text-align: center;
}
.avatar {
  width: 90px; height: 90px; background: var(--cyan-light); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; margin: 0 auto 1.2rem; border: 3px solid rgba(46,199,204,0.3);
}
.about-name { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.3rem; color: var(--white); }
.about-role { font-size: 0.85rem; color: var(--cyan); margin-top: 0.25rem; }
.about-bio { font-size: 0.875rem; color: rgba(255,255,255,0.45); line-height: 1.7; margin-top: 1.2rem; }
.about-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-top: 1.5rem; }
.tag {
  background: rgba(46,199,204,0.12); color: var(--cyan);
  font-family: 'Montserrat', sans-serif; font-size: 0.73rem; font-weight: 600;
  padding: 0.35rem 0.8rem; border-radius: 100px; border: 1px solid rgba(46,199,204,0.2);
}

/* ── PRICING ── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.pricing-card {
  border: 1px solid var(--border); border-radius: 16px; padding: 2rem;
  background: var(--white); transition: transform 0.25s, box-shadow 0.25s;
  position: relative; overflow: hidden;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card.premium { border-color: var(--gold); background: var(--slate); box-shadow: 0 8px 32px rgba(242,201,76,0.2); }
.pricing-card.premium::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gold); }
.pricing-card.premium .price-period,
.pricing-card.premium .price-desc,
.pricing-card.premium .feature-item { color: rgba(255,255,255,0.5); }
.pricing-card.premium .price-label { color: var(--gold); }
.pricing-card.premium .feature-item::before { color: var(--gold); }
.pricing-card.premium .price { color: var(--gold); }
.price-label { font-family: 'Montserrat', sans-serif; font-size: 0.73rem; letter-spacing: 0.09em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: 0.9rem; }
.price { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 2.4rem; letter-spacing: -0.02em; color: var(--lapis); }
.price-period { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.5rem; }
.price-desc { font-size: 0.875rem; color: var(--muted); line-height: 1.65; margin-bottom: 1.5rem; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1.5rem; }
.feature-item { font-size: 0.875rem; color: var(--muted); display: flex; align-items: center; gap: 0.6rem; }
.feature-item::before { content: '✓'; color: var(--cyan); font-weight: 700; min-width: 16px; }

/* Diagnostic notice */
.diag-notice {
  display: flex; align-items: center; gap: 0.8rem;
  background: var(--cyan-light); border: 1px solid rgba(46,199,204,0.3);
  border-radius: 12px; padding: 1rem 1.4rem; margin-top: 2rem;
}
.diag-notice p { font-size: 0.875rem; color: var(--lapis); line-height: 1.5; }
.diag-notice p span { font-weight: 600; }

/* ── CONTACT ── */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 1.4rem; margin-top: 2rem; }
.contact-line { display: flex; align-items: flex-start; gap: 1rem; }
.contact-icon {
  width: 42px; height: 42px; background: var(--white);
  border: 1px solid var(--border); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.contact-key { font-size: 0.73rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 300; }
.contact-val { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.95rem; color: var(--lapis); margin-top: 0.1rem; }

/* ── FORMS ── */
.form-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 20px; padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.form-card h3 { margin-bottom: 0.4rem; }
.form-card > p { font-size: 0.875rem; color: var(--muted); margin-bottom: 1.8rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
label { font-family: 'Montserrat', sans-serif; font-size: 0.78rem; font-weight: 600; color: var(--slate); }
input, textarea, select {
  background: var(--light); border: 1px solid var(--border);
  border-radius: 8px; padding: 0.75rem 1rem;
  font-family: 'Inter', sans-serif; font-size: 0.9rem; color: var(--slate);
  outline: none; width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(46, 199, 204, 0.15);
}
textarea { resize: vertical; min-height: 100px; }
.form-submit {
  width: 100%; background: var(--lapis); color: var(--white);
  border: none; border-radius: 8px; padding: 0.9rem;
  font-family: 'Montserrat', sans-serif; font-size: 1rem; font-weight: 600;
  cursor: pointer; transition: background 0.2s, transform 0.15s;
}
.form-submit:hover { background: var(--cyan); transform: translateY(-1px); }

/* ── PRO BANNER ── */
.pro-banner {
  background: linear-gradient(135deg, var(--lapis), #0f2550);
  padding: 4rem 5%; display: flex; align-items: center;
  justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.pro-banner h2 { color: var(--white); margin-bottom: 0.5rem; }
.pro-banner p { color: rgba(255,255,255,0.5); font-size: 0.95rem; max-width: 480px; line-height: 1.65; }

/* ── HERO PRO ── */
.hero-pro {
  background: linear-gradient(135deg, var(--lapis) 0%, #0f2550 100%);
  padding: 10rem 5% 6rem; display: grid;
  grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.hero-pro-text { animation: fadeUp 0.8s 0.2s ease both; }
.pro-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(242,201,76,0.15); color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.07em;
  text-transform: uppercase; padding: 0.45rem 1rem; border-radius: 100px;
  margin-bottom: 1.5rem; border: 1px solid rgba(242,201,76,0.3);
}
.hero-pro h1 { color: var(--white); }
.hero-pro-sub { font-size: 1rem; color: rgba(255,255,255,0.55); line-height: 1.75; max-width: 480px; margin-bottom: 2.5rem; }
.hero-pro-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

.pro-info-card {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px; padding: 2rem;
  animation: fadeUp 0.8s 0.4s ease both;
}
.pro-card-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.pro-card-row:last-child { border-bottom: none; }
.pro-card-label { font-size: 0.875rem; color: rgba(255,255,255,0.45); display: flex; align-items: center; gap: 0.6rem; }
.pro-card-val { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.9rem; color: var(--white); }
.pro-card-val.gold { color: var(--gold); }

/* PRO SERVICES */
.services-pro { background: var(--white); }

/* PRO OFFRES */
.offres-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.offre-card {
  border: 1px solid var(--border); border-radius: 16px; padding: 2rem;
  background: var(--white); transition: transform 0.25s, box-shadow 0.25s;
  position: relative; overflow: hidden;
}
.offre-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.offre-card.featured { border-color: var(--gold); background: var(--slate); box-shadow: 0 8px 32px rgba(242,201,76,0.2); }
.offre-card.featured::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gold); }
.offre-card.featured .offre-period,
.offre-card.featured .offre-desc,
.offre-card.featured .feature-item { color: rgba(255,255,255,0.5); }
.offre-card.featured .offre-label { color: var(--gold); }
.offre-card.featured .feature-item::before { color: var(--gold); }
.offre-card.featured .offre-price { color: var(--gold); }
.offre-label { font-family: 'Montserrat', sans-serif; font-size: 0.73rem; letter-spacing: 0.09em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: 0.9rem; }
.offre-price { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 2.4rem; letter-spacing: -0.02em; color: var(--lapis); }
.offre-period { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.5rem; }
.offre-desc { font-size: 0.875rem; color: var(--muted); line-height: 1.65; margin-bottom: 1.5rem; }
.offre-cta {
  display: block; text-align: center; margin-top: 1.8rem; padding: 0.8rem;
  border-radius: 8px; font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem; font-weight: 600; text-decoration: none;
  background: var(--cyan-light); color: var(--lapis); transition: background 0.2s, color 0.2s;
}
.offre-cta:hover { background: var(--cyan); color: var(--white); }
.offre-card.featured .offre-cta { background: var(--gold); color: var(--slate); }
.offre-card.featured .offre-cta:hover { background: #e0b83a; }

/* PRO FORM LAYOUT */
.form-pro-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start; }
.pro-avantages { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.2rem; }
.pro-av { display: flex; gap: 0.8rem; align-items: flex-start; }
.pro-av-icon {
  width: 36px; height: 36px; background: var(--cyan-light);
  border-radius: 10px; display: flex; align-items: center;
  justify-content: center; font-size: 1rem; flex-shrink: 0;
}
.pro-av-title { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.9rem; color: var(--lapis); margin-bottom: 0.2rem; }
.pro-av-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

/* ── FOOTER ── */
footer {
  background: var(--slate); color: rgba(255,255,255,0.4);
  padding: 2.5rem 5%; display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
footer .logo { color: var(--white); }
footer p { font-size: 0.85rem; }

/* ── ANIMATIONS ── */
@keyframes fadeDown { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeUp   { from { opacity: 0; transform: translateY(28px);  } to { opacity: 1; transform: translateY(0); } }

/* ── JS-driven reveal class ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero, .hero-pro { grid-template-columns: 1fr; padding-top: 6rem; }
  .hero-visual, .hero-pro .pro-info-card { display: none; }
  .about-layout, .contact-layout, .form-pro-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  nav ul { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .pro-banner { flex-direction: column; }
}
