/* Site public (accueil commercial, tarifs, inscription, textes juridiques). Couleurs du
   logo : bleu canard #155069, orange #EF9F27. Sans framework, lisible sur téléphone. */
:root {
  --bleu: #155069;
  --bleu-clair: #1f6f8b;
  --bleu-pale: #e8f2f6;
  --orange: #ef9f27;
  --orange-fonce: #c97c0a;
  --creme: #fff8ee;
  --texte: #1f2933;
  --doux: #52606d;
  --bord: #dde3e8;
  --fond: #ffffff;
  --vert: #1e7a46;
  --rouge: #b3261e;
  --rayon: 14px;
  --ombre: 0 10px 30px rgba(21, 80, 105, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.site {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--texte);
  background: var(--fond);
}
.site a { color: var(--bleu-clair); }
.site img { max-width: 100%; height: auto; }
.site h1, .site h2, .site h3 { line-height: 1.2; color: var(--bleu); }
.site h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); margin: 0 0 1rem; letter-spacing: -.01em; }
.site h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); margin: 0 0 1rem; }
.site h3 { font-size: 1.2rem; margin: 0 0 .5rem; }
.site-largeur { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.aller-contenu { position: absolute; left: -999px; }
.aller-contenu:focus { left: 10px; top: 10px; background: #fff; padding: .5rem; z-index: 10; }

/* En-tête */
.site-entete { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--bord); backdrop-filter: blur(6px); }
.site-barre { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.site-marque { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--bleu) !important; }
.site-marque span { display: flex; flex-direction: column; line-height: 1.1; }
.site-marque strong { font-size: 1.3rem; letter-spacing: .04em; }
.site-marque small { font-size: .78rem; color: var(--doux); }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 1.2rem; }
.site-nav a { text-decoration: none; color: var(--texte); font-weight: 500; font-size: .97rem; }
.site-nav a:hover { color: var(--bleu-clair); }
.site-menu-bascule, .site-menu-bouton { display: none; }
.site-bouton, .site button.site-bouton {
  display: inline-block; background: var(--orange); color: #1f2933 !important; font-weight: 700;
  padding: .7rem 1.3rem; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer;
  font-size: 1rem; box-shadow: 0 4px 14px rgba(239, 159, 39, .35); transition: transform .15s, background .15s;
}
.site-bouton:hover { background: #f5b04a; transform: translateY(-1px); }
.site-bouton.grand { padding: .95rem 1.8rem; font-size: 1.1rem; }
.site-bouton.secondaire { background: #fff; color: var(--bleu) !important; border: 2px solid var(--bleu); box-shadow: none; }
.site-bouton.secondaire:hover { background: var(--bleu-pale); }
.site-bouton.clair { background: #fff; color: var(--bleu) !important; box-shadow: none; }
form.en-ligne { display: inline; margin: 0; }

/* Messages */
.site-messages { list-style: none; padding: 0; margin: 1rem 0; }
.site-messages li { padding: .75rem 1rem; border-radius: 10px; background: var(--bleu-pale); margin-bottom: .5rem; }
.site-messages li.success { background: #e7f5ec; color: var(--vert); }
.site-messages li.success::before { content: "✅ "; }
.site-messages li.error { background: #fdecea; color: var(--rouge); }
.site-messages li.error::before { content: "❌ "; }

/* Bandeau d'accueil : texte à gauche ; à droite un petit immeuble bordelais (illustration)
   et un ordinateur qui montre le vrai tableau de bord. */
.bandeau { background: linear-gradient(180deg, var(--bleu-pale) 0%, #f7fbfc 70%, #fff 100%); overflow: hidden; }
.bandeau-grille { display: grid; grid-template-columns: 1fr 1.05fr; gap: 2.5rem; align-items: center; padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.bandeau-texte { max-width: 600px; }
.bandeau .sur-titre { display: inline-block; background: #fff; border: 1px solid var(--bord); border-radius: 999px; padding: .3rem .9rem; font-size: .9rem; margin-bottom: 1rem; color: var(--bleu); }
.bandeau p.chapeau { font-size: 1.2rem; color: var(--doux); margin: 0 0 1.8rem; }
.bandeau .actions { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; }
.bandeau .petit { font-size: .9rem; color: var(--doux); margin-top: 1rem; }
.scene { position: relative; padding-bottom: 12%; }
.scene-immeuble { display: block; width: 88%; margin-left: auto; filter: drop-shadow(0 18px 30px rgba(21, 80, 105, .15)); }
.portable { position: absolute; left: 0; bottom: 0; width: 50%; margin: 0; animation: flotte 6s ease-in-out infinite; }
.portable-ecran { background: #1f2933; border-radius: 12px 12px 0 0; padding: 3.5% 3.5% 2.5%; box-shadow: 0 20px 40px rgba(15, 59, 78, .3); }
.portable-ecran img { display: block; width: 100%; border-radius: 3px; }
.portable-socle { height: 14px; background: linear-gradient(#d5dce2, #aeb8c1); border-radius: 0 0 14px 14px; margin: 0 -7%; }
@keyframes flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .portable { animation: none; } }

/* Galerie des vrais écrans (onglets sans script) */
.galerie > input { position: absolute; opacity: 0; pointer-events: none; }
.galerie-onglets { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 1.5rem; }
.galerie-onglets label { cursor: pointer; padding: .55rem 1.1rem; border-radius: 999px; border: 1px solid var(--bord); background: #fff; font-weight: 600; color: var(--bleu); }
.galerie-onglets label:hover { background: var(--bleu-pale); }
.galerie-vue { display: none; margin: 0 auto; max-width: 980px; }
.galerie-vue figcaption { text-align: center; color: var(--doux); margin-top: 1rem; font-size: 1.05rem; }
#galerie-1:checked ~ .galerie-vues .galerie-vue:nth-child(1),
#galerie-2:checked ~ .galerie-vues .galerie-vue:nth-child(2),
#galerie-3:checked ~ .galerie-vues .galerie-vue:nth-child(3),
#galerie-4:checked ~ .galerie-vues .galerie-vue:nth-child(4),
#galerie-5:checked ~ .galerie-vues .galerie-vue:nth-child(5) { display: block; animation: apparait .35s ease; }
#galerie-1:checked ~ .galerie-onglets label:nth-child(1),
#galerie-2:checked ~ .galerie-onglets label:nth-child(2),
#galerie-3:checked ~ .galerie-onglets label:nth-child(3),
#galerie-4:checked ~ .galerie-onglets label:nth-child(4),
#galerie-5:checked ~ .galerie-onglets label:nth-child(5) { background: var(--orange); border-color: var(--orange); color: #1f2933; }
.galerie > input:focus-visible + input, .galerie-onglets label:focus-within { outline: 2px solid var(--bleu-clair); }
.navigateur { border-radius: 12px; overflow: hidden; box-shadow: var(--ombre); border: 1px solid var(--bord); background: #fff; }
.navigateur-barre { background: #eef2f5; padding: .5rem .8rem; display: flex; gap: .4rem; align-items: center; font-size: .85rem; color: var(--doux); }
.navigateur-barre i { width: 10px; height: 10px; border-radius: 50%; background: #cfd6dc; display: inline-block; }
.navigateur-barre span { margin-left: .6rem; }
.navigateur img { display: block; width: 100%; }
@keyframes apparait { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Sections */
.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section.pale { background: var(--bleu-pale); }
.section.creme { background: var(--creme); }
.section .intro { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; color: var(--doux); font-size: 1.1rem; }
.section .intro h2 { margin-bottom: .6rem; }
.centre { text-align: center; }
.grille { display: grid; gap: 1.5rem; }
.grille.deux { grid-template-columns: repeat(2, 1fr); }
.grille.trois { grid-template-columns: repeat(3, 1fr); }
.grille.quatre { grid-template-columns: repeat(4, 1fr); }
.carte-site { background: #fff; border: 1px solid var(--bord); border-radius: var(--rayon); padding: 1.6rem; box-shadow: 0 2px 8px rgba(21, 80, 105, .05); }
.carte-site.lien { text-decoration: none; color: inherit; display: block; transition: transform .15s, box-shadow .15s; }
.carte-site.lien:hover { transform: translateY(-3px); box-shadow: var(--ombre); }
.carte-site .icone { font-size: 2rem; display: block; margin-bottom: .6rem; }
.carte-site p { margin: 0 0 .5rem; color: var(--doux); }
.carte-site .suite { color: var(--bleu-clair); font-weight: 600; }

/* Deux publics */
.public { border-radius: var(--rayon); padding: 2rem; color: var(--texte); position: relative; }
.public.benevole { background: var(--bleu-pale); }
.public.pro { background: var(--creme); }
.public .etiquette { font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--orange-fonce); }
.public ul { padding-left: 1.2rem; margin: .8rem 0 1.2rem; }
.public li { margin-bottom: .3rem; }

/* Étapes illustrées */
.etape { text-align: center; }
.etape img { width: 100%; max-width: 260px; height: auto; margin-bottom: 1rem; }
.etape .numero { display: inline-flex; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--orange); color: #1f2933; font-weight: 800; align-items: center; justify-content: center; margin-bottom: .6rem; }
.etape p { color: var(--doux); }

.coche { list-style: none; padding: 0; }
.coche li { padding-left: 1.8rem; position: relative; margin-bottom: .7rem; }
.coche li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #fff; background: var(--vert); width: 1.25rem; height: 1.25rem; border-radius: 50%; font-size: .8rem; display: flex; align-items: center; justify-content: center; margin-top: .2rem; }

/* Atouts */
.atout { text-align: center; padding: 1rem; }
.atout .icone { font-size: 2.2rem; }
.atout p { color: var(--doux); margin: .3rem 0 0; }

/* Témoignage type */
.citation { max-width: 760px; margin: 0 auto; text-align: center; font-size: 1.25rem; color: var(--bleu); }
.citation p { font-style: italic; }
.citation footer { font-size: .95rem; color: var(--doux); font-style: normal; }

/* Appel à l'action */
.appel-final { background: linear-gradient(135deg, var(--bleu), var(--bleu-clair)); color: #fff; text-align: center; border-radius: 20px; padding: clamp(2rem, 6vw, 3.5rem) 1.5rem; }
.appel-final h2 { color: #fff; }
.appel-final p { opacity: .92; max-width: 640px; margin: 0 auto 1.5rem; }
.appel-final .actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.appel-final .site-bouton.secondaire { background: transparent; color: #fff !important; border-color: #fff; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--bord); border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: .75rem; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--bleu); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; font-size: 1.3rem; line-height: 1; color: var(--orange-fonce); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .75rem 0 0; color: var(--doux); }

/* Pages intérieures */
.entete-page { background: var(--bleu-pale); padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2rem, 5vw, 3rem); }
.entete-page .chapeau { font-size: 1.2rem; color: var(--doux); max-width: 760px; margin: 0; }
.entete-page .actions { margin-top: 1.5rem; display: flex; gap: .8rem; flex-wrap: wrap; }
.fil { font-size: .9rem; color: var(--doux); margin-bottom: .8rem; }
.fil a { color: var(--doux); }
.texte-page { max-width: 820px; }
.texte-page h2 { margin-top: 2.5rem; }
.bloc-fonction { display: grid; grid-template-columns: 64px 1fr; gap: 1.2rem; margin-bottom: 2rem; }
.bloc-fonction .pastille { width: 56px; height: 56px; border-radius: 16px; background: var(--creme); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: var(--orange-fonce); font-weight: 800; }
.bloc-fonction h2 { font-size: 1.35rem; margin: 0 0 .4rem; }
.bloc-fonction p { margin: 0; color: var(--doux); }
.encart { background: var(--creme); border-left: 5px solid var(--orange); border-radius: 10px; padding: 1.1rem 1.3rem; margin: 2rem 0; }
.encart p:last-child { margin-bottom: 0; }
.encart.bleu { background: var(--bleu-pale); border-left-color: var(--bleu-clair); }
ol.etapes-liste { counter-reset: etape; list-style: none; padding: 0; }
ol.etapes-liste > li { counter-increment: etape; position: relative; padding-left: 3.2rem; margin-bottom: 1.6rem; }
ol.etapes-liste > li::before { content: counter(etape); position: absolute; left: 0; top: 0; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--bleu); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
ol.etapes-liste h3 { margin-bottom: .2rem; }
ol.etapes-liste p { margin: 0; color: var(--doux); }
table.comparaison { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; }
table.comparaison th, table.comparaison td { padding: .8rem 1rem; border-bottom: 1px solid var(--bord); text-align: left; vertical-align: top; }
table.comparaison thead th { background: var(--bleu); color: #fff; }

/* Tarifs */
.tarif { background: #fff; border: 2px solid var(--bord); border-radius: 18px; padding: 2rem 1.5rem; text-align: center; display: flex; flex-direction: column; }
.tarif.mise-en-avant { border-color: var(--orange); box-shadow: var(--ombre); }
.tarif .lots { font-weight: 700; color: var(--bleu); font-size: 1.15rem; }
.tarif .prix { font-size: 2.6rem; font-weight: 800; color: var(--bleu); margin: .8rem 0 0; line-height: 1; }
.tarif .prix small { font-size: 1rem; font-weight: 500; color: var(--doux); }
.tarif .mois { color: var(--doux); font-size: .95rem; margin: .4rem 0 1.2rem; }
.tarif .autres { font-size: .9rem; color: var(--doux); margin: 0 0 1.2rem; }
.tarif .autres span { white-space: nowrap; }
.tarif .autres span + span::before { content: " · "; }
.tarif .site-bouton { margin-top: auto; }
.inclus { columns: 2; column-gap: 2.5rem; }

/* Formulaires (inscription, conditions) */
.carte-formulaire { max-width: 520px; margin: 2.5rem auto 4rem; background: #fff; border: 1px solid var(--bord); border-radius: 18px; padding: 2rem; box-shadow: var(--ombre); }
.carte-formulaire h1 { font-size: 1.7rem; }
.carte-formulaire .champ { margin-bottom: 1rem; }
.carte-formulaire label { display: block; font-weight: 600; margin-bottom: .3rem; }
.carte-formulaire label::first-letter { text-transform: uppercase; }
.carte-formulaire input[type=email], .carte-formulaire input[type=password], .carte-formulaire input[type=text], .carte-formulaire textarea {
  width: 100%; padding: .7rem .8rem; border: 1px solid #b9c4cc; border-radius: 10px; font: inherit;
}
.carte-formulaire .case { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; }
.carte-formulaire .case input { margin-top: .35rem; }
.carte-formulaire .aide { font-size: .88rem; color: var(--doux); margin: .25rem 0 0; }
.carte-formulaire .errorlist { list-style: none; padding: 0; margin: .3rem 0; color: var(--rouge); font-size: .92rem; }
.carte-formulaire button { width: 100%; margin-top: .5rem; }
.carte-formulaire .legende { font-size: .92rem; color: var(--doux); text-align: center; margin-top: 1.2rem; }
.piege { position: absolute; left: -5000px; }

/* Textes juridiques */
.legal { max-width: 820px; padding: 2.5rem 20px 4rem; }
.legal h1 { font-size: 2rem; }
.legal h2 { font-size: 1.25rem; margin-top: 2rem; }
.legal .version { color: var(--doux); font-size: .92rem; }
.legal .vide { background: #fff3cd; color: #7a5200; padding: 0 .3rem; border-radius: 4px; font-style: italic; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.2rem; }
.legal dt { font-weight: 600; }
.legal dd { margin: 0; white-space: pre-line; }

/* Pied de page */
.site-pied { background: #0f3b4e; color: #d6e4ea; padding: 3rem 0 1.5rem; margin-top: 0; font-size: .95rem; }
.site-pied a { color: #fff; text-decoration: none; }
.site-pied a:hover { text-decoration: underline; }
.site-pied-colonnes { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.site-pied ul { list-style: none; padding: 0; margin: 0; }
.site-pied li { margin-bottom: .35rem; }
.site-pied-titre { font-weight: 700; color: #fff; margin: 0 0 .6rem; }
.site-marque.pied { color: #fff !important; margin: 0 0 .6rem; }
.site-marque.pied small { color: #b9cdd6; }
.site-pied-legal { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 2rem; padding-top: 1.2rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .85rem; color: #9fb7c2; }
.site-pied-legal a { color: #9fb7c2; }

/* Téléphone et tablette */
@media (max-width: 1080px) {
  .site-menu-bouton { display: block; margin-left: auto; font-size: 1.6rem; cursor: pointer; padding: .2rem .5rem; color: var(--bleu); }
  .site-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 1rem 20px 1.5rem; gap: .9rem; border-bottom: 1px solid var(--bord); box-shadow: var(--ombre); }
  .site-menu-bascule:checked ~ .site-nav { display: flex; }
  .site-nav .site-bouton { text-align: center; }
}
@media (max-width: 900px) {
  .bandeau-grille { grid-template-columns: 1fr; }
  .scene { max-width: 560px; margin: 0 auto; width: 100%; }
  .grille.trois, .grille.quatre { grid-template-columns: repeat(2, 1fr); }
  .site-pied-colonnes { grid-template-columns: 1fr 1fr; }
  .site-pied-colonnes > div:first-child { grid-column: span 2; }
}
@media (max-width: 640px) {
  body.site { font-size: 16px; }
  .grille.deux, .grille.trois, .grille.quatre { grid-template-columns: 1fr; }
  .inclus { columns: 1; }
  .site-marque small { display: none; }
  .legal dl { grid-template-columns: 1fr; }
  .bloc-fonction { grid-template-columns: 1fr; }
}
