/* Gérance360 - site vitrine (s'ajoute à app.css) */
.vitrine { background: #FBFCFC; font-size: 16px; }
.v-largeur { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* en-tête */
.v-entete { background: #fff; border-bottom: 1px solid var(--ligne); position: sticky; top: 0; z-index: 10; }
.v-entete-ligne { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 1rem; }
.v-logo { color: var(--lagune); text-decoration: none; }
.v-logo .marque-nom { font-size: 1.2rem; color: var(--encre); }
.v-nav { display: flex; align-items: center; gap: 1.4rem; }
.v-nav a:not(.btn) { color: var(--encre); text-decoration: none; font-weight: 500; }
.v-nav a:not(.btn):hover { color: var(--lagune); }

/* héros */
.v-hero { padding: 64px 0 72px; background: linear-gradient(180deg, #fff 0, #FBFCFC 100%); }
.v-hero-grille { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.v-hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); line-height: 1.06; letter-spacing: -.035em; font-weight: 800; margin-bottom: .5em; max-width: 14ch; }
.v-chapeau { font-size: 1.15rem; color: var(--encre-2); max-width: 46ch; margin-bottom: 1.6rem; }
.v-btn-grand { padding: .8rem 1.3rem; font-size: 1rem; }
.v-petit { font-size: .9rem; color: var(--encre-2); margin-top: 1rem; }

/* le registre : l'élément signature */
.registre { margin: 0; background: #fff; border: 1px solid var(--ligne); border-radius: 14px; padding: 20px 20px 16px;
  box-shadow: 0 24px 48px -32px rgba(8, 58, 68, .45); }
.registre figcaption { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.registre-titre { font-weight: 700; }
.registre-sous { font-size: .82rem; color: var(--encre-2); }
.registre table { width: 100%; border-collapse: separate; border-spacing: 0 6px; }
.registre thead th { font-size: .78rem; font-weight: 600; color: var(--encre-2); text-align: center; padding: 0 0 2px; }
.registre tbody th { text-align: left; font-weight: 500; padding-right: 10px; white-space: nowrap; }
.registre-logement { display: block; font-size: .9rem; }
.registre-type { display: block; font-size: .76rem; color: var(--encre-2); }
.registre td { text-align: center; padding: 0 2px; }
.case { display: inline-block; width: 26px; height: 26px; border-radius: 6px; vertical-align: middle; position: relative; }
.case-p { background: var(--lagune); }
.case-r { background: repeating-linear-gradient(135deg, #F6D9D2 0 4px, #fff 4px 8px); box-shadow: inset 0 0 0 2px var(--retard); }
.case-e { box-shadow: inset 0 0 0 2px var(--or); background: #FFF8E6; }
.case-v { background: #ECF0F1; }
.registre-legende { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .8rem; color: var(--encre-2); margin-top: 8px; }
.registre-legende span { display: inline-flex; align-items: center; gap: .35rem; }
.registre-legende .case { width: 12px; height: 12px; border-radius: 3px; }
.registre-total { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--ligne); font-size: .9rem; }
.registre-total strong { color: var(--retard); }

/* un seul mouvement : le registre se remplit à l'ouverture de la page */
@media (prefers-reduced-motion: no-preference) {
  .registre tbody .case { animation: case-entre .35s ease-out both; animation-delay: calc(var(--j) * 90ms + var(--i) * 35ms + 150ms); }
  @keyframes case-entre { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
}

/* sections */
.v-section { padding: 72px 0; }
.v-section-claire { background: #fff; border-top: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); }
.v-section-lagune { background: var(--lagune-fonce); color: #E9F2F3; }
.v-section-lagune .v-titre { color: #fff; }
.v-titre { font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -.025em; font-weight: 800; max-width: 28ch; margin-bottom: 1.2em; }
.v-fonctions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 2px solid var(--encre); }
.v-fonctions article { padding: 22px 28px 22px 0; border-bottom: 1px solid var(--ligne); }
.v-fonctions article:nth-child(odd) { border-right: 1px solid var(--ligne); }
.v-fonctions article:nth-child(even) { padding-left: 28px; }
.v-fonctions h3 { font-size: 1.12rem; margin-bottom: .4em; }
.v-fonctions p { color: var(--encre-2); margin: 0; max-width: 52ch; }
.v-preuves { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.v-preuves li { color: var(--encre-2); font-size: .95rem; }
.v-preuves strong { color: var(--encre); display: block; }

.v-formules { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 28px; }
.v-formule { border: 1px solid var(--ligne); border-radius: 14px; padding: 24px; background: #fff; }
.v-formule h3 { font-size: 1.35rem; margin-bottom: .2em; }
.v-formule > p { color: var(--encre-2); }
.v-formule ul { margin: 0; padding-left: 1.1rem; }
.v-formule li { margin: .3rem 0; }
.v-formule-pro { border: 2px solid var(--lagune); }
.v-tarifs { border-collapse: collapse; min-width: 480px; width: 100%; max-width: 720px; }
.v-tarifs caption { text-align: left; font-weight: 700; margin-bottom: .6rem; }
.v-tarifs th, .v-tarifs td { text-align: left; padding: .65rem .8rem; border-bottom: 1px solid var(--ligne); }
.v-tarifs thead th { font-size: .85rem; color: var(--encre-2); font-weight: 600; }
.v-tarifs tbody th { font-weight: 600; }

.v-deux { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.v-acces { background: #fff; border: 1px solid var(--ligne); border-radius: 14px; padding: 22px; }
.v-acces label { font-weight: 600; display: block; margin-bottom: .4rem; }
.v-acces-ligne { display: flex; align-items: stretch; border: 1px solid #B9C5C8; border-radius: 8px; overflow: hidden; margin-bottom: 1rem; background: #fff; }
.v-acces-ligne span { padding: .6rem 0 .6rem .75rem; color: var(--encre-2); white-space: nowrap; display: flex; align-items: center; }
.v-acces-ligne input { border: 0; border-radius: 0; padding-left: 2px; }
.v-acces-ligne:focus-within { outline: 2px solid rgba(11, 79, 92, .25); border-color: var(--lagune); }
.v-acces-ligne input:focus { outline: 0; }

.v-demo { background: #fff; color: var(--encre); border-radius: 14px; padding: 24px; }
.v-btn-or { background: var(--or); border-color: var(--or); color: var(--encre); }
.v-btn-or:hover { background: #C98F14; border-color: #C98F14; }
.v-piege { position: absolute; left: -9999px; }

.v-pied { padding: 36px 0; background: var(--encre); color: #B8C7CC; font-size: .92rem; }
.v-pied a { color: #fff; }
.v-pied .marque { color: #fff; }
.v-pied-ligne { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.v-pied p { margin: .5rem 0 0; }

@media (max-width: 900px) {
  .v-hero { padding: 36px 0 48px; }
  .v-hero-grille, .v-deux, .v-formules { grid-template-columns: 1fr; gap: 32px; }
  .v-nav a:not(.btn) { display: none; }
  .v-fonctions { grid-template-columns: 1fr; }
  .v-fonctions article, .v-fonctions article:nth-child(even) { padding: 18px 0; border-right: 0; }
  .v-preuves { grid-template-columns: 1fr; }
  .v-section { padding: 48px 0; }
  .case { width: 20px; height: 20px; }
  .registre { padding: 14px; }
  .registre-type { display: none; }
}
