Files

541 lines
12 KiB
CSS

@import url("https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,400;8..60,600;8..60,700&display=swap");
/* P'titsPas vitrine V3 — papier, rivière, Merienda marque */
@font-face {
font-family: "Merienda";
src: url("/fonts/Merienda-VariableFont_wght.ttf") format("truetype");
font-weight: 100 900;
font-display: swap;
}
:root {
--ink: #2a2622;
--ink-soft: #5a524a;
--paper: #f7f1e8;
--mint: #6bbda3;
--mint-deep: #4a9a82;
--peach: #f49c6e;
--lavender: #b289c9;
--yellow: #e9c833;
--surface: rgba(255, 252, 247, 0.88);
--link: #3d7a6a;
--radius-pill: 999px;
--font-brand: "Merienda", "Segoe UI", cursive;
--font-body: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
--font-ui: "Segoe UI", "Helvetica Neue", sans-serif;
--header-h: 3.75rem;
--max: 78rem;
--ease: cubic-bezier(0.22, 1, 0.36, 1);
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
margin: 0;
font-family: var(--font-ui);
font-size: 1rem;
line-height: 1.55;
color: var(--ink);
background-color: var(--paper);
background-image: url("/images/app/paper2.jpg");
background-size: cover;
background-attachment: fixed;
background-position: center;
min-height: 100vh;
}
@media (min-width: 64rem) {
body {
font-size: 0.95rem;
line-height: 1.5;
}
}
:focus-visible {
outline: 3px solid var(--mint);
outline-offset: 3px;
}
.skip-link {
position: absolute;
left: -9999px;
z-index: 1000;
padding: 0.75rem 1rem;
background: var(--ink);
color: #fff;
text-decoration: none;
border-radius: 8px;
}
.skip-link:focus { left: 1rem; top: 1rem; }
.visually-hidden {
position: absolute;
width: 1px; height: 1px;
padding: 0; margin: -1px;
overflow: hidden; clip: rect(0,0,0,0);
white-space: nowrap; border: 0;
}
/* Header */
.site-header {
position: sticky;
top: 0;
z-index: 100;
height: var(--header-h);
background: rgba(247, 241, 232, 0.92);
backdrop-filter: blur(10px);
border-bottom: 1px solid rgba(42, 38, 34, 0.08);
}
.site-header__inner {
max-width: var(--max);
margin: 0 auto;
padding: 0 1.25rem;
height: 100%;
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
}
.site-logo {
display: inline-flex;
align-items: center;
gap: 0.55rem;
font-family: var(--font-brand);
font-size: 1.45rem;
font-weight: 700;
color: var(--ink);
text-decoration: none;
letter-spacing: -0.02em;
}
.site-logo__mark {
width: 2rem;
height: 2rem;
object-fit: contain;
flex-shrink: 0;
display: block;
}
.site-logo__text {
line-height: 1;
}
.site-nav__list {
list-style: none;
margin: 0;
padding: 0;
display: flex;
gap: 0.25rem 1.25rem;
flex-wrap: wrap;
}
.site-nav__list a {
color: var(--ink-soft);
text-decoration: none;
font-size: 0.95rem;
font-weight: 600;
}
.site-nav__list a:hover { color: var(--mint-deep); }
.nav-toggle {
display: none;
background: none;
border: 0;
padding: 0.5rem;
cursor: pointer;
}
.nav-toggle__bar {
display: block;
width: 1.4rem;
height: 2px;
margin: 5px 0;
background: var(--ink);
border-radius: 2px;
}
@media (max-width: 52rem) {
.nav-toggle { display: block; }
.site-nav__panel {
display: none;
position: absolute;
left: 0; right: 0;
top: var(--header-h);
background: var(--paper);
border-bottom: 1px solid rgba(42, 38, 34, 0.1);
padding: 1rem 1.25rem 1.5rem;
}
.site-nav.is-open .site-nav__panel { display: block; }
.site-nav__list { flex-direction: column; gap: 0.75rem; }
}
/* Main */
.site-main { min-height: 60vh; }
.page-shell {
max-width: min(56rem, 94vw);
margin: 0 auto;
padding: 2rem 1.25rem 3.5rem;
}
@media (min-width: 64rem) {
.page-shell {
max-width: min(68rem, 90vw);
padding: 2.5rem 2rem 4rem;
}
}
@media (min-width: 90rem) {
.page-shell {
max-width: min(74rem, 86vw);
}
}
.page-shell .content {
background: var(--surface);
padding: clamp(1.25rem, 2.5vw, 2rem) clamp(1.25rem, 3vw, 2.75rem);
border-radius: 1.25rem;
box-shadow: 0 8px 32px rgba(42, 38, 34, 0.06);
}
.page-shell .content p,
.page-shell .content li {
font-size: 0.98rem;
}
@media (min-width: 64rem) {
.page-shell .content p,
.page-shell .content li {
font-size: 0.92rem;
max-width: 62rem;
}
}
.page-shell h1 {
font-family: var(--font-brand);
font-size: clamp(1.55rem, 1.3rem + 1vw, 2rem);
line-height: 1.2;
margin-top: 0;
}
.page-shell h2 {
font-family: var(--font-brand);
font-size: 1.2rem;
margin-top: 1.75rem;
}
@media (min-width: 64rem) {
.page-shell h2 { font-size: 1.15rem; }
}
.page-shell a { color: var(--link); }
.note-validation {
margin-top: 2rem;
font-size: 0.9rem;
color: var(--ink-soft);
}
/* Buttons */
.btn, .cta-button {
display: inline-block;
text-decoration: none;
font-family: var(--font-ui);
font-weight: 700;
font-size: 1rem;
border: 0;
cursor: pointer;
}
.btn--pill, .cta-button {
padding: 0.85rem 1.6rem;
border-radius: var(--radius-pill);
background: linear-gradient(135deg, var(--mint) 0%, var(--mint-deep) 100%);
color: #fff !important;
box-shadow: 0 4px 16px rgba(74, 154, 130, 0.35);
transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn--pill:hover, .cta-button:hover {
transform: translateY(-2px);
box-shadow: 0 8px 24px rgba(74, 154, 130, 0.4);
}
.btn--secondary {
background: linear-gradient(135deg, var(--peach) 0%, #e07a4a 100%);
box-shadow: 0 4px 16px rgba(244, 156, 110, 0.35);
}
.btn--text {
background: none;
color: var(--link) !important;
box-shadow: none;
padding: 0.85rem 1rem;
text-decoration: underline;
}
/*
Hero aligné sur le login app :
paper2 (body) + river_logo_desktop (rivière + wordmark ensemble).
Pas de dégradé coloré.
*/
.hero {
position: relative;
/* Pas de plein écran : le contenu suivant doit pointer sous le fold */
min-height: 0;
display: grid;
grid-template-columns: 1fr;
align-items: center;
gap: 1rem;
overflow: hidden;
padding: 1rem 1.25rem 1.25rem;
max-width: var(--max);
margin: 0 auto;
width: 100%;
box-sizing: border-box;
}
.hero__visual {
position: relative;
z-index: 0;
animation: heroIn 0.9s var(--ease) both;
}
.hero__brand-img {
display: block;
width: 100%;
height: auto;
max-height: min(52vh, 28rem);
object-fit: contain;
object-position: left center;
}
.hero__copy {
position: relative;
z-index: 1;
text-align: center;
animation: heroIn 0.8s var(--ease) 0.08s both;
}
@keyframes heroIn {
from { opacity: 0; transform: translateY(0.6rem); }
to { opacity: 1; transform: translateY(0); }
}
.hero__title {
font-family: var(--font-brand);
font-size: clamp(1.45rem, 1.1rem + 1.6vw, 2.4rem);
font-weight: 600;
line-height: 1.22;
margin: 0 0 0.75rem;
color: var(--ink);
}
.hero__tagline {
margin: 0 0 1.5rem;
color: var(--ink-soft);
font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.2rem);
line-height: 1.45;
}
.hero__actions {
display: flex;
flex-wrap: wrap;
gap: 0.75rem 1rem;
justify-content: center;
margin: 0;
}
/* Desktop : comme le login — image rivière+logo à gauche, message à droite */
@media (min-width: 64rem) {
.hero {
grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
column-gap: 1.75rem;
padding: 1rem 2.5rem 1.25rem;
align-items: center;
min-height: 0;
}
.hero__visual {
align-self: stretch;
display: flex;
align-items: center;
}
.hero__brand-img {
max-height: min(58vh, 30rem);
width: 100%;
}
.hero__copy {
text-align: left;
padding-right: 1rem;
}
.hero__title {
font-size: clamp(1.85rem, 1.4rem + 1.1vw, 2.6rem);
margin-bottom: 0.75rem;
}
.hero__tagline {
margin-bottom: 1.25rem;
max-width: 28rem;
}
.hero__actions { justify-content: flex-start; }
}
@media (max-width: 40rem) {
.hero {
min-height: auto;
padding: 0.75rem 1rem 1.25rem;
gap: 0.75rem;
}
.hero__brand-img {
max-height: 40vh;
margin: 0 auto;
}
.hero__title { font-size: 1.3rem; }
.hero__tagline { font-size: 0.98rem; margin-bottom: 1rem; }
}
/* Sections */
.section {
padding: clamp(2rem, 4vw, 3.5rem) 1.25rem;
}
.home > .section:first-of-type {
padding-top: clamp(1.25rem, 2.5vw, 2rem);
}
.section__inner {
max-width: var(--max);
margin: 0 auto;
}
.section__inner--narrow { max-width: 40rem; text-align: center; }
.section h2 {
font-family: var(--font-brand);
font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.75rem);
margin: 0 0 0.65rem;
line-height: 1.25;
}
.section__lead {
color: var(--ink-soft);
margin: 0 0 1.75rem;
max-width: 42rem;
font-size: 0.98rem;
}
@media (min-width: 64rem) {
.section__lead { font-size: 0.92rem; max-width: 48rem; }
}
.section__inner--narrow .section__lead,
.section__inner--narrow > p { margin-left: auto; margin-right: auto; }
.exp-grid {
list-style: none;
margin: 0;
padding: 0;
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1.5rem;
}
@media (max-width: 52rem) {
.exp-grid { grid-template-columns: 1fr; }
}
@media (min-width: 64rem) {
.experiences .section__inner,
.confiance .section__inner {
max-width: var(--max);
}
.exp-card { padding: 1.75rem 1.6rem; min-height: 12rem; }
}
.exp-card {
background: var(--surface);
border-radius: 1.25rem;
padding: 1.5rem;
box-shadow: 0 6px 24px rgba(42, 38, 34, 0.06);
animation: cardIn 0.7s var(--ease) both;
}
.exp-card:nth-child(2) { animation-delay: 0.08s; }
.exp-card:nth-child(3) { animation-delay: 0.16s; }
@keyframes cardIn {
from { opacity: 0; transform: translateY(0.8rem); }
to { opacity: 1; transform: translateY(0); }
}
.exp-card h3 {
font-family: var(--font-brand);
font-size: 1.2rem;
margin: 0 0 0.5rem;
}
.exp-card p {
margin: 0 0 1rem;
color: var(--ink-soft);
font-size: 0.98rem;
}
.exp-card a {
font-weight: 700;
color: var(--link);
text-decoration: none;
}
.exp-card a:hover { text-decoration: underline; }
.pilotage-teaser {
background: rgba(255, 252, 247, 0.55);
border-top: 1px solid rgba(42, 38, 34, 0.06);
border-bottom: 1px solid rgba(42, 38, 34, 0.06);
}
.pilotage-teaser p { color: var(--ink-soft); }
.confiance .principes {
list-style: none;
margin: 0 0 2rem;
padding: 0;
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 0.75rem 1.5rem;
}
@media (max-width: 40rem) {
.confiance .principes { grid-template-columns: 1fr; }
}
.confiance .principes li {
background: var(--surface);
padding: 0.85rem 1rem;
border-radius: 0.75rem;
}
/* Form */
.site-form {
display: grid;
gap: 1rem;
margin-top: 1.5rem;
}
.site-form label {
display: block;
font-weight: 600;
margin-bottom: 0.35rem;
font-size: 0.95rem;
}
.site-form input,
.site-form select,
.site-form textarea {
width: 100%;
padding: 0.7rem 0.85rem;
border: 1px solid rgba(42, 38, 34, 0.18);
border-radius: 0.65rem;
font: inherit;
background: #fff;
}
.site-form .hp {
position: absolute;
left: -10000px;
top: auto;
width: 1px;
height: 1px;
overflow: hidden;
}
.form-note {
margin-top: 1.25rem;
color: var(--ink-soft);
font-size: 0.95rem;
}
/* Footer */
.footer-site {
padding: 2rem 1.25rem 3rem;
text-align: center;
color: var(--ink-soft);
font-size: 0.9rem;
border-top: 1px solid rgba(42, 38, 34, 0.08);
background: rgba(247, 241, 232, 0.7);
}
.footer-site__links {
display: flex;
flex-wrap: wrap;
gap: 0.75rem 1.25rem;
justify-content: center;
margin-top: 0.75rem;
}
.footer-site__links a {
color: var(--ink-soft);
text-decoration: none;
}
.footer-site__links a:hover { color: var(--mint-deep); }