/* K2L — charte couleur issue de la plaquette */
:root{
  --gold:#E0B740;         /* accent doré */
  --gold-700:#c69e2f;
  --ink:#1A1A1A;          /* anthracite foncé */
  --ink-2:#2F2F2F;
  --text:#2B2B2B;         /* texte principal */
  --muted:#6A7078;
  --panel:#FFFFFF;
  --panel-dark:#EFEFEF;
  --bg:#E6E7E9;           /* fond gris clair, un peu plus contrasté */
  --line:#D6D6D6;         /* séparateurs un peu plus visibles */
  --soft:#BFBFC0;         /* gris moyen */
  --radius:18px;
  --shadow:0 14px 34px rgba(0,0,0,.12); /* ombre plus marquée pour contraste */
}

/* motion tokens */
:root{
  --ease-in-out: cubic-bezier(.2,.9,.2,1);
  --fast: 0.18s;
  --medium: 0.42s;
  --slow: 0.8s;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0; font-family:'Inter',system-ui,-apple-system,'Segoe UI',Arial,sans-serif;
  color:var(--text); background:var(--bg); line-height:1.55;
}

/* subtil grain/texture pour éviter un fond trop plat */
body::after{
  content:"";
  position:fixed; inset:0; pointer-events:none;
  background-image:linear-gradient(180deg, rgba(0,0,0,0.015), rgba(255,255,255,0.015));
  mix-blend-mode:overlay; opacity:0.6;
}

/* === Animations au chargement === */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(12px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes pop {
  from { opacity:0; transform:scale(.98) translateY(6px); }
  to   { opacity:1; transform:scale(1) translateY(0); }
}
@keyframes floaty {
  0%{transform:translateY(0)}50%{transform:translateY(-6px)}100%{transform:translateY(0)}
}

/* Respecter la préférence de réduction du mouvement */
@media (prefers-reduced-motion: reduce){
  *{animation:none !important; transition:none !important}
}

/* Entrées animées sur les blocs principaux (fallback: ne pas masquer si l'animation ne démarre pas) */
.hero-text, .hero-side, .card, .nav a, .brand, .panel, .strip{animation:fadeUp var(--medium) var(--ease-in-out) both}
.hero-text{animation-delay:0.08s}
.hero-side{animation-delay:0.16s}
.nav a{animation-duration:calc(var(--fast)); animation-delay:0.05s}
.brand{animation-duration:calc(var(--medium)); animation-delay:0.02s}
.card{animation-duration:calc(var(--medium)); animation-delay:0.18s}

/* Stagger pour les items (ticks) */
.ticks li{animation:fadeUp .5s var(--ease-in-out) both}
.ticks li:nth-child(1){animation-delay:0.08s}
.ticks li:nth-child(2){animation-delay:0.14s}
.ticks li:nth-child(3){animation-delay:0.18s}
.ticks li:nth-child(4){animation-delay:0.22s}
.ticks li:nth-child(5){animation-delay:0.26s}
.ticks li:nth-child(6){animation-delay:0.30s}
.ticks li:nth-child(7){animation-delay:0.34s}
.ticks li:nth-child(8){animation-delay:0.38s}

/* Stagger pour cards dans grid-2 */
.grid-2 .card:nth-child(1){animation-delay:0.12s}
.grid-2 .card:nth-child(2){animation-delay:0.18s}

/* === Hover / interactions === */
.nav a{transition:transform var(--fast) var(--ease-in-out), background-color var(--fast) var(--ease-in-out), color var(--fast)}
.nav a:hover{transform:translateY(-3px) scale(1.02); box-shadow:0 6px 18px rgba(0,0,0,0.12)}

.btn{transition:transform var(--fast) var(--ease-in-out), box-shadow var(--fast), background-color var(--fast)}
.btn:active{transform:translateY(0)}
.btn.accent:hover{transform:translateY(-6px) scale(1.02); box-shadow:0 18px 40px rgba(224,183,64,0.12)}
.btn.ghost:hover{transform:translateY(-4px); box-shadow:0 12px 30px rgba(0,0,0,0.08)}

.logo{transition:transform .5s var(--ease-in-out), box-shadow .3s}
.brand:hover .logo{transform:rotate(-6deg) scale(1.03); box-shadow:0 18px 30px rgba(0,0,0,0.12)}

.card{transition:transform .36s var(--ease-in-out), box-shadow .36s, border-color .28s}
.card:hover{transform:translateY(-8px) scale(1.01); box-shadow:0 30px 60px rgba(0,0,0,0.18); border-color:#bfbfbf}

.hero-side .panel{transition:transform .5s var(--ease-in-out), box-shadow .5s}
.hero-side .panel:hover{transform:translateY(-6px); box-shadow:0 28px 60px rgba(0,0,0,0.22)}

.ticks li{transition:color .2s, transform .22s}
.ticks li:hover{color:var(--ink); transform:translateX(6px)}

/* decorative gold line animation */
.hero .wrap::after{transform-origin:left; transform:scaleX(0); animation:pop .7s var(--ease-in-out) .25s both}

/* subtle continuous float for CTA to draw attention */
.btn.accent{animation:floaty 4.8s ease-in-out infinite}


.wrap{width:min(1100px,92vw);margin:0 auto}
.topbar{
  background:var(--ink); color:#fff; position:sticky; top:0; z-index:10; border-bottom:4px solid var(--gold);
}
.topbar .wrap{display:flex; align-items:center; justify-content:space-between; padding:12px 0}
.brand{display:flex; align-items:center; gap:12px; color:#fff; text-decoration:none}
.logo{width:54px; height:auto; border-radius:8px; background:#fff}
.brandtxt{display:flex; flex-direction:column; line-height:1}
.brandtxt strong{font-size:1.1rem}
.brandtxt span{opacity:.85; font-weight:600; font-size:.95rem}
.nav{display:flex; gap:18px; align-items:center}
.nav a{color:#fff; text-decoration:none; font-weight:700; padding:8px 12px; border-radius:10px}
.nav a.cta{background:var(--gold); color:#1c1c1c}
.nav a:hover{background:rgba(255,255,255,.08)}

.hero{padding:34px 0 18px; border-bottom:1px solid var(--line);
  /* fond en colonnes pour rappeler la plaquette : centre blanc, bande grise à gauche */
  background: linear-gradient(90deg, var(--panel-dark) 0 28%, var(--panel) 28% 72%, var(--panel-dark) 72% 100%);
}
.hero-grid{display:grid; grid-template-columns:1fr 1fr; gap:28px; align-items:stretch}
.kicker{color:var(--muted); font-weight:800; letter-spacing:.3px; margin:0 0 6px}
.hero h1{font-size:clamp(1.6rem,3.4vw,2.4rem); margin:.2rem 0 10px; color:var(--ink)}
.hero .accent{color:var(--gold)}
.sub{margin:0 0 16px; color:var(--muted)}
.btns{display:flex; gap:12px; flex-wrap:wrap}
.btn{display:inline-block; padding:12px 18px; border-radius:999px; font-weight:800; text-decoration:none; border:2px solid transparent; transition:.2s}
.btn.accent{background:var(--gold); color:#1c1c1c}
.btn.ghost{background:#fff; border-color:var(--ink); color:var(--ink)}
.btn:hover{transform:translateY(-1px); box-shadow:var(--shadow)}

.panel{background:#f7f7f7; border:1px solid var(--line); border-radius:var(--radius); padding:18px; box-shadow:var(--shadow)}
.hero-side .panel{background:var(--ink-2); color:#fff; border-color:#222; box-shadow:0 10px 30px rgba(0,0,0,0.18)}
.ticks{margin:0; padding:0 0 0 18px}
.ticks li{margin:8px 0}

.section{padding:38px 0}
.section.alt{background:var(--panel); border-top:1px solid var(--line); border-bottom:1px solid var(--line)}
.grid-2{display:grid; grid-template-columns:1fr 1fr; gap:22px}
.grid-2 .fullwide{grid-column:1 / -1}
.card{background:var(--panel); border:1px solid var(--line); border-radius:var(--radius); padding:22px; box-shadow:var(--shadow)}
.card.dark{background:var(--ink-2); color:#fff; border-color:#222}
.card h2{margin:0 0 10px; color:inherit}
.list{margin:10px 0 0; padding:0 0 0 18px}
.list li{margin:7px 0}

/* Styles pour la rangée d'images sous le hero */
.images-row{display:grid; grid-template-columns:repeat(2,1fr); gap:18px; align-items:stretch; margin-top:18px}
.images-row .img-card{background:var(--panel); border:1px solid var(--line); border-radius:12px; padding:12px; display:block; align-items:center; justify-content:center; max-width:820px; margin:0 auto; box-shadow:0 18px 40px rgba(0,0,0,0.05)}
.images-row img{width:100%; height:auto; display:block; border-radius:8px; aspect-ratio:16/9; object-fit:cover}

/* spacing for harmony with hero */
.image-row{padding-top:6px; padding-bottom:18px}

@media (min-width: 1200px){
  .images-row .img-card{max-width:980px}
}

@media (max-width: 980px){
  .images-row{grid-template-columns:1fr; gap:12px}
  .images-row .img-card{padding:10px}
}

/* interactive states */
.is-ready .btn.accent{animation:none} /* avoid floaty motion if we enable heavy interactions */

/* reveal animation triggered by JS: subtle pop */
@keyframes revealPop { from{ transform: translateY(8px) scale(.995); opacity:.98 } to{ transform: none; opacity:1 } }
.is-revealed{ animation: revealPop .48s var(--ease-in-out) both }

/* image card interactive look */
.img-card{background:var(--panel); border:1px solid var(--line); border-radius:12px; padding:8px; display:flex; align-items:center; justify-content:center; transition:box-shadow .28s, transform .28s; will-change:transform}
.img-card img{width:100%; height:auto; display:block; border-radius:8px}
.img-card:hover{box-shadow:0 22px 48px rgba(0,0,0,0.16);}

/* preserve 3d for tilt */
.img-card{transform-style:preserve-3d; perspective:1000px}

/* subtle hero-media transitions */
.hero-media-left, .hero-media-right{transition:transform .45s var(--ease-in-out)}

.pricing-row{display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:12px 0 8px}
.price-box{background:#101114; color:#fff; border-radius:14px; padding:14px; border:1px solid #2a2a2a}
.price{font-size:1.8rem; font-weight:900}
.price span{font-size:.95rem; font-weight:600; opacity:.85}
.note{opacity:.9; margin-top:4px}

.strip{background:linear-gradient(90deg, var(--ink) 0%, var(--ink-2) 60%); color:#fff; border-left:8px solid var(--gold); padding:18px; border-radius:12px}
.strip h2{margin:0 0 4px}
.strip p{margin:0; color:#e9e9e9}

/* Ligne dorée décorative sous le hero pour rappeler la plaquette */
.hero .wrap{position:relative}
.hero .wrap::after{content:""; position:absolute; left:6%; right:6%; height:3px; background:linear-gradient(90deg,var(--gold) 0%, rgba(224,183,64,0.8) 100%); bottom:-10px; border-radius:6px; opacity:0.95}

/* Renforcer contraste des cartes: bord et ombre */
.card{border-color:#cfcfcf}

.contact .form input, .contact .form textarea{
  padding:12px 14px; border-radius:12px; border:1px solid var(--line); background:#fff; font:inherit
}
.contact .form label{display:grid; gap:6px; font-weight:600}
.contact .legal{margin-top:10px; color:var(--muted); font-size:.95rem}

.foot{background:#fff; border-top:4px solid var(--gold); color:var(--ink); padding:18px 0; text-align:center}

/* Responsive */
@media (max-width: 980px){ .hero-grid{grid-template-columns:1fr} .grid-2{grid-template-columns:1fr} }
@media (hover:hover){ .nav a.cta:hover{background:var(--gold-700)} .btn.accent:hover{background:var(--gold-700)} }
