/* =====================================================================
   SolaWeb — pages intérieures alignées sur l'accueil (25.11.2026)
   En-tête sombre pleine largeur avec vidéo floutée (comme .accueil),
   sections claires transparentes (la vidéo de fond .fond-motion reste visible),
   cartes translucides, grands titres, appel final en panneau sombre.
   Chargé après css/moderne.css sur les 6 pages intérieures.
   ===================================================================== */
:root {
  --pg-nuit: #172238;
  --pg-carte: rgba(255, 255, 255, .72);
  --pg-bord: rgba(31, 45, 77, .09);
  --pg-ombre: 0 1px 2px rgba(22, 33, 58, .04), 0 24px 48px -28px rgba(22, 33, 58, .22);
  --pg-aube: #F0A36B;
}

/* ---------- 1. En-tête sombre avec vidéo ---------- */
html body .bandeau-page.bandeau-sombre {
  position: relative !important; isolation: isolate; overflow: hidden !important;
  background: var(--pg-nuit) !important; color: #F3EEE4 !important; border: 0 !important;
  padding: clamp(9rem, 20vh, 12rem) 0 clamp(4.5rem, 10vh, 7rem) !important; min-height: 0 !important;
}
html body .bandeau-page.bandeau-sombre::before { content: none !important; display: none !important; }
html body .bandeau-page.bandeau-sombre::after {
  content: "" !important; display: block !important; position: absolute !important; inset: 0 !important; z-index: -1 !important;
  width: auto !important; height: auto !important; border-radius: 0 !important; transform: none !important; opacity: 1 !important;
  background: linear-gradient(90deg, rgba(23, 34, 56, .93) 0%, rgba(23, 34, 56, .84) 55%, rgba(23, 34, 56, .74) 100%) !important;
  -webkit-mask: none !important; mask: none !important;
}
.bandeau-fond { position: absolute; inset: 0; z-index: -2; }
.bandeau-fond video { width: 100%; height: 100%; object-fit: cover; filter: blur(3px) saturate(.7); transform: scale(1.06); display: block; }
html body .bandeau-page.bandeau-sombre .conteneur { position: relative; z-index: 1; }
html body .bandeau-page.bandeau-sombre h1, html body .bandeau-page.bandeau-sombre h1 span, html body .bandeau-page.bandeau-sombre h1 .accent {
  color: #fff !important; font-family: "Montserrat", sans-serif !important; font-weight: 600 !important;
  font-size: clamp(2.8rem, 6.4vw, 5.6rem) !important; letter-spacing: -.035em !important; line-height: 1.04 !important;
  max-width: 18ch; margin: 0 0 1.4rem !important; padding: 0 !important; transform: none !important;
}
html body .bandeau-page.bandeau-sombre h1::after { content: none !important; display: none !important; }
html body .bandeau-page.bandeau-sombre p { color: rgba(243, 238, 228, .88) !important; font-size: clamp(1.05rem, 1.4vw, 1.22rem) !important; line-height: 1.6; max-width: 38rem; margin: 0; }
html body .bandeau-page.bandeau-sombre .fil-ariane { margin: 0 0 1.6rem !important; padding: 0; display: flex; gap: .5rem; list-style: none; font-size: .9rem; }
html body .bandeau-page.bandeau-sombre .fil-ariane, html body .bandeau-page.bandeau-sombre .fil-ariane a, html body .bandeau-page.bandeau-sombre .fil-ariane li { color: rgba(243, 238, 228, .7) !important; }
html body .bandeau-page.bandeau-sombre .fil-ariane li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }
html body .bandeau-page.bandeau-sombre .fil-ariane a:hover { color: #fff !important; }
html body .bandeau-page.bandeau-sombre a:focus-visible { outline: 2px solid var(--pg-aube); outline-offset: 3px; }
/* entrée douce une fois l'ouverture terminée */
html.js body .bandeau-page.bandeau-sombre .bandeau-fond video { opacity: 0; transform: scale(1.14); }
html.js.pret body .bandeau-page.bandeau-sombre .bandeau-fond video { opacity: 1; transform: scale(1.06); transition: opacity 1.4s ease, transform 2.4s cubic-bezier(.16, 1, .3, 1); }

/* ---------- 2. Sections claires, transparentes et aérées ---------- */
html body main > section.section, html body main > section.bloc { background: transparent !important; padding-block: clamp(6rem, 12vw, 9.5rem) !important; }
html body main .section h2, html body main .bloc h2 { font-family: "Montserrat", sans-serif !important; font-weight: 600 !important; letter-spacing: -.035em !important; line-height: 1.06 !important; font-size: clamp(2.2rem, 4.6vw, 3.8rem) !important; margin-bottom: 2.4rem !important; }
html body main .section h2 .accent, html body main .section h2 .mot-bronze { color: inherit !important; }
html body main .section h2 .accent::after { display: none !important; }

/* cartes translucides communes */
html body .services-detail .service,
html body .faq details,
html body .ct-droite,
html body .page-legale .texte-long,
html body .carte-projet,
html body .commandes-real {
  background: var(--pg-carte) !important; border: 1px solid var(--pg-bord) !important; border-radius: 18px !important;
  box-shadow: var(--pg-ombre) !important; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}

/* ---------- 3. Services : cartes, objets 3D, prix ---------- */
html body .services-detail { border: 0 !important; display: grid; gap: 1.4rem; }
html body .services-detail .service { padding: clamp(1.6rem, 3vw, 2.4rem) !important; border-bottom: 1px solid var(--pg-bord) !important; transition: transform .5s cubic-bezier(.16, 1, .3, 1), box-shadow .5s; }
html body .services-detail .service:hover { box-shadow: 0 1px 2px rgba(22, 33, 58, .05), 0 30px 60px -30px rgba(22, 33, 58, .32) !important; }
html body .services-detail .service h3 { font-size: clamp(1.3rem, 1.9vw, 1.7rem); letter-spacing: -.02em; overflow-wrap: anywhere; }
html body .services-detail .s-3d { width: 6rem; height: 6rem; }
html body .services-detail .s-prix strong { font-size: 1.15rem; }
/* FAQ en cartes */
html body .faq { border: 0 !important; display: grid; gap: .8rem; }
html body .faq details { border-top: 1px solid var(--pg-bord) !important; padding: 0 1.4rem; transition: box-shadow .4s; }
html body .faq details[open] { box-shadow: 0 1px 2px rgba(22, 33, 58, .05), 0 30px 60px -32px rgba(22, 33, 58, .3) !important; }
html body .faq summary { padding: 1.25rem 0 !important; font-size: 1.08rem; }
html body .faq .rep { padding-right: 0 !important; }
html body .bloc.pierre { background: transparent !important; }

/* ---------- 4. Contact : formulaire aéré ---------- */
html body .ct-grille { gap: clamp(2.5rem, 6vw, 6rem) !important; align-items: start; }
html body .ct-titre { font-size: clamp(2.2rem, 4.6vw, 3.6rem) !important; }
html body .ct-intro { font-size: 1.15rem !important; line-height: 1.65; }
html body .ct-droite { padding: clamp(1.6rem, 3.5vw, 2.8rem) !important; }
html body .ct-form-titre { font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 1.4rem; letter-spacing: -.02em; }
html body .ct-form input:not([type="radio"]):not([type="checkbox"]), html body .ct-form textarea, html body .ct-form select {
  border-radius: 14px !important; border: 1px solid rgba(31, 45, 77, .16) !important; background: rgba(255, 255, 255, .85) !important;
  padding: .85rem 1rem !important; min-height: 3.1rem; font-size: 1rem; transition: border-color .25s, box-shadow .25s;
}
html body .ct-form textarea { min-height: 8rem; }
html body .ct-form input:focus, html body .ct-form textarea:focus, html body .ct-form select:focus { border-color: var(--pg-aube) !important; box-shadow: 0 0 0 4px rgba(240, 163, 107, .25) !important; outline: none !important; }
html body .ct-form label span, html body .ct-form .ct-choix span { border-radius: 999px !important; }
html body .ct-form input[type="radio"]:focus-visible + span { outline: 2px solid var(--pg-aube); outline-offset: 2px; }
html body .ct-form button[type="submit"], html body .ct-form .bouton { width: 100%; }

/* ---------- 5. Réalisations : fond et commandes alignés ---------- */
html body .section.ciel { background: transparent !important; }
html body .commandes-real { padding: .8rem 1rem !important; }
html body .carte-projet { overflow: hidden; transition: transform .5s cubic-bezier(.16, 1, .3, 1), box-shadow .5s; }
html body .carte-projet:hover { transform: translateY(-4px) !important; box-shadow: 0 1px 2px rgba(22, 33, 58, .05), 0 30px 60px -30px rgba(22, 33, 58, .35) !important; }
html body #particules, html body #vitre-canvas, html body #vitre-tel-canvas { display: none !important; }

/* ---------- 6. Pages légales : une colonne lisible dans une carte ---------- */
html body .page-legale .texte-long { max-width: 72ch !important; margin-inline: auto; padding: clamp(1.8rem, 5vw, 3.6rem) !important; line-height: 1.7; }
html body .page-legale .texte-long h2 { font-size: clamp(1.3rem, 2vw, 1.6rem) !important; margin: 2.2rem 0 .7rem !important; letter-spacing: -.015em !important; }
html body .page-legale .texte-long h2:first-child { margin-top: 0 !important; }

/* ---------- 7. Appel final : panneau sombre pleine largeur ---------- */
html body main > section.section.appel-sombre, html body .appel-sombre { position: relative; isolation: isolate; overflow: hidden; background: var(--pg-nuit) !important; padding-block: clamp(6rem, 12vw, 9rem) !important; }
html body .appel-sombre::before { content: ""; position: absolute; z-index: -1; left: 50%; bottom: -60%; width: min(70rem, 140vw); aspect-ratio: 2 / 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse, rgba(224, 123, 57, .35), rgba(224, 123, 57, 0) 65%); pointer-events: none; }
html body .appel-sombre .bande-cta { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; backdrop-filter: none; }
html body .appel-sombre .bande-cta::after { content: none !important; }
html body .appel-sombre h2, html body .appel-sombre .bande-cta h2 { color: #fff !important; font-size: clamp(2.2rem, 4.6vw, 3.8rem) !important; margin-bottom: .8rem !important; }
html body .appel-sombre p, html body .appel-sombre .bande-cta p { color: rgba(243, 238, 228, .86) !important; }
html body .appel-sombre .bouton { background: #F3EEE4 !important; border-color: #F3EEE4 !important; color: #1F2D4D !important; --b-soleil: #F6D3B4; }

/* ---------- Téléphone ---------- */
@media (max-width: 760px) {
  html body .bandeau-page.bandeau-sombre { padding-top: 8rem !important; }
  html body .services-detail .service { grid-template-columns: 1fr !important; }
  html body .services-detail .service > * { grid-column: 1 !important; }
  html body .services-detail .s-prix { text-align: left !important; }
}

/* ---------- Animations réduites ---------- */
@media (prefers-reduced-motion: reduce) {
  html.js body .bandeau-page.bandeau-sombre .bandeau-fond video { opacity: 1 !important; transform: scale(1.06) !important; transition: none !important; }
  html body .services-detail .service, html body .carte-projet { transition: none !important; }
  html body .carte-projet:hover { transform: none !important; }
}

/* =====================================================================
   Page Réalisations : la vitrine des trois démonstrations (25.11.2026)
   ===================================================================== */
.vitrines { padding-block: clamp(6rem, 11vw, 9rem) !important; }
.vitrines-grille { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .9fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
/* la scène : ordinateur + téléphone */
.vitrines-scene { position: relative; padding: 0 9% 6% 0; }
.v-ordi { border-radius: 16px; background: #10182A; padding: 10px 10px 12px; box-shadow: 0 2px 4px rgba(22, 33, 58, .08), 0 40px 70px -36px rgba(22, 33, 58, .55); }
.v-barre { display: flex; align-items: center; gap: .6rem; height: 2rem; padding: 0 .8rem; margin-bottom: 8px; border-radius: 8px; background: #1B2438; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: .78rem; color: rgba(243, 238, 228, .7); }
.v-point { width: .55rem; height: .55rem; border-radius: 50%; background: #3DBB7A; box-shadow: 0 0 0 3px rgba(61, 187, 122, .18); }
.v-ecran, .v-tel-ecran { position: relative; overflow: hidden; background: #fff; }
.v-ecran { aspect-ratio: 1366 / 768; border-radius: 6px; }
.v-tel { position: absolute; right: 0; bottom: 0; width: 24%; border-radius: 22px; background: #10182A; padding: 7px; box-shadow: 0 30px 50px -24px rgba(22, 33, 58, .6); }
.v-tel-ecran { aspect-ratio: 500 / 1100; border-radius: 16px; }
.v-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.03); transition: opacity .7s ease, transform 1.2s cubic-bezier(.16, 1, .3, 1); }
.v-img.actif { opacity: 1; transform: none; }
.vitrines-scene.change .v-tel { animation: tel-glisse .9s cubic-bezier(.16, 1, .3, 1); }
@keyframes tel-glisse { from { transform: translateY(14px); } to { transform: none; } }
/* les informations */
.vitrines-infos h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); margin: 0 0 1.8rem; }
.v-choix { display: grid; gap: .55rem; margin-bottom: 1.6rem; }
.v-choix button { all: unset; box-sizing: border-box; cursor: pointer; display: block; padding: .9rem 1.2rem; border-radius: 14px; border: 1px solid rgba(31, 45, 77, .1); background: rgba(255, 255, 255, .6); font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 1.1rem; color: rgba(22, 33, 58, .55); transition: background-color .3s, border-color .3s, color .3s, transform .4s cubic-bezier(.16, 1, .3, 1); }
.v-choix button small { display: block; font-family: "Instrument Sans", sans-serif; font-weight: 500; font-size: .8rem; color: rgba(58, 69, 96, .7); margin-bottom: .15rem; }
.v-choix button:hover { color: #16213A; border-color: rgba(31, 45, 77, .25); }
.v-choix button[aria-pressed="true"] { background: #fff; color: #16213A; border-color: rgba(240, 163, 107, .7); box-shadow: 0 14px 30px -22px rgba(22, 33, 58, .45); transform: translateX(6px); }
.v-choix button:focus-visible { outline: 2px solid #E07B39; outline-offset: 3px; }
.v-desc { margin: 0 0 1.6rem; color: #3A4560; font-size: 1.05rem; min-height: 3.2em; }
.v-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.4rem; }
.v-progres { height: 2px; border-radius: 2px; background: rgba(31, 45, 77, .1); overflow: hidden; margin-bottom: 1.4rem; }
.v-progres i { display: block; height: 100%; background: #E07B39; transform: scaleX(0); transform-origin: left; }
.v-note { margin: 0; font-size: .85rem; color: rgba(58, 69, 96, .8); }
@media (max-width: 900px) {
  .vitrines-grille { grid-template-columns: 1fr; }
  .vitrines-scene { padding-right: 12%; }
  .v-choix { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .v-img, .v-choix button { transition: none; } .vitrines-scene.change .v-tel { animation: none; } }

/* =====================================================================
   Page Réalisations : le studio (sites en direct) et les fiches projet
   ===================================================================== */
.studio-section { padding-block: clamp(6rem, 11vw, 9rem) clamp(3rem, 6vw, 5rem) !important; }
.studio-tete { text-align: center; max-width: 44rem; margin: 0 auto 2.6rem; }
.studio-tete h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); margin: 0 0 1rem; }
.studio-tete p { margin: 0; color: #3A4560; font-size: 1.12rem; }
.studio { border-radius: 26px; background: rgba(255, 255, 255, .72); border: 1px solid rgba(31, 45, 77, .09); box-shadow: 0 1px 2px rgba(22, 33, 58, .04), 0 40px 80px -48px rgba(22, 33, 58, .4); backdrop-filter: blur(10px); overflow: hidden; }
.studio-barre { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .8rem 1.5rem; padding: 1rem 1.2rem; border-bottom: 1px solid rgba(31, 45, 77, .08); }
.studio-onglets, .studio-appareils { display: inline-flex; gap: .25rem; padding: .3rem; border-radius: 999px; background: #EDEFF3; }
.studio-onglets button, .studio-appareils button { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: .45rem; padding: .5rem 1rem; border-radius: 999px; font-family: "Instrument Sans", sans-serif; font-weight: 600; font-size: .92rem; color: #4F5A70; transition: background-color .3s, color .3s, box-shadow .3s; }
.studio-onglets button:hover, .studio-appareils button:hover { color: #16213A; }
.studio-onglets [aria-selected="true"], .studio-appareils [aria-pressed="true"] { background: #fff; color: #16213A; box-shadow: 0 4px 14px -8px rgba(22, 33, 58, .45); }
.studio-onglets button:focus-visible, .studio-appareils button:focus-visible, .studio-ouvrir:focus-visible { outline: 2px solid #E07B39; outline-offset: 2px; }
.studio-appareils svg, .studio-ouvrir svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.studio-outils { display: flex; align-items: center; gap: 1rem; }
.studio-ouvrir { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .92rem; color: #1F2D4D; text-decoration: none; }
.studio-ouvrir:hover { color: #E07B39; }
/* la scène et le cadre qui se transforme */
.studio-scene { display: grid; place-items: center; padding: clamp(1.5rem, 4vw, 3rem); background: radial-gradient(rgba(31, 45, 77, .08) 1px, transparent 1.2px) 0 0 / 22px 22px, linear-gradient(180deg, #F7F8FA, #EEF0F4); }
.studio-cadre { width: 100%; max-width: 1080px; background: #10182A; border-radius: 16px; padding: 10px; box-shadow: 0 40px 70px -40px rgba(22, 33, 58, .6); transition: max-width .7s cubic-bezier(.16, 1, .3, 1), border-radius .7s cubic-bezier(.16, 1, .3, 1), padding .7s; }
.studio-adresse { display: flex; align-items: center; height: 2rem; margin-bottom: 8px; padding: 0 .9rem; border-radius: 8px; background: #1B2438; overflow: hidden; transition: height .5s, margin .5s, opacity .3s; }
.studio-adresse span { display: none; }
.studio-adresse em { font-style: normal; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: .78rem; color: rgba(243, 238, 228, .72); }
.studio-ecran { position: relative; overflow: hidden; border-radius: 6px; background: #fff; aspect-ratio: 16 / 10; transition: aspect-ratio .7s cubic-bezier(.16, 1, .3, 1), border-radius .7s; }
.studio-ecran iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; background: #fff; }
.studio-scene[data-appareil="tel"] .studio-cadre { max-width: 360px; border-radius: 42px; padding: 12px; }
.studio-scene[data-appareil="tel"] .studio-adresse { height: 0; margin: 0; opacity: 0; }
.studio-scene[data-appareil="tel"] .studio-ecran { aspect-ratio: 390 / 780; border-radius: 32px; }
.studio-chargement { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(100deg, #F1F3F6 30%, #FAFBFC 50%, #F1F3F6 70%) 0 0 / 300% 100%; transition: opacity .3s; }
.studio-scene.charge .studio-chargement { opacity: 1; animation: chargement 1.2s linear infinite; }
@keyframes chargement { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.studio-note { margin: 0; padding: .9rem 1.2rem; font-size: .84rem; color: #5A6478; border-top: 1px solid rgba(31, 45, 77, .08); }
/* fiches projet */
.fiches-section { padding-block: clamp(3rem, 6vw, 5rem) clamp(6rem, 11vw, 9rem) !important; }
.fiche { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: center; padding: clamp(3rem, 6vw, 5rem) 0; border-top: 1px solid rgba(31, 45, 77, .09); }
.fiche-inverse .fiche-visuel { order: 2; }
.fiche-visuel { position: relative; display: block; padding: 0 8% 8% 0; }
.fiche-visuel > img:first-child { width: 100%; aspect-ratio: 1366 / 768; object-fit: cover; object-position: top; border-radius: 18px; border: 1px solid rgba(31, 45, 77, .09); box-shadow: 0 40px 70px -44px rgba(22, 33, 58, .55); transition: transform .8s cubic-bezier(.16, 1, .3, 1); }
.fiche-tel { position: absolute; right: 0; bottom: 0; width: 22%; aspect-ratio: 500 / 1100; object-fit: cover; object-position: top; border-radius: 16px; border: 5px solid #10182A; box-shadow: 0 24px 40px -20px rgba(22, 33, 58, .6); transition: transform .8s cubic-bezier(.16, 1, .3, 1); }
.fiche-visuel:hover > img:first-child { transform: scale(1.02); }
.fiche-visuel:hover .fiche-tel { transform: translateY(-10px); }
.fiche-metier { margin: 0 0 .6rem; font-weight: 600; font-size: .95rem; color: #E07B39; }
.fiche-texte h3 { font-size: clamp(2rem, 3.6vw, 3rem); margin: 0 0 1rem; letter-spacing: -.03em; }
.fiche-texte > p:not(.fiche-metier) { margin: 0 0 1.4rem; color: #3A4560; font-size: 1.08rem; max-width: 34rem; }
.fiche-pages { list-style: none; margin: 0 0 2rem; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.fiche-pages li { padding: .35rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .8); border: 1px solid rgba(31, 45, 77, .1); font-size: .88rem; color: #1F2D4D; }
.fiche-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
@media (max-width: 900px) {
  .fiche { grid-template-columns: 1fr; }
  .fiche-inverse .fiche-visuel { order: 0; }
  .studio-barre { justify-content: center; }
  .studio-onglets { flex-wrap: wrap; justify-content: center; border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) { .studio-cadre, .studio-ecran, .fiche-visuel img { transition: none; } .studio-scene.charge .studio-chargement { animation: none; } }
.studio-section { padding-top: clamp(4rem, 7vw, 6rem) !important; }
.fiche-visuel > img:first-child, .fiche-tel { height: auto !important; max-width: none; }
.fiche-visuel > img:first-child { display: block; }
