Template
Palette adoucie avec surfaces slate (#0f172a / #1e293b / #273449), accents sky blue, bordures subtiles et ombres légères. Pas de blanc pur, juste un dark plus lisible et accueillant.
110 lines
2.0 KiB
CSS
110 lines
2.0 KiB
CSS
@import "./var.css";
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
min-height: 100vh;
|
|
font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
|
|
color: var(--text);
|
|
background: var(--surface-dim);
|
|
background-image:
|
|
radial-gradient(circle at top left, rgba(56, 189, 248, 0.06), transparent 40%),
|
|
radial-gradient(circle at bottom right, rgba(125, 211, 252, 0.04), transparent 40%);
|
|
}
|
|
|
|
.contact-header {
|
|
max-width: 1120px;
|
|
margin: 0 auto;
|
|
padding: clamp(2.5rem, 6vw, 5rem) 1.25rem 1.25rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.contact-header h1 {
|
|
margin: 0;
|
|
font-family: "Georgia", "Times New Roman", serif;
|
|
font-size: clamp(2rem, 6vw, 3.5rem);
|
|
line-height: 1.1;
|
|
letter-spacing: -0.02em;
|
|
color: var(--text);
|
|
}
|
|
|
|
.contact-header p {
|
|
max-width: 62ch;
|
|
margin: 1rem auto 0;
|
|
color: var(--text-secondary);
|
|
font-size: 1.05rem;
|
|
line-height: 1.8;
|
|
}
|
|
|
|
hr {
|
|
width: min(1120px, calc(100% - 2.5rem));
|
|
margin: 0 auto;
|
|
border: 0;
|
|
height: 1px;
|
|
background: var(--border);
|
|
}
|
|
|
|
main {
|
|
width: min(1120px, calc(100% - 2.5rem));
|
|
margin: 1.5rem auto 0;
|
|
padding: 0 0 3rem;
|
|
}
|
|
|
|
main section {
|
|
padding: clamp(1.4rem, 3vw, 2rem);
|
|
border-radius: 1rem;
|
|
border: 1px solid var(--border);
|
|
background: var(--surface);
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
main section h2 {
|
|
margin: 0 0 0.85rem;
|
|
color: var(--text);
|
|
font-family: "Georgia", "Times New Roman", serif;
|
|
font-size: clamp(1.4rem, 3vw, 2.1rem);
|
|
}
|
|
|
|
main section p {
|
|
margin: 0 0 1rem;
|
|
color: var(--text-secondary);
|
|
line-height: 1.8;
|
|
}
|
|
|
|
main section strong {
|
|
color: var(--text);
|
|
}
|
|
|
|
main section a:not(.button) {
|
|
color: var(--accent);
|
|
text-decoration: underline;
|
|
text-underline-offset: 0.15em;
|
|
}
|
|
|
|
main section a:not(.button):hover,
|
|
main section a:not(.button):focus-visible {
|
|
color: var(--accent-soft);
|
|
}
|
|
|
|
@media (max-width: 700px) {
|
|
.contact-header {
|
|
padding-top: 2rem;
|
|
}
|
|
|
|
main,
|
|
hr {
|
|
width: min(100% - 1rem, 1120px);
|
|
}
|
|
|
|
main section {
|
|
border-radius: 0.8rem;
|
|
}
|
|
|
|
main section a.button {
|
|
width: 100%;
|
|
}
|
|
}
|