/* BURGER */
.burger{
  position: fixed;
  top: calc((var(--header-h-mobile) - 44px) / 2);
  right: 16px;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  z-index: 1101;
  color: var(--text);
}
.burger span,
.burger span::before,
.burger span::after{
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base), top var(--t-base);
  position: relative;
}
.burger span{ position: relative; }
.burger span::before{ position: absolute; top: -8px; left: 0; }
.burger span::after{ position: absolute; top: 8px; left: 0; }
.burger.is-open span{ background: transparent; }
.burger.is-open span::before{ top: 0; transform: rotate(45deg); }
.burger.is-open span::after{ top: 0; transform: rotate(-45deg); }

/* MENU MOBILE */
.menu-mobile{
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100dvh;
  background: var(--bg);
  z-index: var(--z-menu);
  padding: calc(var(--header-h-mobile) + 28px) 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform .35s ease, opacity .35s ease, visibility 0s linear .35s;
}
.menu-mobile.is-open{
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition: transform .35s ease, opacity .35s ease;
}
.menu-mobile > a{
  font-family: var(--ff-display);
  font-size: 1.6rem;
  color: var(--text);
  padding: 14px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
}
.menu-mobile > a.btn{
  border-bottom: 0;
  margin-top: 18px;
  font-family: var(--ff-ui);
  font-size: 1rem;
  padding: 14px 24px;
  align-self: stretch;
}
.menu-mobile > a.btn-primary{ color: var(--text-inverse); }
.menu-mobile > a.btn-wa{ color: #fff; }
@media (min-width: 768px){
  .burger, .menu-mobile{ display: none !important; }
}

/* BUTTONS */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--ff-ui);
  font-size: .98rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--t-base), color var(--t-base), border-color var(--t-base), transform var(--t-fast);
  min-height: 48px;
  line-height: 1.2;
}
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0); }
.btn svg{ width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary{
  background: var(--accent);
  color: var(--text-inverse);
}
.btn-primary:hover{
  background: var(--accent-2);
  color: var(--text-inverse);
}
.btn-wa{
  background: var(--wa-green);
  color: #fff;
}
.btn-wa:hover{
  background: #128C7E;
  color: #fff;
}
.btn-ghost{
  background: transparent;
  color: var(--text);
  border-color: var(--accent);
}
.btn-ghost:hover{
  background: var(--accent);
  color: var(--text-inverse);
}
.btn-block{ width: 100%; }

/* CARDS - card = line (style ligne minimaliste pour LAY-1) */
.svc-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}
.svc-card:hover{
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 8px 24px -16px color-mix(in srgb, var(--accent) 60%, transparent);
}
.svc-card__num{
  font-family: var(--ff-display);
  font-style: italic;
  color: var(--accent);
  font-size: 1.05rem;
  letter-spacing: .02em;
}
.svc-card__title{
  font-family: var(--ff-display);
  font-size: clamp(1.3rem, 2.6vw, 1.55rem);
  font-weight: 500;
  color: var(--text);
}
.svc-card__text{
  font-size: .96rem;
  color: var(--text-2);
  line-height: 1.6;
}
.svc-card__line{
  margin-top: 8px;
  width: 36px;
  height: 1px;
  background: var(--accent);
}

/* CHIPS */
.chip{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 10%, var(--bg));
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
  font-family: var(--ff-ui);
  font-size: .82rem;
  color: var(--accent);
  font-weight: 500;
}

/* FORM */
.form-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px){
  .form-grid{ grid-template-columns: 1fr 1fr; }
  .form-grid .field-full{ grid-column: 1 / -1; }
}
.field{ min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.field label{
  font-family: var(--ff-ui);
  font-size: .85rem;
  font-weight: 500;
  color: var(--text);
}
.field input, .field textarea, .field select{
  min-width: 0;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--text);
  transition: border-color var(--t-fast), background var(--t-fast);
  min-height: 48px;
}
.field textarea{
  min-height: 120px;
  resize: vertical;
  font-family: var(--ff-body);
}
.field input:focus, .field textarea:focus, .field select:focus{
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.form-msg{
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  font-size: .94rem;
  display: none;
}
.form-msg.success{ background: color-mix(in srgb, var(--accent) 14%, var(--bg)); color: var(--accent); border: 1px solid var(--accent); display: block; }
.form-msg.error{ background: #FDECEA; color: #A23A2A; border: 1px solid #E1B0A6; display: block; }

/* FAB MOBILE */
.fab{
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: var(--z-fab);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fab-btn{
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--text-inverse);
  text-decoration: none;
  box-shadow: 0 8px 22px -8px rgba(0,0,0,0.35);
  transition: transform var(--t-base), background var(--t-base);
}
.fab-btn svg{ width: 26px; height: 26px; }
.fab-btn:hover{ transform: scale(1.05); }
.fab-btn--wa{ background: var(--wa-green); color: #fff; }
@media (min-width: 768px){
  .fab{ display: none; }
}

/* LIGHTBOX */
.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(15, 22, 18, 0.92);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox img{
  max-width: 92vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--r-md);
}
.lb-btn{
  position: absolute;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  font-family: var(--ff-ui);
  transition: background var(--t-fast);
}
.lb-btn:hover{ background: rgba(255,255,255,0.22); }
.lb-close{ top: 20px; right: 20px; }
.lb-prev{ left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next{ right: 16px; top: 50%; transform: translateY(-50%); }

/* MODAL MENTIONS */
.ml-modal{
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.ml-overlay{
  position: absolute;
  inset: 0;
  background: rgba(15, 22, 18, 0.55);
  backdrop-filter: blur(2px);
}
.ml-box{
  position: relative;
  background: var(--bg);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  max-width: 520px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  z-index: 1;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.4);
}
.ml-box h2{
  font-family: var(--ff-display);
  font-size: 1.6rem;
  margin-bottom: 8px;
  color: var(--text);
}
.ml-box h3{
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 500;
  margin: 20px 0 6px;
  color: var(--accent);
}
.ml-box p{
  font-size: .92rem;
  line-height: 1.55;
  color: var(--text-2);
}
.ml-close{
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px; height: 36px;
  background: transparent;
  border: 0;
  font-size: 1.5rem;
  color: var(--text);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.ml-close:hover{ background: var(--bg-alt); }
