/* commun.css — squelette partagé des 3 versions.
   Chaque version surcharge les variables et quelques blocs. */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-texte);
  background: var(--fond);
  color: var(--encre);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--largeur, 1280px); margin: 0 auto; padding: 0 26px; }

/* Bandeau de maquette */
.bandeau {
  background: var(--encre); color: var(--fond);
  text-align: center; padding: 9px; font-size: .8rem; font-family: var(--f-texte);
}
.bandeau a { text-decoration: underline; opacity: .8; }

/* Navigation */
.nav-zone { position: sticky; top: 0; z-index: 90; }
nav {
  display: flex; align-items: center; gap: 24px;
  padding: 16px 0;
}
nav .marque img { height: 34px; width: auto; }
nav .liens { display: flex; gap: 26px; margin-left: auto; font-size: .93rem; font-weight: 500; }
nav .liens a { color: var(--gris); transition: var(--tr); }
nav .liens a:hover { color: var(--encre); }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: var(--r-btn);
  font-weight: 600; font-size: .93rem; transition: var(--tr);
  border: 1px solid transparent; white-space: nowrap; cursor: pointer;
}
.btn-plein { background: var(--accent); color: var(--accent-encre); }
.btn-plein:hover { background: var(--accent-fort); transform: translateY(-2px); }
.btn-contour { border-color: currentColor; color: var(--encre); }
.btn-contour:hover { background: var(--encre); color: var(--fond); border-color: var(--encre); }
.fleche { width: 24px; height: 24px; border-radius: 50%; background: rgba(0,0,0,.12); display: grid; place-items: center; font-size: .75rem; }

/* Titres */
h1 { font-family: var(--f-titre); font-weight: var(--g-titre); letter-spacing: var(--ls-titre); line-height: 1.05; }
h2 { font-family: var(--f-titre); font-weight: var(--g-titre); letter-spacing: var(--ls-titre); line-height: 1.1;
     font-size: clamp(1.9rem, 3.3vw, 3rem); }
h3 { font-family: var(--f-titre); font-weight: 600; font-size: 1.2rem; letter-spacing: -.01em; }
.sur {
  font-size: .76rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .17em; color: var(--accent-fort); margin-bottom: 15px;
}
.tete { max-width: 760px; margin-bottom: 48px; }
.tete p { color: var(--gris); font-size: 1.06rem; margin-top: 16px; }
section.bloc { padding: clamp(64px, 7.5vw, 112px) 0; }

/* Grilles de cartes */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.carte { background: var(--carte); border-radius: var(--r-c); overflow: hidden; transition: var(--tr); }
.carte:hover { transform: translateY(-6px); }
.carte img { aspect-ratio: 16/11; object-fit: cover; width: 100%; }
.carte .txt { padding: 24px 24px 28px; }
.carte h3 { margin-bottom: 9px; }
.carte p { font-size: .93rem; color: var(--gris); }
.carte.large { grid-column: span 2; }

/* Tarifs */
.tarifs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tarif { background: var(--carte); border-radius: var(--r-c); padding: 32px 28px 28px; display: flex; flex-direction: column; gap: 7px; transition: var(--tr); }
.tarif:hover { transform: translateY(-6px); }
.tarif .duree { font-size: .77rem; text-transform: uppercase; letter-spacing: .14em; opacity: .6; font-weight: 700; }
.tarif .prix { font-family: var(--f-titre); font-size: 2.9rem; font-weight: var(--g-titre); letter-spacing: -.03em; line-height: 1; }
.tarif .note { font-size: .9rem; color: var(--gris); }
.tarif .btn { margin-top: auto; align-self: flex-start; }

/* Infos */
.infos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.info { background: var(--carte); border-radius: var(--r-c); padding: 30px 28px; }
.info h3 { margin-bottom: 14px; }
.info p { font-size: .94rem; color: var(--gris); margin-bottom: 7px; }
.info b { color: var(--encre); }

/* Footer */
footer { padding: 56px 0 40px; border-top: 1px solid var(--filet); margin-top: 80px; }
footer .grille { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; color: var(--gris); font-size: .92rem; }
footer img { height: 38px; margin-bottom: 12px; }

/* WhatsApp */
.wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 99;
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--accent); color: var(--accent-encre);
  padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: .83rem;
  box-shadow: 0 12px 30px rgba(0,0,0,.16);
}
.wa svg { width: 18px; height: 18px; }

@media (max-width: 1000px) {
  nav .liens { display: none; }
  .bento, .tarifs, .infos { grid-template-columns: 1fr; }
  .carte.large { grid-column: span 1; }
}
