:root {
  --fond: #EDF3F3;
  --surface: #FFFFFF;
  --texte: #1B2422;
  --texte-discret: #44514D;
  --filet: #CCDCDD;
  --marque: #3D6A1C;
  --sur-marque: #FFFFFF;
  --marque-texte: #3D6A1C;
  --sphere-vide: #000000;
  --pro: #F2B807;
  --pro-clair: #FCF0C8;
  --pro-texte: #7D5A00;
  --ultra: #5A2D6E;
  --ultra-clair: #F1E6F3;
  --ultra-texte: #5A2D6E;
  --marque-clair: #E0EBD1;
  --corps-telephone: #1B2422;
  --tranche: #44514D;
  --ombre: rgba(27, 36, 34, 0.30);
  --bord-tuile: #3D6A1C;
  --voile-milieu: rgba(44, 79, 20, 0.55);
  --voile-bas: rgba(23, 74, 133, 0.94);
  --sur-tuile: #FFFFFF;
  --bouton-tuile: #3D6A1C;
  --fond-pied: #DDE5E4;
  --trait-pied: #B9C7C6;
  --voile-notice: rgba(18, 24, 23, 0.62);
  --sur-notice: #FFFFFF;
  --cadre: #8C9794;
}
@media (prefers-color-scheme: dark) {
  :root {
    --fond: #121817;
    --surface: #1B2321;
    --texte: #E6ECEA;
    --texte-discret: #B2BDB9;
    --filet: #2A3532;
    --marque: #B4DA8A;
    --sur-marque: #121817;
    --marque-texte: #B4DA8A;
    --sphere-vide: #000000;
    --pro: #F4C430;
    --pro-clair: #3A3013;
    --pro-texte: #F4C430;
    --ultra: #DCA0D6;
    --ultra-clair: #37233A;
    --ultra-texte: #DCA0D6;
    --marque-clair: #283A1C;
    --corps-telephone: #2A3532;
    --tranche: #566460;
    --ombre: rgba(0, 0, 0, 0.55);
    --bord-tuile: #B4DA8A;
    --voile-milieu: rgba(44, 79, 20, 0.6);
    --voile-bas: rgba(23, 74, 133, 0.95);
    --sur-tuile: #FFFFFF;
    --bouton-tuile: #2C4F14;
    --fond-pied: #1F2826;
    --trait-pied: #3A4744;
    --voile-notice: rgba(0, 0, 0, 0.62);
    --sur-notice: #FFFFFF;
    --cadre: #6D7A76;
  }
}
body.studio-site {
  --fond: #EEF4FB;
  --surface: #FFFFFF;
  --texte: #14233A;
  --texte-discret: #42526A;
  --filet: #CFDDEE;
  --marque: #1C5DA6;
  --marque-texte: #1C5DA6;
  --fond-pied: #DCE7F4;
  --trait-pied: #B6C8DE;
  --degrade-haut: #F7FAFE;
  --degrade-milieu: #E3EDF9;
  --degrade-bas: #CFE0F4;
}
@media (prefers-color-scheme: dark) {
  body.studio-site {
    --fond: #0D1828;
    --surface: #15243A;
    --texte: #E6EDF7;
    --texte-discret: #A9B8CC;
    --filet: #24364F;
    --marque: #8CC4FF;
    --marque-texte: #8CC4FF;
    --fond-pied: #12203A;
    --trait-pied: #2C4161;
    --degrade-haut: #0D1828;
    --degrade-milieu: #11233F;
    --degrade-bas: #173A6B;
  }
}
/* Les deux sites (planetaview.com, sommeto.com) : la feuille commune. Les couleurs (les variables du haut) sont écrites
   par outils/sites.py depuis la palette « Alpage » de lib/core/style.dart ; ici, seulement leurs noms. */
@font-face {
  font-family: "Jost";
  src: url("fonts/Jost.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans Arabic PV";
  src: url("fonts/NotoSansArabic.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: "Noto Sans Devanagari PV";
  src: url("fonts/NotoSansDevanagari.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0900-097F, U+1CD0-1CFF, U+A8E0-A8FF;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--fond); color: var(--texte);
  font: 400 17px/1.55 "Jost", "Noto Sans Arabic PV", "Noto Sans Devanagari PV", system-ui, sans-serif;
}
a { color: var(--marque-texte); text-underline-offset: 0.18em; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--marque-texte); outline-offset: 3px; }
img { max-width: 100%; }
.cache-visuel {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* La barre du haut : le logo et le nom, le lien vers les langues. */
.barre {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px max(16px, calc((100% - 64rem) / 2)); background: var(--fond-pied);
  border-bottom: 1px solid var(--trait-pied);
}
.marque {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  color: var(--texte); text-decoration: none; font-weight: 500; font-size: 19px;
}
.marque { line-height: 1; }
.marque img { width: 44px; height: 44px; display: block; }
body.app .marque img { transform: translateY(-7px); }
.barre .vers-langues { font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }

.page { max-width: 47rem; margin: 0 auto; padding: 0 16px; }
h1 {
  font-weight: 500; font-size: clamp(30px, 7.4vw, 46px); line-height: 1.12; letter-spacing: -0.01em;
  margin: 28px 0 14px;
}
h2 { font-weight: 600; font-size: 23px; line-height: 1.3; margin: 40px 0 10px; }
p, ul, dl { margin: 0 0 14px; }
ul { padding-inline-start: 1.2em; }
li + li { margin-top: 6px; }
li::marker { color: var(--marque-texte); }
.discret { color: var(--texte-discret); }

/* La vue 360 : la photo tourne lentement d'elle-même, le doigt la prend ; le ruban des caps dessous, comme pendant
   la prise de vue de l'app. Le geste vertical fait défiler la page, sauf en plein écran. */
.vue { position: relative; background: var(--sphere-vide); margin-top: 48px; }
.vue canvas#vue {
  display: block; width: 100%; height: min(62vh, 540px); touch-action: pan-y; cursor: grab;
}
.vue canvas#vue:active { cursor: grabbing; }
.vue img.repli { display: none; width: 100%; height: auto; }
body.sans-webgl .vue canvas#vue, body.sans-webgl .ruban { display: none; }
body.sans-webgl .vue img.repli { display: block; }
.vue:fullscreen canvas#vue { height: 100vh; touch-action: none; }
.vue:fullscreen .ruban { position: absolute; left: 0; right: 0; bottom: 0; }
.ruban {
  position: relative; height: 30px; overflow: hidden; background: var(--surface);
  border-bottom: 1px solid var(--filet); color: var(--texte-discret);
}
.ruban svg { position: absolute; top: 0; left: 0; display: block; }
.ruban::after {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px;
  background: var(--marque);
}
.vue-pied {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  max-width: 64rem; margin: 0 auto; padding: 8px 16px; font-size: 15px; color: var(--texte-discret);
}
.vue-pied p { margin: 0; }
button {
  min-height: 44px; padding: 0 16px; border: 0; border-radius: 12px; flex: none;
  background: var(--marque); color: var(--sur-marque); font: inherit; font-weight: 500; cursor: pointer;
}
button[hidden] { display: none; }

/* Le lien vers la fiche Google Play. */
.play { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 22px 0 8px; }
.play a { display: block; line-height: 0; }
.play img { height: 56px; width: auto; }
.play span { color: var(--texte-discret); font-size: 15px; }

/* Les captures du téléphone : une rangée qui défile de côté. */
.captures {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; list-style: none;
  margin: 0 -16px; padding: 4px 16px 14px;
}
.captures li { flex: 0 0 auto; scroll-snap-align: start; margin: 0; }
.captures { align-items: center; }
.captures img { display: block; width: 190px; height: auto; border: 1px solid var(--filet); }
.captures img.paysage { width: min(calc(100vw - 48px), 600px); }

/* Les points clés, sous l'introduction. */
.points { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.points li { margin: 0; padding-inline-start: 14px; border-inline-start: 4px solid var(--pro); font-weight: 500; }

/* Les mentions légales. */
.mentions dt { font-weight: 600; margin-top: 20px; }
.mentions dd { margin: 4px 0 0; }

/* Le pied : les pages, le contact, les langues. */
.pied {
  border-top: 1px solid var(--filet); margin-top: 56px; padding: 28px 16px 44px;
  background: var(--fond-pied); color: var(--texte-discret); font-size: 15px;
}
.pied > div { max-width: 47rem; margin: 0 auto; }
.pied ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; }
.pied li + li { margin-top: 0; }
.pied a { display: inline-block; padding: 6px 0; }
/* Le sélecteur de langue : un bouton, puis la liste des langues. */
.choix-langue { display: inline-block; position: relative; flex: none; }
.choix-langue summary {
  list-style: none; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--trait-pied); border-radius: 12px; background: var(--surface); color: var(--texte);
  cursor: pointer; font-size: 16px;
}
.choix-langue summary::-webkit-details-marker { display: none; }
.choix-langue[open] .chevron { transform: rotate(180deg); }
.choix-langue ul {
  display: block; position: absolute; bottom: calc(100% + 6px); inset-inline-start: 0; z-index: 5; min-width: 220px;
  max-height: 60vh; overflow-y: auto; margin: 0; padding: 4px 0; background: var(--surface);
  border: 1px solid var(--trait-pied); border-radius: 12px; box-shadow: 0 14px 32px -14px var(--ombre);
}
.choix-langue li { margin: 0; }
.choix-langue a { display: block; padding: 10px 16px; color: var(--texte); text-decoration: none; }
.choix-langue a:hover { background: var(--fond-pied); }
.choix-langue a[aria-current] { color: var(--marque-texte); font-weight: 600; }

/* Le menu de planetaview.com : en ligne sur un grand écran, sous un bouton « Menu » sur le téléphone (sans script). */
.barre { flex-wrap: wrap; }
.nav-large ul, .menu ul { list-style: none; margin: 0; padding: 0; }
.nav-large { display: none; }
.nav-large ul { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.nav-large li + li, .menu li + li { margin-top: 0; }
.nav-large a, .menu a {
  display: inline-block; padding: 10px 0; color: var(--texte); text-decoration: none; font-size: 16px; font-weight: 600;
}
.nav-large a:hover, .menu a:hover { text-decoration: underline; }
.nav-large a[aria-current], .menu a[aria-current] { color: var(--marque-texte); font-weight: 600; }
.nav-large a[aria-current] { box-shadow: inset 0 -3px 0 var(--pro); }
.menu summary {
  list-style: none; min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; cursor: pointer;
  border: 1px solid var(--filet); border-radius: 12px; font-weight: 500;
}
.menu summary::-webkit-details-marker { display: none; }
.menu[open] { flex-basis: 100%; }
.menu[open] summary { margin-bottom: 4px; }
.menu[open] ul { border-top: 1px solid var(--filet); padding-top: 4px; }
.menu[open] li { border-bottom: 1px solid var(--filet); }
.menu[open] a { display: block; padding: 12px 0; }
@media (min-width: 56rem) {
  .nav-large { display: block; }
  .menu { display: none; }
}

/* Les téléphones dessinés : la capture dans un corps aux coins arrondis, tourné en perspective ; la tranche est une
   ombre nette décalée, la pose varie d'un écran à l'autre (sa demande du 26/11/2026). */
.telephone { margin: 28px auto 60px; width: 82%; max-width: 330px; perspective: 1400px; }
.telephone.paysage {
  width: min(80vw, 900px); max-width: none; margin-inline: calc(50% - min(40vw, 450px)); margin-bottom: 84px;
}
.telephone .corps {
  position: relative; border: 7px solid var(--corps-telephone); border-radius: 46px; background: var(--corps-telephone);
  transform: var(--pose);
  box-shadow: 0 0 0 1.5px var(--cadre), var(--tranche-x) 9px 0 0 var(--tranche), 0 30px 50px -22px var(--ombre);
}
.telephone.paysage .corps { border-radius: 40px; }
.telephone .corps::before, .telephone .corps::after {
  content: ""; position: absolute; right: -9px; width: 3px; border-radius: 2px; background: var(--cadre);
}
.telephone .corps::before { top: 20%; height: 8%; }
.telephone .corps::after { top: 31%; height: 13%; }
.telephone.paysage .corps::before { right: auto; top: -9px; left: 20%; width: 8%; height: 3px; }
.telephone.paysage .corps::after { right: auto; top: -9px; left: 31%; width: 13%; height: 3px; }
.telephone .camera {
  position: absolute; top: 2.2%; left: 50%; width: 27%; height: 2.6%; transform: translateX(-50%);
  border-radius: 999px; background: var(--corps-telephone); z-index: 1;
}
.telephone.paysage .camera { top: 50%; left: 2.2%; width: 2.6%; height: 27%; transform: translateY(-50%); }
.telephone img { display: block; width: 100%; height: auto; border-radius: 39px; }
.telephone.paysage img { border-radius: 33px; }
.pose-1 { --pose: rotateY(-16deg) rotateX(5deg) rotateZ(2deg); --tranche-x: 8px; }
.pose-2 { --pose: rotateY(15deg) rotateX(4deg) rotateZ(-2deg); --tranche-x: -8px; }
.pose-3 { --pose: rotateX(12deg) rotateZ(-4deg); --tranche-x: 6px; }
.pose-4 { --pose: rotateY(-8deg) rotateZ(5deg); --tranche-x: 7px; }
.duo { display: flex; justify-content: center; gap: 0; margin: 24px 0 8px; }
.duo .telephone { margin: 0; width: 54%; max-width: 300px; }
.duo .telephone + .telephone { margin-inline-start: -8%; margin-top: 40px; }

/* Les sections : un bloc par sujet, le téléphone à côté du texte sur un grand écran, en alternance. */
.page.large { max-width: 51.8rem; }
.chapeau { font-size: 20px; color: var(--texte-discret); max-width: 47rem; }
body.app {
  background:
    radial-gradient(48rem 32rem at 100% 0, var(--pro-clair), transparent 70%),
    radial-gradient(44rem 36rem at 0 38%, var(--marque-clair), transparent 70%),
    radial-gradient(44rem 36rem at 100% 72%, var(--ultra-clair), transparent 70%),
    linear-gradient(180deg, var(--surface) 0, var(--fond) 640px),
    var(--fond);
  background-repeat: no-repeat;
}
.bloc { max-width: 47rem; margin-top: 8px; }
.bloc + .bloc { border-top: 1px solid var(--filet); margin-top: 32px; }

.sommaire { list-style: none; padding: 0; }
.sommaire li {
  padding: 12px 16px; margin: 0 0 10px; background: var(--surface); border: 1px solid var(--filet);
  border-inline-start: 4px solid var(--pro); border-radius: 12px;
}
.sommaire a { font-weight: 500; font-size: 18px; }
.question h2 { font-size: 19px; margin-top: 28px; }

/* Les réseaux de l'app, en bas. */
.ligne-pied { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.reseaux { list-style: none; padding: 0; display: flex; gap: 4px; margin: 0; }
.reseaux a { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--texte); }
.reseaux a:hover { color: var(--marque-texte); }

/* La vitrine du studio : le nom en grand, une phrase, une tuile par app : sa photo en fond sous un voile en dégradé
   (le seul dégradé des deux sites), un bord vert marqué, le logo en haut, un bouton (ses demandes du 26/11/2026). */
.studio h1.mot {
  font-weight: 600; font-size: clamp(64px, 21vw, 136px); line-height: 0.95; letter-spacing: -0.035em;
  margin: 48px 0 12px;
}
.studio .phrase { font-size: 20px; color: var(--texte-discret); margin: 0 0 40px; }
.tuiles { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.tuiles li + li { margin-top: 0; }
.tuile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 460px;
  overflow: hidden; color: var(--sur-tuile); text-decoration: none; border-radius: 12px;
  border: 4px solid var(--bord-tuile); background: var(--bord-tuile);
}
.tuile .fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tuile .voile {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 25%, var(--voile-milieu) 58%, var(--voile-bas) 100%);
}
.tuile .icone { position: absolute; top: 16px; inset-inline-end: 16px; width: 96px; height: 96px; }
.tuile .contenu { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 24px; }
.tuile .nom { font-size: 34px; font-weight: 500; line-height: 1.1; margin-bottom: 8px; }
.tuile .texte { font-size: 20px; line-height: 1.4; margin-bottom: 20px; max-width: 26ch; }
.tuile .bouton {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 12px;
  background: var(--sur-tuile); color: var(--bouton-tuile); font-weight: 600; font-size: 17px;
}
.tuile:hover .bouton { text-decoration: underline; text-underline-offset: 0.18em; }
.tuile:focus-visible { outline: 3px solid var(--marque-texte); outline-offset: 3px; }
@media (min-width: 44rem) {
  .tuile { min-height: 400px; }
  .tuile .contenu { padding: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
}
.vue #plein { position: absolute; top: 12px; inset-inline-end: 12px; }

/* La notice de la photo 360 (sa demande du 26/11/2026). */
.vue .notice {
  position: absolute; bottom: 10px; inset-inline-end: 10px; margin: 0; padding: 4px 10px; border-radius: 12px;
  background: var(--voile-notice); color: var(--sur-notice); font-size: 13px; pointer-events: none;
}

/* Les offres de la page « Plans », aux couleurs de l'app : le jaune du Pro, le violet de l'Ultra. */
.offres {
  list-style: none; padding: 0; margin: 24px 0 8px; display: grid; gap: clamp(8px, 2vw, 16px);
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  width: min(94vw, 1000px); margin-inline: calc(50% - min(47vw, 500px));
}

.offres > li + li { margin-top: 0; }
.offre { padding: 4px 20px 16px; border-radius: 12px; border: 1px solid var(--filet); background: var(--surface); }
.offre h2 { margin: 16px 0 8px; font-size: 24px; }
.offre.pro { background: var(--pro-clair); border-top: 6px solid var(--pro); }
.offre.pro h2 { color: var(--pro-texte); }
.offre.ultra { background: var(--ultra-clair); border-top: 6px solid var(--ultra); }
.offre.ultra h2 { color: var(--ultra-texte); }
.offre.gratuit { border-top: 6px solid var(--marque); }
.offre li:last-child { color: var(--texte-discret); }

/* La vitrine : le fond bleu en dégradé, le logo du studio à côté du nom. */
body.studio-site {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--degrade-haut) 0%, var(--degrade-milieu) 55%, var(--degrade-bas) 100%);
}
.studio-titre { display: flex; align-items: center; gap: clamp(12px, 3vw, 24px); margin: 40px 0 12px; }
.studio .studio-titre .mot { margin: 0; }
.logo-studio { width: clamp(64px, 16vw, 112px); height: auto; flex: none; }
.studio .studio-titre .mot { font-size: clamp(44px, 14vw, 128px); }

/* Le menu de la vitrine et la page des autres projets. */
.nav-studio ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.nav-studio li + li { margin-top: 0; }
.nav-studio a { display: inline-block; padding: 10px 0; color: var(--texte); text-decoration: none; font-weight: 600; }
.nav-studio a:hover { text-decoration: underline; }
.nav-studio a[aria-current] { color: var(--marque-texte); box-shadow: inset 0 -3px 0 var(--marque); }
.projets { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.projets > li + li { margin-top: 0; }
.projet { padding: 4px 20px 18px; background: var(--surface); border: 1px solid var(--filet); border-radius: 12px;
  border-top: 5px solid var(--marque); }
.projet h2 { margin: 16px 0 6px; }
.projet .etat { display: inline-block; padding: 2px 10px; border-radius: 12px; font-size: 14px;
  background: var(--fond); color: var(--texte-discret); }

/* L'accueil de planetaview.com : le logo au-dessus du nom, centrés, en grand, le nom en gras (sa demande du
   26/11/2026). */
.app-titre { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 40px 0 8px;
  text-align: center; }
.logo-app { width: clamp(112px, 30vw, 160px); height: auto; }
.nom-app { margin: 0; font-weight: 700; font-size: clamp(40px, 11vw, 72px); line-height: 1.05; letter-spacing: -0.02em; }
