/* =========================================================
   HARnet — Design system
   Style : couleurs vives, fond sombre, animations qui pivotent
   ========================================================= */

:root{
  --bg: #1a0f24;
  --bg-panel: #251632;
  --bg-panel-2: #301e3f;
  --cream: #f7efe2;
  --text: #f5eee5;
  --text-soft: #c9b9d8;
  --ink: #201430;
  --ink-soft: #4c3b5c;
  --gold: #f2b544;
  --gold-deep: #d99a2b;
  --coral: #f2665f;
  --violet: #a35cf0;
  --line: rgba(245,238,229,0.14);
  --line-soft: rgba(245,238,229,0.08);
  --grad-warm: linear-gradient(135deg, var(--gold), var(--coral));
  --grad-cool: linear-gradient(135deg, var(--violet), var(--coral) 75%);
  --shadow: 0 30px 70px -28px rgba(0,0,0,0.55);
  --shadow-glow: 0 20px 55px -16px rgba(242,181,68,0.4);
  --shadow-sm: 0 14px 34px -18px rgba(0,0,0,0.5);
  --radius: 18px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.16,.84,.44,1);
  --dur: .8s;
  --maxw: 1180px;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; overflow-x: hidden; }
html,body{ margin:0; padding:0; width:100%; }

body{
  background: var(--bg);
  color: var(--text);
  font-family: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,h2,h3,h4{
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  color: var(--text);
}

h1{ font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 460; }
h2{ font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3{ font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 500; }

p{ margin: 0 0 1em; color: var(--text-soft); }
a{ color: inherit; text-decoration: none; }

.container{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 6vw;
}

@media (min-width: 1400px){ .container{ padding: 0 40px; } }

.eyebrow{
  display:flex; align-items:center; gap:.6em;
  font-family: 'Jost', sans-serif;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1.1em;
}
.eyebrow::before{
  content:''; width: 28px; height: 1px; background: var(--grad-warm);
}

/* ---------- nav ---------- */
.site-nav{
  position: fixed; top:0; left:0; right:0; z-index: 500;
  padding: 26px 0;
  transition: padding .4s var(--ease), box-shadow .4s var(--ease);
}
/* the blur/background live on a ::before (not on .site-nav itself) so that
   .site-nav never carries a backdrop-filter — a filter/backdrop-filter on an
   ancestor turns it into the containing block for fixed-position descendants,
   which on mobile breaks the full-screen nav-links overlay as soon as the
   page scrolls (it collapses to the nav bar's own height instead of the
   viewport). Keeping the filter on an empty pseudo-element avoids that. */
.site-nav::before{
  content:''; position:absolute; inset:0; z-index:-1;
  background: rgba(26,15,36,0);
  transition: background .4s var(--ease), backdrop-filter .4s var(--ease);
}
.site-nav.is-scrolled{ padding: 14px 0; box-shadow: 0 1px 0 var(--line); }
.site-nav.is-scrolled::before{
  background: rgba(26,15,36,0.82);
  backdrop-filter: blur(14px) saturate(140%);
}
.site-nav .container{
  display:flex; align-items:center; justify-content:space-between;
}
.logo{
  display:flex; align-items:center; gap:.55em;
}
.logo-icon{ width:26px; height:26px; flex-shrink:0; display:block; }
.logo-text{
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  display:flex; align-items:baseline; gap:.15em;
}
.logo-text em{ font-style: normal; color: var(--gold); }

.nav-links{ display:flex; gap: 2.4em; list-style:none; margin:0; padding:0; }
.nav-links a{
  position: relative;
  font-size: .92rem;
  letter-spacing: .02em;
  padding: 4px 0;
}
.nav-links a::after{
  content:''; position:absolute; left:0; bottom:-2px;
  width:0; height:2px; background: var(--grad-warm); border-radius: 2px;
  transition: width .35s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after{ width:100%; }
.nav-links a.active{ color: var(--gold); }

.nav-cta{
  font-size: .85rem; padding: .7em 1.4em;
  border: 1px solid var(--line); border-radius: 999px;
  transition: background .35s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .4s var(--ease);
}
.nav-cta:hover{ background: var(--grad-warm); color: var(--ink); border-color: transparent; transform: translateY(-2px) rotate(-1deg); }

.nav-toggle{ display:none; }

@media (max-width: 860px){
  .nav-links{
    position: fixed; inset: 0; top:0;
    background: var(--bg);
    flex-direction: column; justify-content:center; align-items:center;
    gap: 1.6em; font-size: 1.4rem;
    transform: translateY(-100%);
    transition: transform .5s var(--ease);
    z-index: 400;
  }
  .nav-links.is-open{ transform: translateY(0); }
  .nav-cta{ display:none; }
  .nav-toggle{
    display:flex; flex-direction:column; gap:5px; width:26px;
    background:none; border:none; cursor:pointer; z-index: 600; padding: 6px;
  }
  .nav-toggle span{ height:1.5px; width:100%; background: var(--text); transition: transform .3s ease, opacity .3s ease; }
  .nav-toggle.is-open span:nth-child(1){ transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2){ opacity:0; }
  .nav-toggle.is-open span:nth-child(3){ transform: translateY(-6.5px) rotate(-45deg); }
}

/* ---------- buttons ---------- */
.btn{
  display: inline-flex; align-items:center; gap:.6em;
  padding: 1em 2em;
  border-radius: 999px;
  font-size: .92rem; letter-spacing:.02em;
  cursor: pointer;
  transition: transform .4s var(--ease), background .3s ease, color .3s ease, box-shadow .4s ease;
}
.btn-primary{
  background: var(--grad-warm); color: var(--ink); border: 1px solid transparent;
}
.btn-primary:hover{ box-shadow: var(--shadow-glow); transform: translateY(-3px); }
.btn-ghost{
  background: transparent; color: var(--text); border: 1px solid var(--line);
}
.btn-ghost:hover{ border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn svg{ width:14px; height:14px; transition: transform .5s var(--ease); }
.btn:hover svg{ transform: translate(3px,-3px) rotate(360deg); }

/* ---------- reveal on scroll ---------- */
.reveal{
  opacity: 0; transform: translateY(28px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.reveal.is-visible{ opacity: 1; transform: translateY(0); }
.reveal-delay-1{ transition-delay: .08s; }
.reveal-delay-2{ transition-delay: .16s; }
.reveal-delay-3{ transition-delay: .24s; }
.reveal-delay-4{ transition-delay: .32s; }

/* reveal with a pivot — used broadly for a "everything settles into place" feel */
.reveal-rotate{ transform: translateY(28px) rotate(-3.5deg); }
.reveal-rotate:nth-child(even){ transform: translateY(28px) rotate(3.5deg); }
.reveal-rotate.is-visible{ transform: translateY(0) rotate(0deg); }

/* reveal that tips forward like a flap opening — used for stat figures */
.reveal-flip{
  transform: perspective(900px) rotateX(55deg) translateY(16px);
  transform-origin: bottom center;
}
.reveal-flip.is-visible{ transform: perspective(900px) rotateX(0deg) translateY(0); }

/* ---------- interactive 3D tilt (mouse-driven, see script.js) ---------- */
.tilt{
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  transform: perspective(900px) rotateX(var(--ry,0)) rotateY(var(--rx,0)) scale(var(--tscale,1));
  will-change: transform;
}

/* ---------- rotating badge ---------- */
.rotate-badge{
  width: 132px; height: 132px; position: relative; flex-shrink:0;
}
.rotate-badge svg{ width:100%; height:100%; animation: spin 16s linear infinite; }
.rotate-badge svg text{ fill: var(--text-soft); }
.rotate-badge .badge-center{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  font-size: 1.4rem; color: var(--gold);
}
@media (max-width: 760px){ .rotate-badge{ display:none; } }
@keyframes spin{ to{ transform: rotate(360deg); } }
@keyframes spin-rev{ to{ transform: rotate(-360deg); } }

/* ---------- hero ---------- */
.hero{
  position: relative;
  min-height: 100svh;
  display:flex; align-items:center;
  padding-top: 120px;
  overflow: hidden;
}
.hero-blob{
  position:absolute; z-index:0; border-radius:50%;
  filter: blur(80px);
  opacity:.55;
  will-change: transform;
}
.hero-blob.b1{ width:560px; height:560px; top:-180px; right:-140px; background: radial-gradient(circle at 30% 30%, var(--violet), transparent 70%); }
.hero-blob.b2{ width:420px; height:420px; bottom:-160px; left:-120px; opacity:.45; background: radial-gradient(circle at 30% 30%, var(--coral), transparent 70%); }
.hero-blob.b3{ width:300px; height:300px; top:30%; left:38%; opacity:.32; background: radial-gradient(circle at 30% 30%, var(--gold), transparent 70%); }

.hero .container{ position:relative; z-index:1; }
.hero-top-row{ display:flex; justify-content:space-between; align-items:flex-start; gap:2em; }
.hero-title{ max-width: 15ch; }
.hero-title .line{ display:block; overflow:hidden; }
.hero-title .line span{
  display:inline-block;
  transform: translateY(110%);
  animation: lineUp .9s var(--ease) forwards;
}
@keyframes lineUp{ to{ transform: translateY(0); } }

.hero-sub{ max-width: 46ch; font-size: 1.15rem; }
.hero-actions{ display:flex; gap:1em; margin-top: 2em; flex-wrap:wrap; }

/* ---------- sections ---------- */
section{ position: relative; padding: 8.5em 0; }
/* slightly cozier vertical rhythm, used on the Activité page */
section.section-tight{ padding: 6.8em 0; }
.section-alt{ background: var(--bg-panel); }
.section-dark{ background: var(--grad-cool); color: var(--ink); }
.section-dark p{ color: rgba(32,20,48,.72); }
.section-dark h2, .section-dark h3{ color: var(--ink); }
.section-dark .eyebrow{ color: var(--ink); }
.section-dark .eyebrow::before{ background: var(--ink); opacity:.5; }
.section-dark .tag-strip span{ border-color: rgba(32,20,48,.25); color: var(--ink); }
.section-dark .btn-primary{ background: var(--ink); color: var(--cream); }
.section-dark .btn-primary:hover{ box-shadow: 0 20px 45px -16px rgba(0,0,0,.4); }
.section-head{ max-width: 640px; margin-bottom: 3.5em; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* ---------- 404 page ---------- */
.error-num{
  display:block; font-family:'Fraunces',serif; font-weight:500;
  font-size: clamp(5rem, 18vw, 9rem); line-height:1;
  background: var(--grad-warm); -webkit-background-clip:text; background-clip:text; color:transparent;
  margin-bottom: .25em;
}
.quick-links{
  display:flex; flex-wrap:wrap; justify-content:center; row-gap:.8em;
  gap: 1.8em; list-style:none; margin:0; padding:0;
}
.quick-links a:hover{ color: var(--gold); }

/* ---------- grids / cards ---------- */
.grid{ display:grid; gap: 1.8em; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px){ .grid-3{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px){ .grid-3, .grid-2{ grid-template-columns: 1fr; } }

.card{
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.4em 2em;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease), background .5s var(--ease);
}
.card:hover{ transform: translateY(-6px) rotate(-1.2deg); box-shadow: var(--shadow); border-color: transparent; background: var(--bg-panel-2); }
.card:nth-child(even):hover{ transform: translateY(-6px) rotate(1.2deg); }
.card .num{ font-family:'Fraunces',serif; font-size: 2.2rem; background: var(--grad-warm); -webkit-background-clip:text; background-clip:text; color: transparent; margin-bottom:.3em; display:block; }

/* ---------- flip cards (front/back, retournement 3D) ---------- */
.flip-card{ perspective: 1400px; }
.flip-card .flip-card-inner{
  position:relative; min-height: 300px;
  transition: transform .8s cubic-bezier(.4,.2,.2,1);
  transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner{ transform: rotateY(180deg); }
.flip-face{
  position:absolute; inset:0; backface-visibility:hidden; -webkit-backface-visibility:hidden;
  border-radius: var(--radius); padding: 2.4em 2em;
  display:flex; flex-direction:column; justify-content:center;
}
.flip-front{ background: var(--bg-panel); border:1px solid var(--line); }
.flip-front .num{ font-family:'Fraunces',serif; font-size: 2.2rem; background: var(--grad-warm); -webkit-background-clip:text; background-clip:text; color: transparent; margin-bottom:.3em; display:block; }
.flip-back{
  transform: rotateY(180deg);
  background: var(--grad-warm); color: var(--ink);
}
.flip-back h3, .flip-back p{ color: var(--ink); }
.flip-back .flip-hint{ font-size:.75rem; letter-spacing:.12em; text-transform:uppercase; opacity:.7; margin-top:.6em; }

/* smaller variant used for the homepage "L'approche" cards */
.flip-card.flip-card-sm .flip-card-inner{ min-height: 255px; }
.flip-card.flip-card-sm .flip-face{ padding: 1.7em 1.5em; }
.flip-card.flip-card-sm .flip-front .num{ font-size: 1.7rem; }

/* ---------- tumble cards: a distinct, more dramatic reveal ----------
   used on the Exemples page ("Ce que montrent ces exemples") so it doesn't
   feel like the same flip repeated on every tab: tumbles on two axes with
   a springy overshoot, and reveals a dark glowing panel instead of the
   flat warm-gradient back used everywhere else. */
.tumble-card{ perspective: 1600px; }
.tumble-card .tumble-card-inner{
  position:relative; min-height: 300px;
  transition: transform 1s cubic-bezier(.34,1.56,.64,1);
  transform-style: preserve-3d;
}
.tumble-card:hover .tumble-card-inner{ transform: rotateY(180deg) rotateX(10deg) scale(1.05); }
.tumble-face{
  position:absolute; inset:0; backface-visibility:hidden; -webkit-backface-visibility:hidden;
  border-radius: var(--radius); padding: 2.4em 2em;
  display:flex; flex-direction:column; justify-content:center;
}
.tumble-front{ background: var(--bg-panel); border:1px solid var(--line); }
.tumble-back{
  transform: rotateY(180deg);
  background-image: linear-gradient(var(--ink), var(--ink)), var(--grad-cool);
  background-origin: border-box; background-clip: padding-box, border-box;
  border: 1px solid transparent;
  box-shadow: 0 25px 50px -20px rgba(163,92,240,.55);
}
.tumble-back h3, .tumble-back p{ color: var(--text); }
.tumble-back p{ color: var(--text-soft); }
.tumble-icon{
  width:40px; height:40px; border-radius:50%; margin-bottom:.6em;
  display:flex; align-items:center; justify-content:center;
  background: var(--grad-cool); color: var(--ink); font-size:1.1rem;
}
.tumble-back .flip-hint{ font-size:.75rem; letter-spacing:.12em; text-transform:uppercase; opacity:.7; margin-top:.6em; color: var(--text-soft); }

/* ---------- cube cards: a turnstile-style rotation, third distinct treatment ----------
   used on the Références page ("Quelques projets menés à bien") — a third,
   different feel again: instead of flipping in place like a mirror, the
   panel swings on its edge like a revolving door, and reveals an emerald
   "success" accent (fitting "projets menés à bien") instead of the warm
   gold or the cool violet used by the other two card styles. */
.cube-card{ perspective: 1400px; }
.cube-card .cube-card-inner{
  position:relative; min-height: 300px;
  transform-style: preserve-3d;
  transition: transform .9s cubic-bezier(.65,0,.35,1);
}
.cube-card:hover .cube-card-inner{ transform: rotateY(-90deg); }
.cube-face{
  position:absolute; inset:0; backface-visibility:hidden; -webkit-backface-visibility:hidden;
  border-radius: var(--radius); padding: 2.4em 2em;
  display:flex; flex-direction:column; justify-content:center;
}
.cube-front{
  background: var(--bg-panel); border:1px solid var(--line);
  transform: rotateY(0deg) translateZ(160px);
}
.cube-back{
  background: linear-gradient(135deg, #3ee2b0, #0f9b8e); color: var(--ink);
  transform: rotateY(90deg) translateZ(160px);
}
.cube-back h3, .cube-back p{ color: var(--ink); }
.cube-back p{ color: rgba(15,40,35,.75); }
.cube-icon{
  width:40px; height:40px; border-radius:50%; margin-bottom:.6em;
  display:flex; align-items:center; justify-content:center;
  background: var(--ink); color: #3ee2b0; font-size:1.1rem; font-weight:700;
}
.cube-back .flip-hint{ font-size:.75rem; letter-spacing:.12em; text-transform:uppercase; opacity:.7; margin-top:.6em; color: rgba(15,40,35,.7); }

/* ---------- qualitative highlights (no figures) ---------- */
.highlight{ text-align:center; padding: 1em; }
.highlight-icon{
  width:52px; height:52px; margin:0 auto 1em; border-radius:50%;
  background: var(--grad-warm); color: var(--ink);
  display:flex; align-items:center; justify-content:center; font-size:1.3rem;
}
.highlight h3{ margin-bottom:.4em; }
.highlight p{ font-size:.92rem; max-width:32ch; margin:0 auto; }

.stat{ text-align:center; }
.stat .figure{
  font-family:'Fraunces',serif; font-size: clamp(2.2rem,4vw,3.4rem);
  color: var(--text); display:block; margin-bottom:.15em;
}
.stat .figure .unit{ font-size: .5em; color: var(--gold); margin-left:.1em; }
.stat .label{ font-size:.85rem; letter-spacing:.05em; color: var(--text-soft); text-transform:uppercase; }

/* ---------- process steps ---------- */
.steps{ counter-reset: step; }
.step{
  display:grid; grid-template-columns: 90px 1fr; gap: 2em;
  padding: 2.6em 0; border-top: 1px solid var(--line);
  align-items:start;
  transition: transform .4s var(--ease);
}
.step:hover{ transform: translateX(6px); }
.step:last-child{ border-bottom: 1px solid var(--line); }
.step .step-num{
  font-family:'Fraunces',serif; font-size: 2.4rem;
  background: var(--grad-warm); -webkit-background-clip:text; background-clip:text; color:transparent;
  transition: transform .5s var(--ease);
}
.step:hover .step-num{ transform: rotate(-8deg) scale(1.08); }
@media (max-width:640px){ .step{ grid-template-columns: 50px 1fr; } .step .step-num{ font-size:1.6rem; } }

/* ---------- pricing ---------- */
.price-card{
  background: var(--grad-warm); color: var(--ink);
  border-radius: var(--radius); padding: 3em;
  display:grid; grid-template-columns: 1.2fr 1fr; gap: 2.5em; align-items:center;
}
.price-card .price{ font-family:'Fraunces',serif; font-size: 3.2rem; }
.price-card .price small{ font-size: .4em; color: rgba(32,20,48,.7); font-family:'Jost',sans-serif; }
.price-card p{ color: rgba(32,20,48,.75); }
.price-list{ list-style:none; margin:0; padding:0; display:grid; gap:.8em; }
.price-list li{ display:flex; gap:.7em; align-items:flex-start; color: rgba(32,20,48,.85); font-size:.95rem; }
.price-list li::before{ content:'✓'; color: var(--ink); font-weight:600; }
@media (max-width:760px){ .price-card{ grid-template-columns: 1fr; } }

/* ---------- example / demo cards ---------- */
.demo-card{
  position: relative; border-radius: var(--radius); overflow:hidden;
  border:1px solid var(--line); background: var(--bg-panel);
  display:flex; flex-direction:column;
  transition: box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.demo-card:hover{ box-shadow: var(--shadow); border-color: transparent; }
.demo-preview{
  aspect-ratio: 16/10; position:relative; overflow:hidden;
  border-bottom:1px solid var(--line);
}
.demo-preview iframe{
  position:absolute; top:0; left:0;
  width: 250%; height: 250%;
  transform: scale(.4); transform-origin: top left;
  border:0; pointer-events:none;
}
.demo-body{ padding: 2em; display:flex; flex-direction:column; gap: 1em; flex:1; }
.demo-tag{ font-size:.72rem; letter-spacing:.15em; text-transform:uppercase; color: var(--gold); }
.demo-actions{ margin-top:auto; display:flex; gap:.8em; flex-wrap:wrap; }

/* ---------- testimonial / reference placeholders ---------- */
.ref-card{
  border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 2.4em; background: var(--bg-panel);
  display:flex; flex-direction:column; gap:1.2em;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.ref-card:hover{ transform: translateY(-5px) rotate(-1deg); box-shadow: var(--shadow); }
.ref-avatar{
  width:52px; height:52px; border-radius:50%;
  background: var(--bg-panel-2);
  border: 1px dashed rgba(245,238,229,.3);
  display:flex; align-items:center; justify-content:center;
  font-family:'Fraunces',serif; color: var(--text-soft); font-size:1.1rem;
}
.ref-quote{ font-family:'Fraunces',serif; font-size:1.15rem; color: var(--text); font-style:italic; }
.ref-meta{ font-size:.85rem; color: var(--text-soft); }
.ref-placeholder-badge{
  font-size:.68rem; letter-spacing:.12em; text-transform:uppercase;
  color: var(--ink); background: var(--grad-warm);
  display:inline-block; padding:.3em .8em; border-radius:999px; width:fit-content;
}

.logo-row{
  display:flex; flex-wrap:wrap; gap: 1.4em; margin-top: 2em;
}
.logo-slot{
  flex:1; min-width:150px; height:78px;
  border:1px dashed var(--line); border-radius: var(--radius-sm);
  display:flex; align-items:center; justify-content:center;
  color: var(--text-soft); font-size:.8rem; letter-spacing:.05em;
  text-transform:uppercase;
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.logo-slot:hover{ transform: rotate(-2deg) scale(1.03); border-color: var(--gold); color: var(--gold); }

/* ---------- contact ---------- */
.contact-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 3em; align-items:start; }
@media (max-width:860px){ .contact-grid{ grid-template-columns:1fr; } }
.contact-item{
  display:flex; align-items:center; gap:1.1em;
  padding: 1.6em 0; border-top:1px solid var(--line);
  position:relative; overflow:hidden;
}
.contact-item:last-child{ border-bottom:1px solid var(--line); }
.contact-item::after{
  content:''; position:absolute; left:0; right:0; bottom:0; height:2px;
  background: var(--coral);
  transform: scaleX(0); transform-origin:left;
  transition: transform .55s var(--ease);
}
.contact-item:hover::after{ transform: scaleX(1); }
.contact-item .icon{
  width:44px; height:44px; border-radius:50%; background: var(--bg-panel-2);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
  color: var(--gold); position:relative;
  transition: transform .4s var(--ease), background .4s var(--ease), color .4s var(--ease);
}
.contact-item a{ font-size:1.1rem; }
.contact-item .lbl{ font-size:.78rem; letter-spacing:.12em; text-transform:uppercase; color: var(--text-soft); display:block; margin-bottom:.2em; }

/* ---------- contact icons: three distinct hover animations ---------- */
/* email: sent like a paper plane, gliding off on a diagonal */
@keyframes iconSend{
  0%{ transform: translate(0,0) rotate(0deg); }
  35%{ transform: translate(-3px,3px) rotate(-10deg); }
  100%{ transform: translate(9px,-9px) rotate(20deg); }
}
.contact-item-email:hover .icon{
  animation: iconSend .55s var(--ease) forwards;
  background: var(--grad-warm); color: var(--ink);
}

/* phone: a quick ringing/vibrating shake, loops while hovered */
@keyframes iconRing{
  0%, 100%{ transform: rotate(0deg); }
  15%{ transform: rotate(-16deg); }
  30%{ transform: rotate(14deg); }
  45%{ transform: rotate(-11deg); }
  60%{ transform: rotate(8deg); }
  75%{ transform: rotate(-4deg); }
  90%{ transform: rotate(2deg); }
}
.contact-item-phone:hover .icon{
  animation: iconRing .5s ease-in-out infinite;
  background: var(--grad-cool); color: var(--ink);
}

/* zone: pin drops into place with a radar ping expanding behind it */
@keyframes iconDrop{
  0%{ transform: translateY(-16px) scale(.85); }
  55%{ transform: translateY(3px) scale(1.06); }
  75%{ transform: translateY(-3px) scale(.98); }
  100%{ transform: translateY(0) scale(1); }
}
@keyframes iconPing{
  0%{ transform: scale(.6); opacity:.6; }
  100%{ transform: scale(2.3); opacity:0; }
}
.contact-item-zone .icon::after{
  content:''; position:absolute; inset:0; border-radius:50%;
  border: 1.5px solid var(--gold); opacity:0; pointer-events:none;
}
.contact-item-zone:hover .icon{ animation: iconDrop .6s var(--ease) forwards; }
.contact-item-zone:hover .icon::after{ animation: iconPing 1s ease-out infinite; }

.contact-note{
  background: var(--bg-panel); border-radius: var(--radius);
  padding: 2em; font-size:.92rem; color: var(--text-soft);
  border: 1px solid var(--line);
}
.contact-note .price-list li{ color: var(--text-soft); }
.contact-note .price-list li::before{ color: var(--gold); }

/* ---------- footer ---------- */
footer{
  padding: 4em 0 2.4em; border-top: 1px solid var(--line);
  background: #150c1d; color: rgba(245,238,229,.7);
}
footer .container{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:1.5em;
}
footer .logo{ color: var(--text); }
footer .foot-links{ display:flex; flex-wrap:wrap; row-gap:.8em; gap:1.8em; list-style:none; margin:0; padding:0; }
footer .foot-links a:hover{ color: var(--gold); }
footer small{ display:block; margin-top: 2.4em; opacity:.55; font-size:.78rem; }

/* ---------- misc ---------- */
.tag-strip{
  display:flex; flex-wrap:wrap; gap:.6em; margin-top:1.6em;
}
.tag-strip span{
  font-size:.78rem; padding:.5em 1em; border:1px solid var(--line); border-radius:999px; color: var(--text-soft);
  transition: transform .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}
.tag-strip span:hover{ transform: rotate(-3deg); border-color: var(--gold); color: var(--gold); }

.divider-line{ height:1px; background: var(--line); width:100%; margin: 4em 0; }

.marquee{
  display:flex; white-space:nowrap; overflow:hidden;
  border-top:1px solid var(--line); border-bottom:1px solid var(--line);
  padding: 1.6em 0;
  margin-top: 2.4em;
}
.marquee-track{ display:flex; align-items:center; animation: marquee 22s linear infinite; }
.marquee-track > span{ margin-right: 1.4em; }
.marquee span{ font-family:'Fraunces',serif; font-size:1.3rem; color: var(--text-soft); opacity:.75; }
.marquee .spinner{ display:inline-block; color: var(--gold); animation: spin 3s linear infinite; }
@keyframes marquee{ from{ transform:translateX(0);} to{ transform:translateX(-50%);} }

::selection{ background: var(--gold); color:var(--ink); }
