/* =========================
   BASE
   ========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  display: block;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #111827;
  background: #e9e3f5;
}

h1, h2, h3 {
  margin: 0 0 12px;
}

p {
  margin: 0 0 10px;
}

a {
  color: inherit;
}

.container {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 70px 0;
  background: #e7dff4;
}

.muted {
  color: rgba(17, 24, 39, 0.68);
}

.big {
  font-size: 22px;
  font-weight: 800;
}

/* =========================
   HEADER
   ========================= */
.header {
  position: relative;
}

/* =========================
   TOPBAR DESKTOP
   ========================= */
.topbar {
  min-height: 120px;
  background: linear-gradient(180deg, #c9b7e6, #bfa9e3);
  overflow: hidden;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.10);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .10);
}

.topbar-inner {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 120px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-left,
.topbar-right {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.topbar-left {
  justify-content: flex-start;
}

.topbar-left > div:first-child {
  white-space: nowrap;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.topbar-right {
  justify-content: flex-end;
}

.topbar-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.topbar-logo {
  height: 310px;
  width: auto;
  display: block;
  transform: translateY(30px);
}

.phone {
  text-decoration: none;
  font-weight: 900;
  color: #1b1530;
}

.phone:hover {
  text-decoration: underline;
}

/* =========================
   NAV
   ========================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.nav-inner {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  padding: 12px 0;
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-pill {
  display: inline-flex;
  padding: 10px 18px;
  border-radius: 999px;
  background: #f3f3f3;
  border: 1px solid rgba(0, 0, 0, 0.06);
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.nav-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.nav-cta {
  margin-left: auto;
  background: #111827;
  color: #fff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 800;
}

/* =========================
   BUTTONS + CALL FAB
   ========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn.primary {
  background: #1f6fff;
  color: #fff;
  box-shadow: 0 10px 22px rgba(31, 111, 255, .28);
  font-size: 16px;
  padding: 12px 20px;
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.75);
  color: #111;
  border-color: rgba(0, 0, 0, 0.10);
}

.call-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
  background: #1f6fff;
  color: #fff;
  text-decoration: none;
  padding: 16px 22px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
  animation: pulse-call 2s infinite;
}

@keyframes pulse-call {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(31, 111, 255, .6);
  }

  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 18px rgba(31, 111, 255, 0);
  }

  100% {
    transform: scale(1);
  }
}

/* =========================
   HERO
   ========================= */
.hero {
  padding: 70px 0 60px;
  min-height: 520px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.08)),
    url("assets/images/hero2.jpg") center/cover no-repeat;
}

.hero .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
}

.hero-photo{
  margin-left:-160px;
}

.hero-photo img{
  width:320px;
  height:auto;
  border-radius:20px;
  box-shadow:0 15px 35px rgba(0,0,0,.25);
}.hero-card {
  width: min(460px, 100%);
  margin-right: 20px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(155, 120, 255, 0.25);
  border: 2px solid rgba(155, 120, 255, 0.45);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.3px;
  margin-bottom: 18px;
  line-height: 1.35;
}

.hero-lead {
  line-height: 1.45;
}

.hero-list {
  margin: 10px 0 18px;
  padding-left: 20px;
}

.hero-footnote {
  margin-top: 18px;
  display: inline-block;
  padding: 10px 14px;
  font-size: 17px;
  font-weight: 900;
  color: #111827;
  background: rgba(155, 120, 255, 0.18);
  border: 1px solid rgba(155, 120, 255, 0.35);
  border-radius: 12px;
  line-height: 1.4;
}

.hero-phone {
  margin: 18px 0 8px;
  font-size: 17px;
  font-weight: 900;
  color: #0f376d;
  background: #ffffff;
  padding: 12px 14px;
  border-radius: 12px;
  border: 2px solid #1f6fff;
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
  line-height: 1.4;
}

.hero-phone strong {
  color: #1f6fff;
  font-size: 19px;
  white-space: nowrap;
}

.hero-time {
  font-weight: 800;
}

.method {
  background: rgba(155, 120, 255, .20);
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 700;
}

.nowrap {
  white-space: nowrap;
}

/* =========================
   SECTEUR HIGHLIGHT
   ========================= */
.secteur-highlight {
  margin: 40px auto 25px;
  padding: 14px 24px;
  width: fit-content;
  max-width: 100%;
  border-radius: 999px;
  background: rgba(155, 120, 255, 0.20);
  border: 2px solid rgba(155, 120, 255, 0.45);
  text-align: center;
  font-size: 20px;
  font-weight: 900;
  color: #111827;
}

.secteur-highlight strong {
  font-size: 22px;
}

/* =========================
   CARDS / GRIDS
   ========================= */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
  align-items: stretch;
}

.card {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: center;
  min-height: 140px;
  background: rgba(240, 235, 252, 0.92);
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.10);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 10px;
  height: 3px;
  border-radius: 999px;
  background: rgba(155, 120, 255, 0);
  transition: background 0.15s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.14);
}

.card:hover::after {
  background: rgba(155, 120, 255, 0.55);
}

.card:hover .card-img {
  transform: scale(1.05);
  transition: transform .25s ease;
}

.card-img {
  width: 200px;
  height: 110px;
  object-fit: cover;
  border-radius: 12px;
  flex: 0 0 200px;
}

.card-body {
  flex: 1;
  min-width: 0;
}

.card-body h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
}

.card-body p {
  margin: 0;
  color: rgba(17, 24, 39, 0.78);
}

/* =========================
   SERVICES
   ========================= */
.stack {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.panel {
  background: rgba(240, 235, 252, 0.92);
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.10);
}

/* =========================
   AVIS
   ========================= */
.avis-placeholder {
  max-width: 760px;
  background: rgba(240, 235, 252, .92);
  border: 1px solid rgba(17, 24, 39, .10);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .10);
}

.avis-placeholder p {
  margin-bottom: 10px;
  line-height: 1.55;
}

.avis-placeholder p:last-child {
  margin-bottom: 0;
}

/* =========================
   CONTACT
   ========================= */
.contact {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.seo-villes {
  margin-top: 18px;
  font-size: 14px;
  color: rgba(17, 24, 39, .65);
  max-width: 700px;
}

.footer {
  margin-top: 28px;
  color: rgba(17, 24, 39, 0.65);
  font-size: 13px;
}

/* =========================
   TABLET / MOBILE
   ========================= */

@media (max-width: 900px) {

  .grid-2{
    grid-template-columns:1fr;
  }

  .contact{
    grid-template-columns:1fr;
  }

  .topbar-left{
    display:none;
  }

  .topbar-logo{
    height:110px;
  }

}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 768px) {
.hero-photo{
  display:none;
}

  html,
  body{
    overflow-x:hidden;
  }

  .section{
    padding:46px 0;
  }

  .container{
    width:100% !important;
    padding-left:12px;
    padding-right:12px;
    box-sizing:border-box;
  }

  /* TOPBAR */

  .topbar{
    min-height:auto;
    overflow:visible;
    padding:6px 0 4px;
  }

  .topbar-inner{
    min-height:auto;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px;
    position:static;
    text-align:center;
  }

  .topbar-center{
    position:static;
    transform:none;
    pointer-events:auto;
  }

  .topbar-logo{
    height:150px;
    transform:none;
    margin-top:-6px;
  }

  /* cache le numéro sur mobile */

  .topbar-right{
    display:none;
  }

  .phone{
    font-size:14px;
  }

  /* NAV */

  .nav-inner{
    width:100%;
    justify-content:center;
    gap:10px;
  }

  .nav-pill{
    max-width:100%;
  }

  .nav-cta{
    margin-left:0;
  }

  /* HERO */

  .hero{
    padding:44px 0 40px;
    min-height:auto;
    background-position:center;
  }

  .hero .container{
    display:flex;
    justify-content:center;
  }

  .hero-card{
    width:100%;
    max-width:100%;
    margin:0;
    padding:18px;
    box-sizing:border-box;
  }

  .hero-card h1{
    font-size:42px;
    line-height:1.12;
    font-weight:900;
    letter-spacing:-0.5px;
    margin-bottom:16px;
  }

  .hero-lead{
    font-size:17px;
    line-height:1.5;
  }

  .hero-kicker{
    font-size:14px;
    padding:8px 12px;
    white-space:normal;
    text-align:center;
    justify-content:center;
    width:100%;
    border-radius:18px;
  }

  /* CARDS */

  .card{
    width:100%;
    max-width:100%;
    min-width:0;
    box-sizing:border-box;
    padding:14px;
    gap:12px;
    min-height:unset;
  }

  .card-img{
    width:120px;
    height:78px;
    flex:0 0 120px;
  }

  .card-body h3{
    font-size:16px;
  }

  .card-body p{
    font-size:14px;
  }

  /* BOUTON APPEL */

  .call-fab{
    font-size:18px;
    padding:18px 26px;
    bottom:18px;
    right:18px;
  }

  .secteur-highlight{
    display:none;
  }

}

/* =========================
   PETITS MOBILES
   ========================= */

@media (max-width: 420px) {

  .topbar-logo{
    height:125px;
  }

  .hero-card h1{
    font-size:32px;
    line-height:1.12;
  }

  .card{
    flex-direction:column;
    align-items:stretch;
  }

  .card-img{
    width:100%;
    height:170px;
    flex:none;
  }

}
/* =========================
   AVIS CLIENTS
   ========================= */

.avis-grid{
  display:flex;
  flex-direction:row;
  flex-wrap:wrap;
  justify-content:center;
  align-items:flex-start;
  gap:20px;
  margin-top:25px;
}
.avis-img{
  height:auto;
  border-radius:16px;
  box-shadow:0 10px 25px rgba(0,0,0,.15);
  border:1px solid rgba(0,0,0,.08);
}
.avis-cta{
  text-align:center;
  margin-top:25px;
  font-size:28px;
  font-weight:900;
}
/* MENTIONS LEGALES */

.legal-block {
  margin-top: 28px;
  margin-bottom: 28px;
}

.legal-block h2 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 12px;
}

.legal-block p {
  line-height: 1.7;
  margin-bottom: 12px;
}
/* Ajustement du texte des secteurs */

.hero-kicker {
  white-space: normal;
  text-align: center;
  overflow-wrap: break-word;
  line-height: 1.5;
}
