/* Site public AiTools. Chargé APRÈS app.css : les couleurs viennent uniquement des jetons de app.css (--bg, --card, --text, --muted, --line, --accent, thème sombre inclus). Aucune seconde palette ici. Les habillages « tableau de bord » (fond dégradé, verre dépoli, dégradé violet) sont neutralisés sous body.site. */ body.site { background: var(--bg); background-attachment: scroll; line-height: 1.6; overflow-wrap: break-word; } body.site main { max-width: none; margin: 0; padding: 0; } body.site a { text-underline-offset: .2em; } body.site :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; } /* Composants du tableau de bord, sans les effets d'habillage */ body.site .card { background: var(--card); backdrop-filter: none; box-shadow: none; animation: none; margin: 0; } body.site .btn { padding: 9px 18px; font-weight: 500; } body.site .btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); } body.site .btn.primary:hover:not(:disabled) { box-shadow: none; } body.site .btn:hover:not(:disabled) { box-shadow: none; transform: none; } body.site .badge { animation: none; } body.site .bar > span { background: var(--accent); transition: none; } body.site .bar > span::after { content: none; } body.site h1, body.site h2, body.site h3 { color: var(--text); background: none; -webkit-text-fill-color: currentColor; } /* Texte clair sur le bouton principal : le blanc ne passe pas le contraste AA sur l'accent du thème sombre */ @media (prefers-color-scheme: dark) { body.site .btn.primary { color: var(--bg); } } .wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; } /* ---------- Lien d'évitement ---------- */ .skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--card); color: var(--text); border: 2px solid var(--accent); border-radius: 8px; padding: 8px 14px; text-decoration: none; } .skip:focus { top: 12px; } /* ---------- En-tête ---------- */ .site-head { border-bottom: 1px solid var(--line); background: var(--card); } .head-in { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 22px; padding-top: 12px; padding-bottom: 12px; } .site-head .brand { display: inline-flex; align-items: center; gap: 9px; font-size: 1.1rem; letter-spacing: -.01em; } /* Signature visuelle : un carré à coin rabattu, repris sur les numéros d'étapes et les repères de section */ .mark { display: inline-block; width: 15px; height: 15px; background: var(--accent); clip-path: polygon(0 0, 68% 0, 100% 32%, 100% 100%, 0 100%); } .site-nav { margin-left: auto; } .site-nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; list-style: none; margin: 0; padding: 0; } .site-nav a { color: var(--text); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; } .site-nav a:hover { border-bottom-color: var(--line); } .site-nav a[aria-current="page"] { border-bottom-color: var(--accent); } .site-nav .btn { border-bottom: 1px solid var(--accent); padding: 6px 14px; } @media (max-width: 560px) { .head-in { justify-content: space-between; } .site-nav { margin-left: 0; flex-basis: 100%; } .site-nav ul { gap: 2px 18px; } } /* ---------- Typographie ---------- */ .site h1 { font-size: clamp(2rem, 6.2vw, 3.4rem); line-height: 1.06; letter-spacing: -.03em; font-weight: 700; margin: 0 0 .5em; } .site h2 { font-size: clamp(1.45rem, 3.6vw, 2rem); line-height: 1.15; letter-spacing: -.02em; font-weight: 700; margin: 0 0 .6em; } .site h3 { font-size: 1.08rem; line-height: 1.3; margin: 1.6em 0 .4em; } .site p { margin: 0 0 1em; } .eyebrow { display: flex; align-items: center; gap: 9px; font-size: .84rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; } .eyebrow .mark { width: 11px; height: 11px; } .lead { font-size: clamp(1.05rem, 2.4vw, 1.2rem); line-height: 1.55; max-width: 36em; } .fine { font-size: .86rem; color: var(--muted); } .cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 26px 0 14px; } .textlink { color: var(--text); font-weight: 500; } .textlink:hover { color: var(--accent); } /* ---------- Accueil : en-tête de page ---------- */ .hero { display: grid; gap: 38px; padding-top: 44px; padding-bottom: 56px; overflow-x: clip; } .hero-text { align-self: center; } @media (min-width: 900px) { .hero { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; padding-top: 72px; padding-bottom: 80px; } .shot { margin-right: -64px; } } /* ---------- Maquette du tableau de bord (vrais composants, données d'exemple) ---------- */ .shot { margin: 0; } .shot figcaption { margin-top: 10px; } .mock { border: 1px solid var(--line); border-radius: 14px; background: var(--bg); padding: 12px; user-select: none; } .mock-top { display: flex; align-items: center; gap: 10px; padding: 2px 4px 12px; font-size: .85rem; } .mock-top .brand { display: inline-flex; align-items: center; gap: 7px; } .mock-top .mark { width: 11px; height: 11px; } .mock-top .push { margin-left: auto; color: var(--muted); } .mock .card { padding: 12px 14px; margin-bottom: 10px; } .mock-name { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 600; } .mock-sub { font-size: .82rem; color: var(--muted); margin: 2px 0 0; } .mock .running { margin-top: 10px; padding: 10px 12px; } .mock .run-head { font-size: .84rem; } .mock .bar { margin-top: 8px; } .mock .w-60 { width: 60%; } .mock table { font-size: .82rem; } .mock th, .mock td { padding: 6px 6px; } .mock th { font-weight: 600; color: var(--muted); font-size: .76rem; } .mock td.st-replied { color: var(--ok); font-weight: 600; } .mock td.st-new { color: var(--accent); } .mock .table-wrap { margin: 0 -4px; } @media (max-width: 480px) { .mock .col-city { display: none; } } /* ---------- Sections ---------- */ .block { padding-top: 56px; padding-bottom: 56px; } .block + .block { border-top: 1px solid var(--line); } /* Repère gradué : une règle fine à graduations, unique élément décoratif des séparations */ .rule { height: 9px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 14px); } .split { display: grid; gap: 22px; } @media (min-width: 900px) { .split { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; } .split > .sticky { position: sticky; top: 24px; align-self: start; } .block { padding-top: 80px; padding-bottom: 80px; } } /* Liste de faits : des lignes séparées par un filet, pas des cartes */ .facts { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); } .facts > li { padding: 18px 0; border-bottom: 1px solid var(--line); } .facts h3 { margin: 0 0 .3em; font-size: 1.05rem; } .facts p { margin: 0; color: var(--text); } .facts p + p { margin-top: .6em; } .facts .muted { color: var(--muted); } /* Étapes numérotées */ .steps { list-style: none; margin: 0; padding: 0; counter-reset: etape; } .steps > li { counter-increment: etape; position: relative; padding: 0 0 28px 56px; } .steps > li::before { content: counter(etape); position: absolute; left: 0; top: 2px; width: 36px; height: 36px; display: grid; place-items: center; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--accent-text); background: var(--accent); clip-path: polygon(0 0, 70% 0, 100% 30%, 100% 100%, 0 100%); } @media (prefers-color-scheme: dark) { .steps > li::before { color: var(--bg); } } .steps > li::after { content: ""; position: absolute; left: 17px; top: 44px; bottom: 6px; width: 1px; background: var(--line); } .steps > li:last-child { padding-bottom: 0; } .steps > li:last-child::after { content: none; } .steps h2, .steps h3 { margin: 0 0 .3em; font-size: 1.2rem; line-height: 1.3; letter-spacing: -.01em; } .steps p { margin: 0 0 .6em; } .steps ul { margin: .2em 0 .8em; padding-left: 1.2em; } .steps li li { padding: 0; margin: .25em 0; } .steps li li::before, .steps li li::after { content: none; } /* Version compacte (accueil) : deux colonnes dès la tablette */ .steps.compact > li { padding-bottom: 20px; } .steps.compact h3 { font-size: 1.02rem; } .steps.compact p { margin: 0; color: var(--muted); } @media (min-width: 760px) { .steps.compact { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; } .steps.compact > li::after { content: none; } } /* Texte posé en grand, sans cartes ni puces */ .statement { max-width: 40rem; } .statement p { font-size: clamp(1.1rem, 2.6vw, 1.4rem); line-height: 1.5; letter-spacing: -.01em; margin: 0 0 .9em; } .statement h3 { margin-top: 1.4em; font-size: 1.05rem; } .statement h3 + p { font-size: 1rem; line-height: 1.6; letter-spacing: 0; max-width: 34rem; } @media (min-width: 900px) { .statement { margin-left: calc(36% + 4px); } } code { font-size: .88em; background: var(--locked); padding: 1px 5px; border-radius: 4px; } /* ---------- Tarifs ---------- */ .plans { display: grid; gap: 18px; } @media (min-width: 820px) { .plans { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: start; } } .plan { padding: 24px 22px; } .plan h2 { font-size: 1.4rem; margin: 0 0 4px; } .plan .price { font-size: 2.4rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; margin: 8px 0 14px; } .plan .price small { font-size: .95rem; font-weight: 400; color: var(--muted); letter-spacing: 0; } .plan.soon { background: transparent; border-style: dashed; } .limits { list-style: none; margin: 0 0 18px; padding: 0; } .limits li { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 9px 0; border-top: 1px solid var(--line); } .limits li:last-child { border-bottom: 1px solid var(--line); } .limits strong { font-variant-numeric: tabular-nums; font-size: 1.1rem; white-space: nowrap; } /* ---------- Bandeau final ---------- */ .closing { display: grid; gap: 18px; align-items: center; } @media (min-width: 820px) { .closing { grid-template-columns: 1fr auto; gap: 40px; } } .closing h2 { margin: 0; } .closing p { margin: .4em 0 0; } /* ---------- Pages de texte (légal) ---------- */ .page-head { padding-top: 44px; padding-bottom: 24px; } .page-head h1 { font-size: clamp(1.9rem, 5vw, 2.7rem); } .page-head .lead { margin-bottom: 0; } .prose-wrap { display: grid; gap: 28px; padding-bottom: 72px; } @media (min-width: 900px) { .prose-wrap { grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 56px; } .toc { position: sticky; top: 24px; align-self: start; } } .toc { font-size: .9rem; } .toc h2 { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 .6em; } .toc ol { list-style: none; margin: 0; padding: 0; } .toc li { margin: 0; } .toc a { display: block; padding: 5px 0; color: var(--text); text-decoration: none; border-left: 2px solid var(--line); padding-left: 12px; } .toc a:hover { border-left-color: var(--accent); } .prose { max-width: 44rem; } .prose h2 { margin-top: 2.2em; padding-top: .2em; scroll-margin-top: 16px; } .prose h2:first-child { margin-top: 0; } .prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; } .prose li { margin: .35em 0; } .prose dl { margin: 0 0 1em; display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; } .prose dt { color: var(--muted); } .prose dd { margin: 0; } @media (max-width: 560px) { .prose dl { grid-template-columns: 1fr; gap: 0; } .prose dd { margin-bottom: .8em; } } .prose .table-wrap { margin: 0 0 1.2em; border: 1px solid var(--line); border-radius: 10px; background: var(--card); } .prose th, .prose td { white-space: normal; vertical-align: top; padding: 10px 12px; } .prose tr:last-child td { border-bottom: 0; } .prose caption { text-align: left; padding: 10px 12px; font-weight: 600; } .prose .notice { padding: 12px 16px; margin: 0 0 1.2em; } .prose .notice p:last-child { margin-bottom: 0; } .updated { color: var(--muted); font-size: .88rem; } /* Marqueurs à compléter : bien visibles tant que le texte n'est pas final */ mark.todo { background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--text); padding: 1px 6px; border-radius: 4px; outline: 1px dashed var(--warn); font-weight: 600; } /* ---------- Connexion ---------- */ .auth { display: grid; gap: 28px; padding-top: 44px; padding-bottom: 72px; } @media (min-width: 900px) { .auth { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: start; padding-top: 72px; } } .auth .card { padding: 22px; } .auth .login-btns { margin-top: 12px; } .auth .login-btns .btn { text-align: center; padding: 11px 18px; } .auth .card h2 { font-size: 1.25rem; } .auth p.ok, .auth p.error { padding: 10px 14px; border: 1px solid currentColor; border-radius: 8px; margin: 0 0 1em; } /* ---------- Pied de page ---------- */ .site-foot { border-top: 1px solid var(--line); background: var(--card); margin-top: 0; font-size: .92rem; } .foot-in { display: grid; gap: 26px; padding-top: 36px; padding-bottom: 36px; } @media (min-width: 760px) { .foot-in { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; } } .site-foot h2 { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 .7em; } .site-foot ul { list-style: none; margin: 0; padding: 0; } .site-foot li { margin: .3em 0; } .site-foot a { color: var(--text); } .site-foot a:hover { color: var(--accent); } .site-foot p { margin: 0 0 .6em; } .site-foot .brand { display: inline-flex; align-items: center; gap: 9px; margin-bottom: .6em; font-size: 1.05rem; } /* ---------- Mouvement : une seule entrée sobre, supprimée si l'utilisateur le demande ---------- */ @media (prefers-reduced-motion: no-preference) { .hero-text, .shot { animation: site-in .5s var(--ease, ease-out) both; } .shot { animation-delay: .08s; } @keyframes site-in { from { opacity: 0; transform: translateY(8px); } } } /* ---------- Vérification anti-robot (connexion) ---------- */ .captcha { margin: 0 0 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; } .captcha h3 { margin: 0 0 6px; font-size: 1rem; } .captcha p { margin: 0 0 10px; } .auth .login-btns form { margin: 0; } .auth .login-btns form .btn { width: 100%; } .auth .login-btns .btn[disabled] { opacity: .55; cursor: not-allowed; } /* Le badge de Google est masqué : sa mention obligatoire figure dans le texte sous les boutons */ .grecaptcha-badge { visibility: hidden; }