/* Page d'attente Metiva : charte graphique */
:root { --sapin:#1E4D3A; --ocre:#B08D3C; --ocre-texte:#7A5F1B; --pierre:#6B6A63; --lin:#ECE8DD; --anthracite:#2C2C2A; --blanc:#fff; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Calibri, Carlito, "Source Sans 3", "Segoe UI", Arial, sans-serif; font-size: 1.125rem; line-height: 1.65; color: var(--anthracite); background: var(--blanc); }
a { color: var(--sapin); text-underline-offset: 3px; }
a:hover { color: var(--anthracite); }
:focus-visible { outline: 3px solid var(--sapin); outline-offset: 3px; }
.conteneur { width: min(100% - 2.5rem, 1040px); margin-inline: auto; }
header { padding: 1.4rem 0; border-bottom: 1px solid var(--lin); }
.logotype { display: flex; flex-direction: column; line-height: 1.1; }
.marque { font-family: Georgia, "Times New Roman", serif; font-size: 1.85rem; color: var(--sapin); }
.signature { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: .95rem; color: var(--ocre-texte); }
.hero { position: relative; overflow: hidden; background: var(--lin); padding: clamp(3.5rem, 9vw, 7rem) 0; }
.hero .conteneur { position: relative; z-index: 1; }
.contours { position: absolute; right: -6%; top: 50%; transform: translateY(-50%); width: min(60%, 700px); opacity: .55; }
.contours path { fill: none; stroke: var(--sapin); stroke-width: 1.2; opacity: .35; }
.contours path.accent { stroke: var(--ocre); opacity: .8; }
.surtitre { text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; margin: 0 0 1rem; color: var(--anthracite); }
.surtitre::before { content: ""; display: inline-block; width: 10px; height: 10px; background: var(--ocre); margin-right: .7rem; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; color: var(--sapin); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); max-width: 17em; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.chapeau { font-size: 1.25rem; max-width: 42rem; }
.statut { display: inline-block; margin-top: 1.2rem; padding: .5rem 1rem; border-left: 4px solid var(--sapin); background: var(--blanc); }
section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.deux-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 4rem); }
ul.puces { list-style: none; padding: 0; margin: 0; }
ul.puces li { position: relative; padding-left: 1.5rem; margin-bottom: .6rem; }
ul.puces li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 8px; background: var(--ocre); }
.bouton { display: inline-block; background: var(--sapin); color: var(--blanc); text-decoration: none; padding: .85rem 1.6rem; border: 2px solid var(--sapin); }
.bouton:hover { background: var(--anthracite); border-color: var(--anthracite); color: var(--blanc); }
.contact { background: var(--sapin); color: var(--blanc); }
.contact h2 { color: var(--blanc); }
.contact .bouton { background: var(--blanc); color: var(--sapin); border-color: var(--blanc); }
.contact .bouton:hover { background: var(--lin); color: var(--anthracite); border-color: var(--lin); }
footer { padding: 1.6rem 0; font-size: .95rem; background: var(--lin); }
@media (max-width: 760px) { .deux-col { grid-template-columns: 1fr; } .contours { opacity: .3; width: 90%; } }

.page-simple { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.page-simple h1 { margin: 0; }
.mentions h2 { font-size: 1.35rem; margin-top: 2rem; }
.texte { max-width: 46rem; }
.logotype { text-decoration: none; }
footer a { color: var(--anthracite); }

/* Animations (sobres, désactivées si le visiteur réduit les mouvements) */
.contours path { stroke-dasharray: 1; }
.contours path { animation: tracer 2.6s cubic-bezier(.4,0,.2,1) both; }
.contours path:nth-child(2) { animation-delay: .25s; }
.contours path:nth-child(3) { animation-delay: .5s; }
.contours path:nth-child(4) { animation-delay: .9s; animation-duration: 3s; }
.contours path:nth-child(5) { animation-delay: .75s; }
.hero .surtitre, .hero h1, .hero .statut { animation: monter .9s ease-out both; }
.hero .surtitre { animation-delay: .1s; }
.hero h1 { animation-delay: .3s; }
.hero .statut { animation-delay: .7s; }
.statut { display: inline-flex; align-items: center; gap: .7rem; }
.point { width: 10px; height: 10px; background: var(--ocre); flex: none; animation: pulse 2.4s ease-in-out 1.6s infinite; }
section .deux-col > *, .contact .conteneur > * { animation: monter .8s ease-out both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
@keyframes tracer { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes monter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.bouton { transition: background .2s, color .2s, border-color .2s; }
@media (prefers-reduced-motion: reduce) {
  .contours path, .hero .surtitre, .hero h1, .hero .statut, .point, section .deux-col > *, .contact .conteneur > * { animation: none !important; }
}