Fichiers
jobrunner-html/beta/static/pages.css
T

626 lignes
11 KiB
CSS

/* Pages de la bêta hors application (porte d'entrée, formulaire) : charte JobRunner */
:root {
--fond: #F2F0E6;
--sauge: #8B9E90;
--sauge-sombre: #6E8173;
--sauge-clair: #D8E0DA;
--sauge-fond: #EBF0EC;
--texte: #2D2D2D;
--texte-doux: #5A5A5A;
--texte-muet: #7A7A7A;
--chair: #E8D5C4;
--chair-clair: #F6EDE5;
--filet: #E0DDD5;
--filet-fort: #CEC9BD;
--carte: #FFFFFF;
--carte-teintee: #F8F7F1;
--ombre: 0 10px 30px -10px rgba(45, 45, 45, 0.08), 0 2px 6px -1px rgba(45, 45, 45, 0.04);
--ombre-carte: 0 16px 40px -12px rgba(45, 45, 45, 0.12);
--rayon-xl: 28px;
--rayon-lg: 20px;
--rayon-md: 14px;
--rayon-sm: 10px;
}
* {
box-sizing: border-box;
}
html, body {
margin: 0;
padding: 0;
background-color: var(--fond);
color: var(--texte);
font-family: 'Chillax', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
line-height: 1.55;
-webkit-font-smoothing: antialiased;
color-scheme: light;
}
a {
color: var(--sauge-sombre);
text-decoration: none;
font-weight: 600;
transition: color 0.2s ease;
}
a:hover {
color: var(--texte);
text-decoration: underline;
}
/* Conteneurs */
main {
max-width: 760px;
margin: 0 auto;
padding: 40px 20px 80px;
}
main.centre {
max-width: 480px;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 16px;
padding: 32px 20px;
margin: 0 auto;
text-align: center;
}
/* Rétro-compatibilité pour gate.html */
.chapo {
color: var(--texte-doux);
max-width: 460px;
margin: 0 0 10px;
}
.logo {
border-radius: 20px;
box-shadow: 0 8px 20px -6px rgba(45, 45, 45, 0.15);
}
.badge {
display: inline-flex;
font-size: 13px;
font-weight: 700;
letter-spacing: 0.06em;
text-transform: uppercase;
padding: 6px 14px;
border-radius: 999px;
background: var(--sauge);
color: #FFFFFF;
}
.carte {
background: var(--carte);
border: 1.5px solid var(--filet);
border-radius: var(--rayon-lg);
padding: 24px;
width: 100%;
max-width: 460px;
text-align: left;
box-shadow: var(--ombre);
}
#code {
text-align: center;
letter-spacing: 0.1em;
font-weight: 700;
font-size: 18px;
text-transform: uppercase;
}
.btn {
font: inherit;
font-weight: 700;
font-size: 15px;
border: 0;
border-radius: 999px;
padding: 13px 26px;
cursor: pointer;
margin-top: 16px;
width: 100%;
transition: all 0.2s ease;
}
.btn-primaire {
background: var(--sauge);
color: #FFFFFF;
}
.btn-primaire:hover {
background: var(--sauge-sombre);
transform: translateY(-1px);
}
.btn:disabled {
opacity: 0.6;
cursor: wait;
}
.erreur {
color: #A0554B;
font-weight: 600;
min-height: 1.4em;
margin: 10px 0 0;
}
.petit {
font-size: 13px;
color: var(--texte-doux);
max-width: 460px;
}
/* En-tête de marque */
.entete-marque {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
margin-bottom: 32px;
}
.logo-wrap {
position: relative;
margin-bottom: 14px;
}
.logo-wrap img {
border-radius: 22px;
box-shadow: 0 8px 20px -6px rgba(45, 45, 45, 0.15);
display: block;
}
.badge-beta {
display: inline-flex;
align-items: center;
gap: 6px;
font-size: 12px;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
padding: 5px 14px;
border-radius: 999px;
background-color: var(--sauge);
color: #FFFFFF;
margin-bottom: 12px;
}
.badge-beta i {
width: 6px;
height: 6px;
border-radius: 50%;
background-color: #FFFFFF;
display: inline-block;
}
h1 {
font-size: clamp(28px, 5vw, 38px);
font-weight: 800;
line-height: 1.15;
margin: 6px 0 10px;
letter-spacing: -0.02em;
}
.sous-titre {
color: var(--texte-doux);
font-size: clamp(15px, 2.5vw, 17px);
max-width: 580px;
margin: 0 auto;
line-height: 1.5;
}
/* Bannière d'avantages testeurs */
.avantages-grille {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
gap: 14px;
margin: 28px 0 32px;
}
.avantage-carte {
background: var(--carte);
border: 1px solid var(--filet);
border-radius: var(--rayon-md);
padding: 16px 18px;
display: flex;
align-items: flex-start;
gap: 12px;
box-shadow: var(--ombre);
}
.avantage-ico {
font-size: 22px;
line-height: 1;
background: var(--sauge-fond);
padding: 8px;
border-radius: 12px;
flex-shrink: 0;
}
.avantage-texte strong {
display: block;
font-size: 14px;
font-weight: 700;
color: var(--texte);
margin-bottom: 2px;
}
.avantage-texte span {
font-size: 13px;
color: var(--texte-doux);
line-height: 1.35;
display: block;
}
/* Carte Formulaire */
.carte-form {
background: var(--carte);
border: 1.5px solid var(--filet);
border-radius: var(--rayon-xl);
padding: 36px 32px;
box-shadow: var(--ombre-carte);
position: relative;
}
@media (max-width: 600px) {
.carte-form {
padding: 24px 18px;
border-radius: var(--rayon-lg);
}
}
.form-section {
margin-bottom: 28px;
}
.form-section-titre {
font-size: 15px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--sauge-sombre);
margin: 0 0 16px 0;
display: flex;
align-items: center;
gap: 8px;
}
.form-section-titre span.numero {
width: 24px;
height: 24px;
border-radius: 50%;
background: var(--sauge);
color: #fff;
font-size: 12px;
display: inline-grid;
place-items: center;
font-weight: 800;
}
.champs-grille {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16px;
}
@media (max-width: 580px) {
.champs-grille {
grid-template-columns: 1fr;
gap: 12px;
}
}
.champ {
display: flex;
flex-direction: column;
margin-bottom: 14px;
}
.champ label {
font-size: 13.5px;
font-weight: 700;
margin-bottom: 6px;
color: var(--texte);
display: flex;
justify-content: space-between;
align-items: center;
}
.champ label .aide {
font-size: 12px;
font-weight: 400;
color: var(--texte-muet);
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"] {
width: 100%;
font-family: inherit;
font-size: 15px;
padding: 13px 16px;
border: 1.5px solid var(--filet);
border-radius: var(--rayon-md);
background-color: #FAFAFA;
color: var(--texte);
outline: none;
transition: all 0.2s ease;
}
input:hover {
border-color: var(--filet-fort);
}
input:focus {
background-color: #FFFFFF;
border-color: var(--sauge);
box-shadow: 0 0 0 3px rgba(139, 158, 144, 0.25);
}
/* Bloc parent pour mineurs */
.bloc-parent {
background: var(--chair-clair);
border: 1.5px solid var(--chair);
border-radius: var(--rayon-md);
padding: 20px;
margin: 16px 0;
transition: all 0.3s ease;
}
.bloc-parent.cache {
display: none;
}
.bloc-parent-titre {
font-size: 14px;
font-weight: 700;
margin: 0 0 6px 0;
color: #7D5D44;
}
.bloc-parent-desc {
font-size: 13px;
color: #7D5D44;
margin: 0 0 14px 0;
}
/* Cartes de consentement tactiles */
.options-liste {
display: flex;
flex-direction: column;
gap: 10px;
}
.option-carte {
display: flex;
align-items: flex-start;
gap: 14px;
background: var(--carte-teintee);
border: 1.5px solid var(--filet);
border-radius: var(--rayon-md);
padding: 14px 16px;
cursor: pointer;
transition: all 0.2s ease;
user-select: none;
}
.option-carte:hover {
border-color: var(--sauge);
background: #FFFFFF;
}
.option-carte:has(input:checked) {
border-color: var(--sauge);
background: var(--sauge-fond);
}
.option-carte input[type="checkbox"] {
appearance: none;
-webkit-appearance: none;
width: 22px;
height: 22px;
border: 2px solid var(--filet-fort);
border-radius: 7px;
background: #FFFFFF;
margin: 2px 0 0 0;
flex-shrink: 0;
cursor: pointer;
display: grid;
place-content: center;
transition: all 0.2s ease;
}
.option-carte input[type="checkbox"]:checked {
background: var(--sauge);
border-color: var(--sauge);
}
.option-carte input[type="checkbox"]:checked::before {
content: "";
width: 10px;
height: 6px;
border-left: 2px solid #FFFFFF;
border-bottom: 2px solid #FFFFFF;
transform: rotate(-45deg) translate(1px, -1px);
}
.option-texte {
font-size: 13.5px;
line-height: 1.45;
color: var(--texte);
}
.option-texte strong {
display: block;
font-weight: 700;
margin-bottom: 2px;
}
.option-texte span {
color: var(--texte-doux);
font-size: 12.5px;
}
/* Réseaux sociaux */
.reseaux-suivi {
display: flex;
align-items: center;
gap: 10px;
flex-wrap: wrap;
margin-top: 10px;
}
.reseau-chip {
display: inline-flex;
align-items: center;
gap: 6px;
background: #FFFFFF;
border: 1.5px solid var(--filet);
border-radius: 999px;
padding: 6px 14px;
font-size: 13px;
font-weight: 600;
color: var(--texte);
text-decoration: none;
transition: all 0.2s ease;
}
.reseau-chip:hover {
border-color: var(--sauge);
color: var(--sauge-sombre);
transform: translateY(-1px);
text-decoration: none;
}
/* Boutons */
.btn-soumettre {
font-family: inherit;
font-size: 16px;
font-weight: 700;
background-color: var(--sauge);
color: #FFFFFF;
border: none;
border-radius: 999px;
padding: 16px 32px;
width: 100%;
cursor: pointer;
margin-top: 24px;
box-shadow: 0 8px 20px -4px rgba(139, 158, 144, 0.4);
transition: all 0.2s ease;
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
}
.btn-soumettre:hover {
background-color: var(--sauge-sombre);
transform: translateY(-2px);
box-shadow: 0 12px 24px -6px rgba(139, 158, 144, 0.5);
}
.btn-soumettre:active {
transform: translateY(0);
}
.btn-soumettre:disabled {
opacity: 0.6;
cursor: not-allowed;
transform: none;
}
/* Écran de succès */
.succes-carte {
text-align: center;
padding: 40px 20px;
}
.succes-icone {
width: 72px;
height: 72px;
border-radius: 50%;
background: var(--sauge-fond);
color: var(--sauge);
display: inline-grid;
place-items: center;
font-size: 36px;
margin-bottom: 20px;
}
.succes-carte h2 {
font-size: 26px;
font-weight: 800;
margin: 0 0 10px 0;
}
.succes-carte p {
color: var(--texte-doux);
font-size: 15px;
max-width: 480px;
margin: 0 auto 28px;
line-height: 1.5;
}
.succes-actions {
display: flex;
flex-direction: column;
gap: 12px;
max-width: 380px;
margin: 0 auto;
}
.btn-secondaire {
font-family: inherit;
font-size: 15px;
font-weight: 700;
background: #FFFFFF;
color: var(--texte);
border: 1.5px solid var(--filet);
border-radius: 999px;
padding: 13px 24px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
text-decoration: none;
transition: all 0.2s ease;
}
.btn-secondaire:hover {
border-color: var(--texte);
text-decoration: none;
}
/* Pied de page */
.pied-form {
text-align: center;
margin-top: 32px;
color: var(--texte-muet);
font-size: 13.5px;
}
.pied-form a {
color: var(--texte-doux);
}
.pied-form a:hover {
color: var(--texte);
}
.message-alerte {
padding: 12px 16px;
border-radius: var(--rayon-md);
font-size: 14px;
font-weight: 600;
margin-top: 14px;
display: none;
}
.message-alerte.erreur {
background: #FDF2F0;
color: #A0554B;
border: 1px solid #F5D6D1;
display: block;
}
.piege-robot {
position: absolute;
left: -9999px;
height: 0;
overflow: hidden;
}