/*!
 * © 2026 Clément BOILON — C'TOPO (www.ctopo.fr). Tous droits réservés.
 * Créé par Clément BOILON pour C'TOPO. Toute reproduction, copie, modification, adaptation
 * ou diffusion, totale ou partielle, sans autorisation écrite préalable est interdite.
 */
/* Espace client C'TOPO — page d'accès (styles isolés sous .ctopo-ec pour ne pas toucher au thème) */
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat.woff") format("woff"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("../fonts/nunitosans.woff") format("woff"); font-weight: 200 1000; font-display: swap; }
.ctopo-ec {
  --ce-rouge: #FF0000; --ce-rouge-fonce: #D60000; --ce-rouge-clair: #F47474;
  --ce-gris: #333333; --ce-gris2: #737373; --ce-sable: #CEC2B5; --ce-sable-clair: #F3EFEA;
  --ce-nuit: #232323; --ce-nuit2: #2e2c2a; --ce-ligne: #E4DCD2;
  --ce-titre: "Montserrat", "Segoe UI", system-ui, sans-serif; --ce-texte: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
  /* sort de la colonne étroite des thèmes, sans dépasser l'écran */
  width: min(1060px, 100%); max-width: none !important; margin-left: auto !important; margin-right: auto !important; padding: 8px 0 24px; font-family: var(--ce-texte); color: var(--ce-gris); line-height: 1.55;
}
.ctopo-ec *, .ctopo-ec *::before, .ctopo-ec *::after { box-sizing: border-box; }
.ctopo-ec svg { width: 18px; height: 18px; flex: none; }
.ctopo-ec-cadre { display: grid; grid-template-columns: 1.05fr 1fr; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--ce-ligne);
  box-shadow: 0 30px 60px -36px rgba(35,35,35,.55), 0 2px 8px rgba(35,35,35,.06); }

/* ---- vitrine : logo en nuage de points */
.ctopo-ec-vitrine { position: relative; display: flex; flex-direction: column; gap: 1rem; padding: clamp(1.4rem, 3.4vw, 2.6rem); color: #ece6df; overflow: hidden;
  background: radial-gradient(120% 80% at 20% 10%, #3a3633 0%, var(--ce-nuit2) 45%, var(--ce-nuit) 100%); }
.ctopo-ec-vitrine::after { content: ""; position: absolute; inset: auto -20% -40% -20%; height: 60%; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255,0,0,.10), transparent 70%); }
.ctopo-ec-nuage { display: block; width: 100%; aspect-ratio: 2.1 / 1; max-height: 240px; margin: -.4rem 0 .2rem; touch-action: pan-y; }
.ctopo-ec .ctopo-ec-accroche { font: 800 clamp(1.5rem, 3vw, 2.15rem)/1.15 var(--ce-titre); letter-spacing: -.01em; margin: 0; color: #fff; text-wrap: balance; }
.ctopo-ec-accroche span { color: var(--ce-rouge); }
.ctopo-ec-vitrine > p { margin: 0; color: #cfc6bc; font-size: .98rem; max-width: 46ch; }
.ctopo-ec-atouts { list-style: none; margin: .3rem 0 0; padding: 0; display: grid; gap: .5rem; position: relative; z-index: 1; }
.ctopo-ec-atouts li { display: flex; align-items: center; gap: .7rem; padding: .62rem .85rem; border-radius: 11px; font-weight: 700; font-size: .93rem;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); color: #f1ece6; }
.ctopo-ec-atouts svg { color: var(--ce-rouge-clair); }

/* ---- accès : formulaire du code */
.ctopo-ec-acces { display: flex; flex-direction: column; padding: clamp(1.4rem, 3.4vw, 2.6rem); background: #fff; }
.ctopo-ec-cadenas { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--ce-sable-clair); color: var(--ce-gris); margin-bottom: 1.1rem; }
.ctopo-ec-cadenas svg { width: 22px; height: 22px; }
.ctopo-ec .ctopo-ec-titre { font: 800 clamp(1.3rem, 2.4vw, 1.6rem)/1.2 var(--ce-titre); margin: 0 0 .25rem; color: var(--ce-gris); }
.ctopo-ec-sous { margin: 0 0 1.3rem !important; color: var(--ce-gris2); font-size: .92rem; }
.ctopo-ec p { margin: 0 0 1rem; }
.ctopo-ec-form label { display: block; font-weight: 700; font-size: .9rem; margin: 0 0 .4rem; color: var(--ce-gris); }
.ctopo-ec-form input { display: block; width: 100%; padding: .9rem 1rem; font: 800 1.08rem var(--ce-titre); letter-spacing: .07em; text-transform: uppercase;
  border: 1.5px solid var(--ce-sable); border-radius: 12px; background: #fff; color: var(--ce-gris); }
.ctopo-ec-form input::placeholder { color: #cdc4ba; letter-spacing: .08em; }
.ctopo-ec-form input:focus { outline: none; border-color: var(--ce-gris); box-shadow: 0 0 0 4px rgba(244,116,116,.28); }
.ctopo-ec-form input[aria-invalid="true"] { border-color: var(--ce-rouge); }
.ctopo-ec-form button { display: flex; align-items: center; justify-content: center; gap: .55rem; width: 100%; margin-top: 1rem; padding: .95rem 1.2rem;
  border: 1px solid #c80000; border-bottom-color: #a30000; border-radius: 12px; cursor: pointer;
  background: linear-gradient(#ff3030, #e00000); color: #fff; font: 800 1.02rem var(--ce-texte); text-shadow: 0 -1px 0 rgba(120,0,0,.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 2px rgba(150,0,0,.35), 0 10px 22px -10px rgba(255,0,0,.6); transition: transform .06s, box-shadow .15s; }
.ctopo-ec-form button:hover { background: linear-gradient(#ff4141, #d40000); }
.ctopo-ec-form button:active { transform: translateY(1px); }
.ctopo-ec-form button:focus-visible { outline: 3px solid var(--ce-rouge-clair); outline-offset: 2px; }
.ctopo-ec-erreur { color: var(--ce-rouge-fonce); font-weight: 700; margin: .6rem 0 0 !important; font-size: .92rem; }
.ctopo-ec-info { padding: .7rem .9rem; border-radius: 10px; background: var(--ce-sable-clair); font-size: .92rem; }
.ctopo-ec-aide { margin: 1rem 0 .5rem !important; color: var(--ce-gris2); font-size: .88rem; }
.ctopo-ec-perso { display: flex; align-items: center; gap: .5rem; font-size: .86rem; font-weight: 700; color: var(--ce-gris); margin: 0 0 1rem !important; }
.ctopo-ec-perso svg { color: var(--ce-rouge); width: 16px; height: 16px; }
.ctopo-ec-contact { font-size: .88rem; color: var(--ce-gris2); padding-top: 1rem; border-top: 1px solid var(--ce-ligne); margin-top: auto !important; }
.ctopo-ec-contact a, .ctopo-ec-pied a { color: var(--ce-gris); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.ctopo-ec-mention { font-size: .78rem; color: var(--ce-gris2); margin: 0 !important; line-height: 1.45; }
.ctopo-ec-pied { text-align: center; font-size: .84rem; color: var(--ce-gris2); margin: 1.1rem 0 0 !important; }
.ctopo-ec-pied strong { color: var(--ce-gris); }

@media (max-width: 820px) {
  .ctopo-ec-cadre { grid-template-columns: 1fr; border-radius: 18px; }
  .ctopo-ec-atouts { grid-template-columns: 1fr 1fr; }
  .ctopo-ec-atouts li { font-size: .84rem; padding: .55rem .7rem; }
}
@media (max-width: 480px) { .ctopo-ec-atouts { grid-template-columns: 1fr; } }
.ctopo-ec-droits { text-align: center; font-size: .74rem; color: var(--ce-gris2); margin: .3rem 0 0 !important; opacity: .85; }
