/* =========
   Erezya UI
   Soft, reassuring palette + premium layout
   ========= */
:root{
  --bg:#f7f9fb;
  --panel:#ffffff;
  --ink:#0f172a;
  --muted:#5b6476;
  --soft:#e7eef7;
  --brand:#4f78ff;        /* calm blue */
  --brand-2:#7aa8ff;      /* soft gradient partner */
  --accent:#a0b8ff;
  --ok:#12b886;
  --shadow: 0 10px 30px rgba(15,23,42,.08);
  --radius: 18px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color:var(--ink);
  background:linear-gradient(180deg, #f9fbff 0%, var(--bg) 100%);
  line-height:1.55;
}

/* Containers */
.container{width:min(1120px, 92%); margin:0 auto}
.narrow{width:min(800px, 92%); margin:0 auto}

/* Header */
.site-header{
  position:sticky; top:0; z-index:40;
  background:rgba(255,255,255,.8); backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid #e9eef5;
}
.header-wrap{display:flex; align-items:center; justify-content:space-between; padding:14px 0}
.brand{display:flex; gap:.6rem; align-items:center; text-decoration:none; color:var(--ink); font-weight:700}
.brand-mark{display:inline-grid; place-items:center; width:28px; height:28px; border-radius:8px; background:linear-gradient(135deg, var(--brand), var(--brand-2)); color:#fff; font-size:14px}
.brand.small .brand-mark{width:22px; height:22px}
.brand-name{letter-spacing:.3px}

.nav{display:flex; gap:20px; align-items:center}
.nav a{color:var(--ink); text-decoration:none; font-weight:500}
.nav .btn{margin-left:6px}

/* Hamburger (mobile) */
.hamburger{display:none; width:42px; height:42px; background:#fff; border:1px solid #e5ecf6; border-radius:12px; box-shadow:var(--shadow)}
.hamburger span{display:block; width:22px; height:2px; background:#2b3551; margin:6px auto}

/* Buttons */
.btn{display:inline-flex; align-items:center; justify-content:center; gap:.5rem; padding:11px 16px; border-radius:12px; border:1px solid #dbe6f7; background:#fff; text-decoration:none; font-weight:600; box-shadow:var(--shadow)}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:linear-gradient(135deg, var(--brand), var(--brand-2)); color:#fff; border:0}
.btn-ghost{background:transparent; border:1px solid #dbe6f7}
.btn-lg{padding:14px 22px}
.w-100{width:100%}

/* Hero */
.hero{padding:72px 0 40px}
.hero-grid{display:grid; grid-template-columns:1.2fr .9fr; gap:32px}
.lead{font-size:1.1rem; color:var(--muted)}
.hero-cta{display:flex; gap:12px; margin:18px 0 24px}
.stats{display:flex; gap:18px}
.stat{display:grid; place-items:center; background:#fff; border:1px solid #e7edf7; box-shadow:var(--shadow); border-radius:16px; padding:12px 16px; min-width:96px}
.stat span{font-size:1.4rem; font-weight:800}
.stat small{color:var(--muted)}

.hero-card{position:relative}
.card-glow{position:absolute; inset:-12px; border-radius:22px; background:radial-gradient(120px 120px at 20% 20%, var(--accent), transparent 60%); filter:blur(30px); opacity:.5}
.card-content{position:relative; background:var(--panel); border:1px solid #e8eef9; box-shadow:var(--shadow); border-radius:22px; padding:24px}
.checklist{margin:0; padding:0 0 0 20px}
.checklist li{margin:.4rem 0}

/* Sections */
.section{padding:64px 0}
.section-alt{background:#fff}
.h2{font-size:2rem; margin:0 0 8px}
.sub{color:var(--muted); margin:0 0 16px}

/* Services Overview */
.grid-4{display:grid; grid-template-columns:repeat(4,1fr); gap:18px}
.svc-card{background:var(--panel); border:1px solid #e8eef9; border-radius:18px; padding:20px; text-decoration:none; color:inherit; box-shadow:var(--shadow)}
.svc-card:hover{transform:translateY(-2px)}
.svc-card .more{display:inline-block; margin-top:10px; color:var(--brand); font-weight:600}

/* Proof / Results */
.proof-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:16px}
.proof{background:var(--panel); border:1px solid #e8eef9; border-radius:18px; padding:18px; text-align:center; box-shadow:var(--shadow)}
.proof strong{font-size:1.2rem; display:block}
.proof span{color:var(--muted)}

/* Process */
.steps{display:grid; grid-template-columns:repeat(4,1fr); gap:16px}
.step{background:var(--panel); border:1px solid #e8eef9; border-radius:18px; padding:18px; box-shadow:var(--shadow)}
.badge{display:inline-grid; place-items:center; width:28px; height:28px; border-radius:12px; background:linear-gradient(135deg, var(--brand), var(--brand-2)); color:#fff; font-weight:700; margin-bottom:8px}

/* FAQ */
.faq .faq-item{background:var(--panel); border:1px solid #e8eef9; border-radius:14px; padding:14px 18px; margin:12px 0; box-shadow:var(--shadow)}
.faq summary{cursor:pointer; font-weight:600}
.faq p{color:var(--muted)}

/* CTA */
.cta{background:linear-gradient(135deg, #eef4ff, #ffffff)}
.cta-wrap{display:flex; align-items:center; justify-content:space-between; gap:16px}

/* Sub-hero on service pages */
.sub-hero{padding:72px 0 16px; background:linear-gradient(135deg, #eef3ff, #ffffff); border-bottom:1px solid #e8eef9}

/* Pricing cards (service pages) */
.pricing-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:18px}
.p-card{background:#fff; border:1px solid #e8eef9; border-radius:18px; padding:20px; box-shadow:var(--shadow)}
.p-card .price{font-size:1.4rem; font-weight:800; margin:8px 0 12px}
.p-card .p-list{padding-left:18px; margin:0 0 14px}
.p-card .muted{color:var(--muted)}

/* Footer */
.site-footer{padding:28px 0; background:#fff; border-top:1px solid #e9eef5}
.foot-grid{display:grid; grid-template-columns:1fr auto auto; gap:16px; align-items:center}
.foot-links a{margin-right:12px; text-decoration:none; color:var(--ink)}
.foot-contact .link{color:var(--brand); text-decoration:none}
.muted{color:var(--muted)}

/* Utilities */
.h3{font-size:1.5rem; margin:0 0 8px}
.bullets{padding-left:18px}
.bullets li{margin:.35rem 0}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr}
  .grid-4{grid-template-columns:1fr 1fr}
  .proof-grid{grid-template-columns:1fr 1fr}
  .steps{grid-template-columns:1fr 1fr}
  .pricing-grid{grid-template-columns:1fr; }
  .cta-wrap{flex-direction:column; align-items:flex-start}
}

@media (max-width: 720px){
  .nav{display:none; position:absolute; top:64px; right:4%; left:4%; padding:12px; background:#fff; border:1px solid #e8eef9; border-radius:16px; box-shadow:var(--shadow); flex-direction:column}
  .hamburger{display:block}
  .grid-4{grid-template-columns:1fr}
  .proof-grid{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr}
}
/* Centrer tous les titres */
h1, h2, h3, h4, h5, h6 {
  text-align: center;
}

/* Centrer les boutons */
.btn {
  display: inline-block;
  margin: 0 auto;       /* centre horizontalement */
  text-align: center;
}

/* Si un bouton est dans un conteneur flex */
.hero-cta, .cta-wrap, .p-card {
  display: flex;
  justify-content: center;
}
/* Centrer la section stats */
.stats {
  display: flex;
  justify-content: center;
  gap: 24px; /* espace entre les stats */
  margin-top: 20px;
}
/* Hero section en colonne et centrée */
.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center; /* centre aussi le texte */
  gap: 32px;
}

/* Stats centrées */
.stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
}

/* Carte "What we deliver" centrée */
.hero-card {
  max-width: 500px;
  margin: 0 auto;
}
/* Titres et paragraphes centrés */
h1, h2, h3, h4, h5, h6,
p, .lead, .sub, .muted {
  text-align: center;
}

/* Boutons centrés */
.btn {
  display: inline-block;
  margin: 0 auto;
  text-align: center;
}

/* Conteneurs principaux centrés */
.section, .section-alt, .cta, .sub-hero {
  text-align: center;
}

/* Grilles centrées */
.grid-4, .proof-grid, .steps, .pricing-grid {
  justify-content: center;
  text-align: center;
}

/* Cartes de services / prix au centre */
.svc-card, .p-card {
  margin: 0 auto;
}

/* Stats centrées */
.stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 20px auto;
}

/* FAQ centrée */
.faq {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.faq summary {
  text-align: center;
}

/* CTA centrée */
.cta-wrap {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
/* Contact form */
.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  text-align: left; /* garde les labels lisibles */
}

.form-group label {
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #dbe6f7;
  border-radius: 12px;
  font-size: 1rem;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--brand);
  outline: none;
}

.contact-form button {
  margin: 0 auto; /* centre le bouton */
}
/* Contact Section Premium */
#contact {
  background: linear-gradient(135deg, #f9fbff 0%, #ffffff 100%);
  border-top: 1px solid #e5ecf6;
  border-bottom: 1px solid #e5ecf6;
  padding: 80px 0;
}

.contact-form {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 14px 16px;
  border: 1px solid #dbe6f7;
  border-radius: 14px;
  font-size: 1rem;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.05);
  transition: all 0.2s ease-in-out;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(79,120,255,.15);
  outline: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

/* Premium button */
.contact-form button {
  margin: 0 auto;
  font-size: 1.1rem;
  padding: 14px 26px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(79,120,255,.25);
}
/* ===== Services Pages Premium ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  justify-content: center;
  margin-top: 32px;
}

.p-card {
  background: var(--panel);
  border: 1px solid #e8eef9;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 400px; /* même hauteur pour l’harmonie */
}

.p-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(15,23,42,0.12);
}

.p-card h3 {
  margin-bottom: 6px;
  color: var(--brand);
}

.p-card .muted {
  color: var(--muted);
  margin-bottom: 12px;
}

.p-card .price {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 12px 0 18px;
  color: var(--ink);
}

.p-card .p-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.p-card .p-list li {
  margin: 6px 0;
  color: var(--muted);
}

.p-card .btn {
  margin-top: auto;
  padding: 12px;
  width: 100%;
  border-radius: var(--radius);
}
