/* BOUTONS */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:14px 22px;
  border-radius:999px;
  font-family:var(--ff-ui);
  font-weight:600;
  font-size:1rem;
  text-decoration:none;
  cursor:pointer;
  transition:transform .15s var(--ease), box-shadow .15s var(--ease), background .2s var(--ease);
  border:1.5px solid var(--text);
  white-space:nowrap;
  line-height:1;
  min-height:48px;
}
.btn svg{width:18px;height:18px;flex-shrink:0;}
.btn-primary{
  background:var(--accent);
  color:#fff;
  box-shadow:4px 4px 0 var(--text);
}
.btn-primary:hover{
  transform:translate(-2px,-2px);
  box-shadow:6px 6px 0 var(--text);
  color:#fff;
}
.btn-wa{
  background:var(--wa-green);
  color:#fff;
  box-shadow:4px 4px 0 var(--text);
}
.btn-wa:hover{
  transform:translate(-2px,-2px);
  box-shadow:6px 6px 0 var(--text);
  color:#fff;
}
.btn-ghost{
  background:transparent;
  color:var(--text);
  box-shadow:4px 4px 0 var(--accent);
}
.btn-ghost:hover{
  transform:translate(-2px,-2px);
  box-shadow:6px 6px 0 var(--accent);
  color:var(--text);
}

/* Cards risograph (preset LAY-3 card=risograph) */
.c-riso{
  background:var(--surface);
  border:1.5px solid var(--text);
  border-radius:12px;
  padding:24px;
  box-shadow:5px 5px 0 var(--accent);
  transition:transform .2s var(--ease), box-shadow .2s var(--ease);
  position:relative;
  display:flex;
  flex-direction:column;
  gap:12px;
  min-height:1px;
}
.c-riso:hover{
  transform:translate(-2px,-2px);
  box-shadow:7px 7px 0 var(--accent);
}
.c-riso__num{
  font-family:var(--ff-display);
  font-style:italic;
  font-size:1.1rem;
  color:var(--accent);
  letter-spacing:0.02em;
}
.c-riso__title{
  font-family:var(--ff-display);
  font-size:1.35rem;
  font-weight:500;
  color:var(--text);
  line-height:1.2;
}
.c-riso__text{
  color:var(--text-2);
  font-size:0.98rem;
  line-height:1.55;
  margin:0;
}
.c-riso__list{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-top:4px;
}
.c-riso__list li{
  position:relative;
  padding-left:18px;
  font-size:0.94rem;
  color:var(--text-2);
}
.c-riso__list li::before{
  content:"";
  position:absolute;
  left:0;
  top:0.55em;
  width:8px;height:2px;
  background:var(--accent);
}

/* Variante card foncée (lead) */
.c-riso.c-riso--dark{
  background:var(--surface-deep);
  border-color:var(--surface-deep);
  box-shadow:5px 5px 0 var(--accent-2);
}
.c-riso.c-riso--dark .c-riso__title,
.c-riso.c-riso--dark .c-riso__text,
.c-riso.c-riso--dark .c-riso__list li{
  color:#E8E1D0;
}
.c-riso.c-riso--dark .c-riso__num{color:var(--accent-on-dark);}
.c-riso.c-riso--dark .c-riso__list li::before{background:var(--accent-on-dark);}
.c-riso.c-riso--dark:hover{box-shadow:7px 7px 0 var(--accent-2);}

/* Chips */
.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 14px;
  border-radius:999px;
  background:var(--accent-soft);
  color:var(--accent);
  font-family:var(--ff-ui);
  font-size:0.86rem;
  font-weight:600;
  letter-spacing:0.01em;
}
.chip svg{width:14px;height:14px;}
.chip--warm{background:rgba(154,123,79,0.16);color:var(--accent-2);}
.chip--credit{
  background:#fff;
  border:1.5px solid var(--text);
  color:var(--text);
  box-shadow:3px 3px 0 var(--accent);
  padding:8px 16px;
}
.chip--credit strong{color:var(--accent);font-weight:700;}

/* Badge note Google hero */
.hero-rating-badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:var(--surface);
  border:1.5px solid var(--text);
  border-radius:999px;
  padding:8px 16px;
  color:var(--text);
  font-family:var(--ff-ui);
  font-size:0.92rem;
  box-shadow:3px 3px 0 var(--accent);
  text-decoration:none;
  width:fit-content;
}
.hero-rating-badge strong{font-weight:700;}
.hero-rating-badge svg{width:16px;height:16px;color:#F1B100;}
.hero-rating-badge .stars{display:inline-flex;gap:1px;}

/* FORMULAIRE */
.form-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
}
@media (min-width:560px){
  .form-grid{grid-template-columns:1fr 1fr;}
}
.field{display:flex;flex-direction:column;gap:6px;min-width:0;}
.field--full{grid-column:1/-1;}
.field label{
  font-family:var(--ff-ui);
  font-size:0.86rem;
  font-weight:600;
  color:var(--text);
}
.field input,
.field select,
.field textarea{
  width:100%;
  min-width:0;
  padding:12px 14px;
  border:1.5px 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 .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea{min-height:120px;resize:vertical;}
.field input:focus,
.field select:focus,
.field textarea:focus{
  outline:0;
  border-color:var(--accent);
  box-shadow:0 0 0 3px var(--accent-soft);
}
.form-actions{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top:18px;
}
@media (min-width:560px){
  .form-actions{flex-direction:row;flex-wrap:wrap;}
}

/* Modal mentions legales */
.modal{
  position:fixed;
  inset:0;
  z-index:var(--z-modal);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
}
.modal-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.55);
}
.modal-box{
  position:relative;
  background:var(--bg);
  border:1.5px solid var(--text);
  border-radius:14px;
  max-width:480px;
  width:100%;
  max-height:90dvh;
  overflow-y:auto;
  padding:32px 28px 28px;
  box-shadow:8px 8px 0 var(--accent);
}
.modal-close{
  position:absolute;
  top:10px;right:10px;
  width:36px;height:36px;
  display:grid;place-items:center;
  border-radius:50%;
  color:var(--text);
  background:transparent;
}
.modal-close:hover{background:var(--accent-soft);color:var(--accent);}
.modal-box h2{
  font-family:var(--ff-display);
  font-size:1.45rem;
  margin-bottom:14px;
  color:var(--text);
}
.modal-box h3{
  font-family:var(--ff-display);
  font-size:1.05rem;
  margin:18px 0 6px;
  color:var(--accent);
}
.modal-box p{
  font-size:0.94rem;
  color:var(--text-2);
  margin-bottom:8px;
  line-height:1.55;
}

/* Lightbox */
.lightbox{
  position:fixed;
  inset:0;
  z-index:var(--z-modal);
  background:rgba(20,18,14,0.94);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}
.lightbox img{
  max-width:96vw;
  max-height:88dvh;
  object-fit:contain;
  border-radius:8px;
  box-shadow:0 10px 40px rgba(0,0,0,.4);
}
.lb-close,.lb-prev,.lb-next{
  position:absolute;
  background:rgba(255,255,255,0.12);
  color:#fff;
  width:48px;height:48px;
  border-radius:50%;
  display:grid;place-items:center;
  font-size:1.4rem;
  transition:background .2s var(--ease);
  backdrop-filter:blur(4px);
}
.lb-close:hover,.lb-prev:hover,.lb-next:hover{background:rgba(255,255,255,0.22);}
.lb-close{top:18px;right:18px;}
.lb-prev{top:50%;left:18px;transform:translateY(-50%);}
.lb-next{top:50%;right:18px;transform:translateY(-50%);}
@media (max-width:560px){
  .lb-prev{left:10px;}
  .lb-next{right:10px;}
}
