/* ============================================================
   Daplom — feuille de style du site vitrine
   Charte : bleu nuit #28374A · sable #D3C7AD / #E7E0CE
            terre cuite #754437 (accent) · olive #6B6751
   ============================================================ */

:root {
  --nuit: #28374A;
  --nuit-90: #2f4157;
  --nuit-clair: #3d5266;
  --sable: #D3C7AD;
  --sable-clair: #E7E0CE;
  --creme: #F4EFE4;
  --terre: #754437;
  --terre-clair: #8a5343;
  --olive: #6B6751;
  --blanc: #FCFBF7;
  --texte: #28374A;
  --texte-doux: #55606d;
  --ombre: 0 10px 30px rgba(40, 55, 74, 0.10);
  --ombre-forte: 0 18px 50px rgba(40, 55, 74, 0.18);
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1120px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--texte);
  background: var(--blanc);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Typographie ---------- */
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
.lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--texte-doux); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 700; color: var(--terre); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  cursor: pointer; border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--terre); color: var(--creme); box-shadow: 0 8px 20px rgba(117, 68, 55, 0.28); }
.btn-primary:hover { background: var(--terre-clair); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(117, 68, 55, 0.34); }
.btn-ghost { background: transparent; color: var(--nuit); border-color: rgba(40,55,74,0.18); }
.btn-ghost:hover { border-color: var(--nuit); transform: translateY(-2px); }
.btn-light { background: var(--creme); color: var(--nuit); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--ombre); }
.btn-lg { padding: 17px 34px; font-size: 1.08rem; }

/* ---------- En-tête / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252, 251, 247, 0.98); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(40,55,74,0.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.35rem; color: var(--nuit); }
.brand .mark { width: 40px; height: 40px; }
.brand-logo { height: 54px; width: auto; display: block; mix-blend-mode: multiply; }
.brand-name { font-weight: 800; font-size: 1.5rem; color: var(--nuit); letter-spacing: -0.01em; }
/* En-tête : n'afficher que le SYMBOLE du logo (recadrage du PNG, texte du dessous masqué) */
.brand-symbol {
  display: block; width: 44px; height: 50px;
  background-image: url(logo-daplom.png);
  background-repeat: no-repeat;
  background-size: 166px auto;
  background-position: -61px -42px;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-weight: 600; color: var(--texte-doux); font-size: 0.98rem; transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--nuit); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--nuit); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 54px; }
.section-head .lead { margin-top: 14px; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--sable-clair); color: var(--terre); border: 1px solid rgba(117,68,55,0.25);
  padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: 0.86rem; margin-bottom: 22px;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--terre); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 90px; background:
  radial-gradient(1200px 500px at 80% -10%, rgba(211,199,173,0.5), transparent 60%),
  radial-gradient(900px 500px at 0% 10%, rgba(231,224,206,0.6), transparent 55%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 30px; max-width: 560px; }
.hero-form { display: flex; gap: 10px; flex-wrap: wrap; max-width: 520px; }
.hero-form input[type=email] {
  flex: 1; min-width: 220px; padding: 15px 18px; border-radius: 999px; font-size: 1rem;
  border: 2px solid rgba(40,55,74,0.15); background: var(--blanc); font-family: var(--font);
}
.hero-form input[type=email]:focus { outline: none; border-color: var(--terre); }
.hero-note { margin-top: 14px; font-size: 0.92rem; color: var(--texte-doux); }
.hero-note strong { color: var(--nuit); }

/* Carte visuelle du hero (aperçu devis) */
.hero-visual { position: relative; }
.mock {
  background: var(--blanc); border-radius: 22px; box-shadow: var(--ombre-forte);
  border: 1px solid rgba(40,55,74,0.08); overflow: hidden;
}
.mock-top { background: var(--nuit); color: var(--creme); padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; }
.mock-top .dots { display: flex; gap: 6px; }
.mock-top .dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4); display: block; }
.mock-body { padding: 22px; }
.mock-row { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px solid rgba(40,55,74,0.08); font-size: 0.94rem; }
.mock-row:last-child { border-bottom: 0; }
.mock-row .lbl { color: var(--texte-doux); }
.mock-row .val { font-weight: 700; }
.mock-total { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding: 16px; background: var(--sable-clair); border-radius: 12px; }
.mock-total .val { font-size: 1.3rem; color: var(--terre); font-weight: 800; }
.mock-badge { position: absolute; bottom: -18px; left: -18px; background: var(--olive); color: var(--creme); padding: 12px 18px; border-radius: 14px; font-weight: 700; font-size: 0.88rem; box-shadow: var(--ombre); display: flex; align-items: center; gap: 8px; }

/* ---------- Bandeau confiance ---------- */
.trust { background: var(--nuit); color: var(--sable); padding: 26px 0; }
.trust .wrap { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; justify-content: center; text-align: center; }
.trust span { font-weight: 600; font-size: 0.98rem; display: inline-flex; align-items: center; gap: 8px; }
.trust .sep { opacity: .4; }

/* ---------- Grille de cartes ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--blanc); border: 1px solid rgba(40,55,74,0.09); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--ombre); }
.card .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--sable-clair); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: var(--terre); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--texte-doux); }

/* ---------- Étapes "comment ça marche" ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; padding: 34px 28px 30px; background: var(--creme); border-radius: var(--radius); }
.step .num { width: 44px; height: 44px; border-radius: 50%; background: var(--nuit); color: var(--creme); display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 16px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--texte-doux); }

/* ---------- Section alternée / features détaillées ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 70px; }
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse .feat-text { order: 2; }
.feat-text h3 { font-size: 1.6rem; margin-bottom: 14px; }
.feat-text p { color: var(--texte-doux); margin-bottom: 16px; }
.feat-list { list-style: none; }
.feat-list li { padding: 8px 0 8px 30px; position: relative; color: var(--texte); }
.feat-list li::before { content: "✓"; position: absolute; left: 0; top: 8px; color: var(--terre); font-weight: 800; }
.feat-visual { background: var(--sable-clair); border-radius: 20px; padding: 40px; min-height: 260px; display: flex; align-items: center; justify-content: center; box-shadow: var(--ombre); }

/* ---------- Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(48px) scale(0.98); transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Tarif ---------- */
.pricing { display: flex; justify-content: center; }
.price-card {
  background: var(--nuit); color: var(--creme); border-radius: 24px; padding: 46px 44px; max-width: 460px; width: 100%;
  box-shadow: var(--ombre-forte); position: relative; overflow: hidden; text-align: center;
}
.price-card::after { content: ""; position: absolute; top: -60px; right: -60px; width: 180px; height: 180px; border-radius: 50%; background: rgba(117,68,55,0.35); }
.price-card .plan { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.82rem; color: var(--sable); font-weight: 700; }
.price-card .amount { font-size: 3.6rem; font-weight: 800; margin: 12px 0 4px; }
.price-card .amount span { font-size: 1.1rem; font-weight: 600; color: var(--sable); }
.price-card .sub { color: var(--sable); margin-bottom: 26px; }
.price-list { list-style: none; text-align: left; margin: 26px 0; }
.price-list li { padding: 11px 0 11px 32px; position: relative; border-bottom: 1px solid rgba(255,255,255,0.1); }
.price-list li::before { content: "✓"; position: absolute; left: 0; color: var(--sable); font-weight: 800; }
.price-card .btn { width: 100%; position: relative; z-index: 1; }

/* ---------- CTA final ---------- */
.cta-final { background: linear-gradient(135deg, var(--terre) 0%, var(--nuit) 100%); color: var(--creme); text-align: center; }
.cta-final h2 { margin-bottom: 14px; }
.cta-final .lead { color: rgba(255,255,255,0.85); margin-bottom: 32px; }
.cta-final .hero-form { justify-content: center; margin: 0 auto; }
.cta-final .hero-form input[type=email] { border-color: transparent; }

/* ---------- Section "l'essentiel facturation électronique" (carrousel) ---------- */
.slider-tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.slider-tab { padding: 12px 22px; border-radius: 999px; border: 0; background: var(--sable-clair); color: var(--texte-doux); font-family: var(--font); font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: .15s; }
.slider-tab:hover { color: var(--nuit); }
.slider-tab.active { background: var(--nuit); color: var(--creme); }
.slider-stage { position: relative; }
.slider-viewport { overflow: hidden; border-radius: 20px; }
.slider-track { display: flex; transition: transform .45s cubic-bezier(.4,0,.2,1); }
.slide { min-width: 100%; }
.slide-inner { display: grid; grid-template-columns: 280px 1fr; gap: 46px; align-items: center; background: var(--blanc); border: 1px solid rgba(40,55,74,0.09); border-radius: 20px; padding: 38px; }
.slide-illu { border-radius: 16px; overflow: hidden; box-shadow: var(--ombre); }
.slide-illu img { width: 100%; display: block; }
.essentiel-txt .eyebrow { display: block; margin-bottom: 10px; }
.essentiel-txt h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin-bottom: 14px; }
.essentiel-txt p { color: var(--texte-doux); margin-bottom: 16px; }
.essentiel-txt p:last-child { margin-bottom: 0; }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--nuit); color: var(--creme); font-size: 1.7rem; line-height: 1; cursor: pointer; z-index: 3; box-shadow: var(--ombre); display: flex; align-items: center; justify-content: center; padding-bottom: 4px; transition: .15s; }
.slider-arrow:hover { background: var(--terre); }
.slider-arrow.prev { left: -14px; }
.slider-arrow.next { right: -14px; }
.slider-dots { display: flex; gap: 10px; justify-content: center; margin-top: 26px; }
.dot { width: 11px; height: 11px; border-radius: 50%; border: 0; background: rgba(40,55,74,0.25); cursor: pointer; padding: 0; transition: .15s; }
.dot.active { background: var(--terre); transform: scale(1.2); }

/* ---------- Bande illustration chantier ---------- */
.band-chantier { padding: 0; line-height: 0; }
.band-chantier img { width: 100%; height: clamp(180px, 26vw, 320px); object-fit: cover; display: block; }

/* ---------- Section "conçu pour le terrain" (mobile) ---------- */
.terrain { background: var(--nuit); color: var(--sable-clair); }
.terrain .wrap { display: grid; grid-template-columns: 1fr 0.5fr; gap: 56px; align-items: center; }
.terrain .eyebrow { color: var(--sable); }
.terrain h2 { color: var(--creme); margin: 12px 0 16px; }
.terrain p { color: var(--sable); margin-bottom: 22px; }
.terrain .feat-list li { color: var(--sable-clair); }
.terrain .feat-list li::before { color: var(--sable); }
.terrain-visual { display: flex; justify-content: center; }
.terrain-visual img { max-height: 600px; width: auto; filter: drop-shadow(0 26px 52px rgba(0,0,0,0.35)); }

/* ---------- Métiers ---------- */
.metiers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.metier { background: var(--creme); border-radius: var(--radius-sm); padding: 16px 18px; font-weight: 600; font-size: 0.95rem; color: var(--nuit); transition: .15s; border: 1px solid transparent; text-align: center; }
.metier svg { display: inline-block; vertical-align: middle; width: 26px; height: 26px; margin-right: 8px; position: relative; top: -1px; }
.metier:hover { border-color: var(--terre); transform: translateY(-3px); }
.metier .n { display: block; color: var(--texte-doux); font-size: 0.8rem; font-weight: 500; margin-top: 4px; }

/* ---------- Grille métiers illustrée (cartes + icônes) ---------- */
.metiers-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.metier-card { background: var(--creme); border-radius: 14px; padding: 28px 20px 24px; text-align: center; transition: transform .18s ease-out, box-shadow .18s ease-out; border: 1px solid rgba(40,55,74,0.06); }
.metier-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(40,55,74,0.10); }
.metier-icn { display: block; width: 56px; height: 56px; margin: 0 auto 14px; transform-origin: 50% 60%; will-change: transform; }
.metier-nom { display: block; font-weight: 700; font-size: 1.05rem; color: var(--nuit); }
.metier-card .n { display: block; color: var(--texte-doux); font-size: 0.85rem; font-weight: 500; margin-top: 6px; }
@keyframes icnBob { 0% { transform: translateY(0) scale(1); } 40% { transform: translateY(-5px) scale(1.06); } 100% { transform: translateY(0) scale(1); } }
.metier-card:hover .metier-icn { animation: icnBob .32s cubic-bezier(0.34, 1.56, 0.64, 1); }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post {
  background: var(--blanc); border: 1px solid rgba(40,55,74,0.09); border-radius: var(--radius); overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease; display: flex; flex-direction: column;
}
.post:hover { transform: translateY(-4px); box-shadow: var(--ombre); }
.post .thumb { height: 160px; background: linear-gradient(135deg, var(--sable) 0%, var(--olive) 100%); background-size: cover; background-position: center; background-repeat: no-repeat; display: flex; align-items: flex-end; padding: 16px; }
.post .thumb .tag { background: rgba(40,55,74,0.85); color: var(--creme); padding: 5px 12px; border-radius: 999px; font-size: 0.76rem; font-weight: 700; }
.post .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.post h3 { font-size: 1.12rem; margin-bottom: 10px; }
.post p { color: var(--texte-doux); font-size: 0.94rem; flex: 1; }
.post .more { margin-top: 16px; color: var(--terre); font-weight: 700; font-size: 0.92rem; }

/* ---------- Article ---------- */
.article { max-width: 760px; margin: 0 auto; }
.article .meta { color: var(--texte-doux); font-size: 0.9rem; margin-bottom: 10px; }
.article h1 { margin-bottom: 22px; }
.article h2 { font-size: 1.6rem; margin: 40px 0 14px; }
.article h3 { font-size: 1.25rem; margin: 28px 0 10px; }
.article p { margin-bottom: 18px; color: #3c4653; font-size: 1.06rem; }
.article ul { margin: 0 0 20px 22px; color: #3c4653; }
.article li { margin-bottom: 8px; }
.article .note { background: var(--sable-clair); border-left: 4px solid var(--terre); padding: 18px 22px; border-radius: 10px; margin: 26px 0; }
.article .toc { background: var(--creme); border-radius: 12px; padding: 22px 26px; margin-bottom: 34px; }
.article .toc strong { display: block; margin-bottom: 10px; }
.article .toc a { color: var(--nuit); font-weight: 600; }
.article-banner { border-radius: 16px; overflow: hidden; margin-bottom: 28px; box-shadow: var(--ombre); }
.article-banner img { width: 100%; height: 240px; object-fit: cover; display: block; }

/* ---------- Page simple (hero de page) ---------- */
.page-hero { background: var(--sable-clair); padding: 64px 0; text-align: center; }
.page-hero .lead { margin-top: 14px; max-width: 640px; margin-left: auto; margin-right: auto; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(40,55,74,0.12); padding: 22px 0; }
.faq-item h3 { font-size: 1.12rem; margin-bottom: 8px; }
.faq-item p { color: var(--texte-doux); }

/* ---------- Contenu légal / contact ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin: 34px 0 12px; }
.prose p, .prose li { color: #3c4653; margin-bottom: 12px; }
.prose ul { margin-left: 22px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; max-width: 900px; margin: 0 auto; align-items: start; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.94rem; }
.form-field input, .form-field textarea {
  width: 100%; padding: 13px 16px; border-radius: 10px; border: 2px solid rgba(40,55,74,0.15);
  font-family: var(--font); font-size: 1rem; background: var(--blanc);
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--terre); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--texte-doux); margin: 6px 0 18px; }
.consent input { width: auto; margin-top: 4px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--nuit); color: var(--sable); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.footer-brand .brand { color: var(--creme); margin-bottom: 14px; }
.footer-brand p { color: var(--sable); font-size: 0.92rem; max-width: 280px; }
.footer-col h4 { color: var(--creme); font-size: 0.95rem; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-col a { display: block; color: var(--sable); font-size: 0.94rem; padding: 5px 0; transition: color .15s; }
.footer-col a:hover { color: var(--creme); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.86rem; color: rgba(211,199,173,0.7); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 460px; margin: 0 auto; }
  .cards, .steps, .post-grid { grid-template-columns: 1fr 1fr; }
  .feature-row, .feature-row.reverse .feat-text { grid-template-columns: 1fr; order: 0; }
  .metiers-grid { grid-template-columns: repeat(3, 1fr); }
  .metiers-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .terrain .wrap { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .terrain .feat-list { display: inline-block; text-align: left; }
  .terrain-visual { order: -1; }
  .slide-inner { grid-template-columns: 1fr; gap: 24px; padding: 26px; text-align: center; }
  .slide-illu { max-width: 230px; margin: 0 auto; }
  .essentiel-txt .feat-list { display: inline-block; text-align: left; }
  .slider-arrow.prev { left: 4px; }
  .slider-arrow.next { right: 4px; }
  .slider-tab { font-size: 0.86rem; padding: 10px 16px; }
}
@media (max-width: 620px) {
  section { padding: 60px 0; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links { display: flex; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; background: var(--blanc); padding: 20px 24px; gap: 16px; box-shadow: var(--ombre); }
  .cards, .steps, .post-grid, .metiers-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-form { flex-direction: column; }
  .hero-form .btn { width: 100%; }
}

/* ---------- Intro / cinématique d'ouverture (Aurora Drift) ---------- */
#daplom-splash {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: #FCFBF7; transition: opacity .8s ease, visibility .8s ease;
}
#daplom-splash.daplom-hide { opacity: 0; visibility: hidden; pointer-events: none; }
.daplom-blob { position: absolute; border-radius: 50%; filter: blur(22px); }
.daplom-b1 { width: 42vmin; height: 42vmin; left: -6vmin; top: -8vmin;
  background: radial-gradient(circle, rgba(40,55,74,0.26), transparent 68%);
  animation: daplomDrift1 10s ease-in-out infinite; }
.daplom-b2 { width: 40vmin; height: 40vmin; right: -6vmin; bottom: -6vmin;
  background: radial-gradient(circle, rgba(117,68,55,0.30), transparent 68%);
  animation: daplomDrift2 12s ease-in-out infinite; }
.daplom-b3 { width: 30vmin; height: 30vmin; left: 40%; top: 30%;
  background: radial-gradient(circle, rgba(117,68,55,0.16), transparent 70%);
  animation: daplomDrift1 14s ease-in-out 2s infinite reverse; }
#daplom-splash img { position: relative; width: 40vmin; max-width: 320px; height: auto; mix-blend-mode: multiply;
  animation: daplomFloatIn 1.2s cubic-bezier(0.22,1,0.36,1) both,
             daplomFloat 6s ease-in-out 1.2s infinite; }
@keyframes daplomDrift1 {
  0% { transform: translate(-10%,-6%) scale(1); }
  50% { transform: translate(10%,8%) scale(1.28); }
  100% { transform: translate(-10%,-6%) scale(1); }
}
@keyframes daplomDrift2 {
  0% { transform: translate(8%,6%) scale(1.15); }
  50% { transform: translate(-8%,-8%) scale(0.9); }
  100% { transform: translate(8%,6%) scale(1.15); }
}
@keyframes daplomFloatIn {
  0% { opacity: 0; transform: translateY(26px) scale(0.95); filter: blur(12px); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes daplomFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@media (prefers-reduced-motion: reduce) {
  .daplom-blob, #daplom-splash img { animation: none !important; }
}
