/* Expertise pages, v4 design layer: same palette and motion as the homepage.
   Motion is enabled by inner-v4.js (html.anim); without it every block stays visible. */
main{overflow-x:clip}

/* Hero: mint mesh, dot grid and floating orbs behind the copy */
main .i-hero,main .hero{position:relative;isolation:isolate}
main .i-hero::before,main .hero::before{content:"";position:absolute;inset:-40px -10vw 0;z-index:-1;pointer-events:none;
  background-image:radial-gradient(#20745E22 1.2px,transparent 1.2px);background-size:22px 22px;
  -webkit-mask-image:radial-gradient(55% 70% at 30% 45%,#000 0%,transparent 75%);mask-image:radial-gradient(55% 70% at 30% 45%,#000 0%,transparent 75%)}
main .i-hero::after,main .hero::after{content:"";position:absolute;z-index:-2;pointer-events:none;width:1100px;height:680px;left:50%;top:-160px;transform:translateX(-50%);
  background:radial-gradient(35% 45% at 25% 45%,#D3F3E3 0%,transparent 70%),radial-gradient(30% 40% at 75% 40%,#BFEBD7 0%,transparent 70%),radial-gradient(28% 35% at 55% 75%,#EFF8F3 0%,transparent 70%);
  filter:blur(10px);animation:limi-drift 18s ease-in-out infinite alternate}
@keyframes limi-drift{from{transform:translateX(-52%) translateY(0) scale(1)}to{transform:translateX(-48%) translateY(24px) scale(1.06)}}
.hero-orbs{position:absolute;inset:0;z-index:-1;pointer-events:none}
.hero-orbs span{position:absolute;border-radius:50%;filter:blur(1.5px);opacity:.75}
.hero-orbs .o1{width:14px;height:14px;left:2%;top:18%;background:#20745E;animation:limi-float 7s ease-in-out infinite}
.hero-orbs .o2{width:22px;height:22px;right:3%;top:8%;background:#8AE1BD;animation:limi-float 9s ease-in-out infinite reverse}
.hero-orbs .o3{width:10px;height:10px;left:46%;bottom:10%;background:#20745E;animation:limi-float 6s ease-in-out infinite}
.hero-orbs .o4{width:18px;height:18px;left:38%;top:6%;background:#D3F3E3;animation:limi-float 8s ease-in-out infinite reverse}
@keyframes limi-float{0%,100%{translate:0 0}50%{translate:0 -16px}}
main .i-hero h1 em,main .hero h1 em{background:linear-gradient(100deg,#20745E 0%,#20745E 38%,#8AE1BD 50%,#20745E 62%,#20745E 100%);background-size:250% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:limi-shine 5.5s ease-in-out 1.6s infinite}
@keyframes limi-shine{0%{background-position:100% 0}60%,100%{background-position:0 0}}
.i-art,.hero-art{transition:transform .6s cubic-bezier(.2,.7,.2,1)}

/* Section eyebrows: mint marker, as on the homepage */
main :is(.b-section-top,.section-head,.case-heading,.measure,.catalogue-support,.i-ai-note,.c-service-split,.clients) > div > .eyebrow,
main :is(.section-head,.clients,.measure > div) > .eyebrow{display:inline-flex;align-items:center;gap:8px}
main :is(.b-section-top,.section-head,.case-heading,.measure,.catalogue-support,.i-ai-note,.c-service-split,.clients) > div > .eyebrow::before,
main :is(.section-head,.clients) > .eyebrow::before{content:"";width:8px;height:8px;border-radius:50%;background:#20745E;box-shadow:0 0 0 4px #D3F3E3}

/* Static platform band (same as the homepage), with ChatGPT Ads */
.platform-band .channel-window{mask-image:none;-webkit-mask-image:none}
.platform-band .channel-track{animation:none!important;width:100%}
.platform-band .channel-group{width:100%;justify-content:center;flex-wrap:wrap;gap:18px 48px;padding:0 20px}
.platform-chatgpt{display:flex;align-items:center;gap:6px}
.platform-chatgpt .cg-word{font:800 22px/1 Manrope,Arial,sans-serif;letter-spacing:-.03em;color:#111111}
.platform-logo{transition:transform .2s ease}
.platform-logo:hover{transform:translateY(-2px) scale(1.04)}

/* Client logos in their own colours */
.client-band{background:#FFFFFF!important}
.client-band .client-group img{opacity:1}

/* Dark band for the method, over the faint analytics photo used on the homepage */
.dark-band{position:relative;isolation:isolate;background:#183D32!important;overflow:hidden;color:#CFE3D8}
.dark-band::before{content:"";position:absolute;inset:0;z-index:-2;background:url("images/fond-analytics-unsplash.webp") center/cover no-repeat;opacity:.14;filter:grayscale(.3) blur(2px);transform:scale(1.15)}
.dark-band::after{content:"";position:absolute;inset:0;z-index:-1;
  background:radial-gradient(60% 50% at 85% 10%,#20745E88,transparent 70%),radial-gradient(50% 50% at 10% 100%,#20745E66,transparent 70%),
  repeating-linear-gradient(115deg,transparent 0 46px,#FFFFFF08 46px 47px)}
.dark-band h2,.dark-band h3{color:#FFFFFF!important}
.dark-band h2 em{color:#8AE1BD}
.dark-band p{color:#CFE3D8!important}
.dark-band .eyebrow{color:#8AE1BD!important;display:inline-flex;align-items:center;gap:8px}
.dark-band .eyebrow::before{content:"";width:8px;height:8px;border-radius:50%;background:#8AE1BD;box-shadow:0 0 0 4px #20745E}
.dark-band .text-cta{color:#8AE1BD!important}
.dark-band .i-steps article,.dark-band .steps article{background:#FFFFFF0D;border-radius:16px;padding:20px 18px 22px;backdrop-filter:blur(4px);box-shadow:inset 0 0 0 1px #FFFFFF1F}
.dark-band .i-steps article > span,.dark-band .step-number{color:#8AE1BD!important}
.dark-band .step-icon{background:#20745E!important;color:#FFFFFF!important}
.dark-band .step-icon svg{stroke:#FFFFFF}
.dark-band .steps article:last-child,.dark-band .i-steps article:last-child{background:#D3F3E3;box-shadow:none}
.dark-band .steps article:last-child :is(h3,p),.dark-band .i-steps article:last-child :is(h3,p){color:#183D32!important}
.dark-band .steps article:last-child .step-number,.dark-band .i-steps article:last-child > span{color:#20745E!important}

/* AI note: same rule card as the homepage method section */
.i-ai-note{border-radius:22px;background:#EFF8F3;padding:clamp(26px,4vw,44px)!important;margin-top:clamp(40px,6vw,72px);margin-bottom:clamp(40px,6vw,72px)}

/* Hover details */
:is(.s-specialty-grid > a,.b-case,.pillars article,.channel-card,.segment,.c-price-grid article,.c-service-rows article,.c-proof-item,.signal > div,.witness){transition:transform .25s ease,box-shadow .25s ease}
:is(.s-specialty-grid > a,.b-case,.pillars article,.channel-card,.c-price-grid article,.signal > div):hover{transform:translateY(-4px);box-shadow:0 18px 36px -22px #183D3266}
.b-case img,.b-case image{transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.button svg,.lc-btn svg,.text-cta svg{transition:transform .2s ease}
.button:hover svg,.lc-btn:hover svg,.text-cta:hover svg{transform:translateX(4px)}
.c-faq details[open] p{animation:limi-open .35s ease}
@keyframes limi-open{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}

/* ---------- Motion (html.anim only) ---------- */
.anim .reveal{opacity:0;transform:translateY(18px);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.7,.2,1);transition-delay:var(--d,0s)}
.anim .reveal.in{opacity:1;transform:none}
/* Hero load sequence */
.anim .hero-seq{opacity:0;animation:limi-in .8s cubic-bezier(.2,.7,.2,1) forwards;animation-delay:var(--d,0s)}
.anim .h1-line{display:inline-block}
.anim :is(.i-art,.hero-art).hero-seq{animation-name:limi-art;animation-duration:1.1s}
@keyframes limi-in{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
@keyframes limi-art{from{opacity:0;transform:translateY(26px) scale(.96)}to{opacity:1;transform:none}}
.anim .platform-band .platform-logo{opacity:0;animation:limi-in .7s ease forwards;animation-delay:var(--d,1.2s)}
/* Eyebrow dot pulse */
.anim main .eyebrow::before{animation:limi-dot 2.8s ease-in-out infinite}
@keyframes limi-dot{0%,100%{box-shadow:0 0 0 4px #D3F3E3}50%{box-shadow:0 0 0 7px #D3F3E380}}
.anim .dark-band .eyebrow::before{animation:none}
/* Steps: rail fills, cards light up one after another */
.i-steps,.steps{position:relative}
.anim .dark-band :is(.i-steps,.steps).in article{animation:limi-step 1s ease both}
.anim .dark-band :is(.i-steps,.steps).in article:nth-child(2){animation-delay:.25s}
.anim .dark-band :is(.i-steps,.steps).in article:nth-child(3){animation-delay:.5s}
.anim .dark-band :is(.i-steps,.steps).in article:nth-child(4){animation-delay:.75s}
.anim .dark-band :is(.i-steps,.steps).in article:nth-child(5){animation-delay:1s}
@keyframes limi-step{0%{box-shadow:inset 0 0 0 1px #FFFFFF1F,0 0 0 0 #8AE1BD00}40%{box-shadow:inset 0 0 0 1px #FFFFFF1F,0 0 0 3px #8AE1BD99}100%{box-shadow:inset 0 0 0 1px #FFFFFF1F,0 0 0 0 #8AE1BD00}}
/* Rows "en pratique": the practical note slides in from the right */
.anim .c-service-rows article .c-row-output{opacity:0;transform:translateX(18px);transition:opacity .6s ease .25s,transform .6s cubic-bezier(.2,.7,.2,1) .25s}
.anim .c-service-rows article.in .c-row-output{opacity:1;transform:none}
/* Result charts: bars grow */
.anim .result-chart rect{transform-box:fill-box;transform-origin:left center;transform:scaleX(0);transition:transform 1.1s cubic-bezier(.2,.7,.2,1)}
.anim .result-chart.in rect{transform:none}
.anim .result-chart.in rect.bar-1{transition-delay:.35s}
/* Segments and tags pop in sequence */
.anim :is(.format-tags li,.clients span,.segment-mark){opacity:0;transform:scale(.85);transition:opacity .35s ease,transform .4s cubic-bezier(.3,1.6,.5,1)}
.anim .in :is(.format-tags li,.segment-mark),.anim .clients.in span{opacity:1;transform:none}
.anim .in .format-tags li:nth-child(2),.anim .clients.in span:nth-child(2){transition-delay:.1s}
.anim .in .format-tags li:nth-child(3),.anim .clients.in span:nth-child(3){transition-delay:.2s}
.anim .in .format-tags li:nth-child(4),.anim .clients.in span:nth-child(4){transition-delay:.3s}
/* Price cards: list ticks appear in sequence */
.anim .c-price-grid article li{opacity:0;transform:translateX(-10px);transition:opacity .45s ease,transform .45s ease}
.anim .c-price-grid article.in li{opacity:1;transform:none}
.anim .c-price-grid article.in li:nth-child(2){transition-delay:.1s}
.anim .c-price-grid article.in li:nth-child(3){transition-delay:.2s}
.anim .c-price-grid article.in li:nth-child(4){transition-delay:.3s}
/* POAS fraction: line draws */
.anim .poas-equation .fraction-line{transform-origin:left;transform:scaleX(0);transition:transform .9s cubic-bezier(.2,.7,.2,1) .3s}
.anim .budget-visual.in .poas-equation .fraction-line{transform:none}
/* Signal arrow nudges */
.anim .signal.in .signal-arrow{animation:limi-nudge 1.8s ease-in-out .6s 2}
@keyframes limi-nudge{0%,100%{transform:none}50%{transform:translateX(6px)}}
/* Final call: glow breathes */
.anim .lc::before{animation:limi-glowpulse 6s ease-in-out infinite}
@keyframes limi-glowpulse{0%,100%{opacity:.75;transform:scale(1)}50%{opacity:1;transform:scale(1.06)}}

@media (prefers-reduced-motion:reduce){
  main .i-hero::after,main .hero::after,.hero-orbs span,.anim .lc::before{animation:none}
  main .i-hero h1 em,main .hero h1 em{animation:none;background:none;color:#20745E}
  .anim .reveal,.anim .hero-seq{opacity:1;transform:none;transition:none;animation:none}
}

/* Step cards in the dark band: keep the icon and number inside the card */
.dark-band .steps article .step-number{right:16px}
@media (max-width:700px){
  .dark-band .steps{gap:12px}
  .dark-band .steps article{padding:20px 18px 22px 60px}
  .dark-band .steps article .step-icon{left:18px;top:22px}
  .dark-band .i-steps{gap:12px}
}

/* Two case cards on Acquisition digitale: use the full width */
@media (min-width:900px){.i-evidence .cs-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* E-commerce: highlighted link to the Google Shopping page */
.channel-context.shopping-link{background:#EFF8F3;border-radius:18px;padding:22px 26px;margin:30px 0 26px;box-shadow:inset 0 0 0 1px #D3F3E3}
.channel-context.shopping-link p{margin:6px 0 12px}

/* Google Shopping page */
.shop-steps{grid-template-columns:repeat(5,1fr)}
.shop-segments article > span{font:800 22px/1 Manrope,Arial,sans-serif;color:#20745E}
.shop-monthly{max-width:70ch;margin:8px 0 22px}
#situations .cs-channels,.b-section .cs-grid .cs-channels{color:var(--muted,#55665E)}
@media (max-width:1000px){.shop-steps{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){.shop-steps,.shop-segments{grid-template-columns:1fr}}

/* Hero without intro sentence: room between the title and the buttons */
.i-hero h1 + .b-actions{margin-top:34px}

/* E-commerce hero: animated illustration (revenue up, margin kept) */
.hero-art.eco-visual{position:relative;min-height:440px;padding:0;transform:none;overflow:hidden;border-radius:30px;border:1px solid #C5DCD0;
  background:radial-gradient(60% 60% at 75% 25%,#BFEBD7 0%,transparent 70%),radial-gradient(50% 50% at 15% 85%,#D3F3E3 0%,transparent 70%),#EEF6F3}
.eco-visual::before{content:"";position:absolute;inset:0;background-image:radial-gradient(#20745E1F 1.2px,transparent 1.2px);background-size:20px 20px;pointer-events:none}
.eco-card{position:absolute;background:#FFFFFF;border-radius:18px;box-shadow:0 18px 40px -22px #183D3299,0 0 0 1px #DCE9E1}
.eco-chart{left:6%;top:11%;width:70%;padding:14px 16px 8px}
.eco-card-top{display:flex;justify-content:space-between;align-items:center;gap:10px;font:700 13px/1.2 Manrope,Arial,sans-serif;color:#183D32;margin-bottom:6px}
.eco-pill{font:600 10.5px/1 Manrope,Arial,sans-serif;letter-spacing:.02em;color:#20745E;background:#EFF8F3;border-radius:999px;padding:6px 9px;white-space:nowrap}
.eco-chart svg{display:block;width:100%;height:auto}
.eco-bars rect{fill:#D3F3E3;transform-box:fill-box;transform-origin:bottom;animation:eco-grow 6s cubic-bezier(.2,.7,.2,1) infinite}
.eco-bars rect:nth-child(2){animation-delay:.12s}.eco-bars rect:nth-child(3){animation-delay:.24s}.eco-bars rect:nth-child(4){animation-delay:.36s}
.eco-bars rect:nth-child(5){animation-delay:.48s}.eco-bars rect:nth-child(6){animation-delay:.6s}.eco-bars rect:nth-child(7){animation-delay:.72s}
@keyframes eco-grow{0%{transform:scaleY(.15)}25%,85%{transform:scaleY(1)}100%{transform:scaleY(.15)}}
.eco-line{fill:none;stroke:#20745E;stroke-width:3.5;stroke-linecap:round;stroke-dasharray:320;animation:eco-draw 6s ease infinite}
@keyframes eco-draw{0%{stroke-dashoffset:320}35%,85%{stroke-dashoffset:0}100%{stroke-dashoffset:320}}
.eco-area{fill:#20745E;opacity:.1;animation:eco-fade 6s ease infinite}
@keyframes eco-fade{0%,15%{opacity:0}40%,85%{opacity:.12}100%{opacity:0}}
.eco-dot{fill:#20745E;stroke:#FFFFFF;stroke-width:3;transform-box:fill-box;transform-origin:center;animation:eco-dot 6s ease infinite}
@keyframes eco-dot{0%,30%{transform:scale(0)}40%{transform:scale(1.3)}48%,85%{transform:scale(1)}100%{transform:scale(0)}}
.eco-product{right:5%;top:47%;display:flex;align-items:center;gap:12px;padding:12px 16px 12px 12px;animation:eco-float 7s ease-in-out infinite}
.eco-thumb{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#D3F3E3}
.eco-thumb svg{width:24px;height:24px;fill:none;stroke:#20745E;stroke-width:1.7;stroke-linejoin:round}
.eco-product b,.eco-margin b{display:block;font:700 14px/1.25 Manrope,Arial,sans-serif;color:#183D32}
.eco-product em,.eco-margin em{display:block;font-style:normal;font-size:12.5px;color:#55665E}
.eco-margin{left:10%;bottom:9%;display:flex;align-items:center;gap:10px;padding:10px 16px 10px 10px;animation:eco-float 8s ease-in-out .8s infinite reverse}
.eco-margin svg{width:52px;height:52px;transform:rotate(-90deg)}
.eco-ring-bg{fill:none;stroke:#EFF8F3;stroke-width:8}
.eco-ring{fill:none;stroke:#20745E;stroke-width:8;stroke-linecap:round;stroke-dasharray:151;stroke-dashoffset:151;animation:eco-ring 6s ease infinite}
@keyframes eco-ring{0%,20%{stroke-dashoffset:151}50%,85%{stroke-dashoffset:60}100%{stroke-dashoffset:151}}
.eco-toast{position:absolute;right:6%;top:6%;display:flex;align-items:center;gap:8px;padding:9px 14px;border-radius:999px;background:#183D32;color:#FFFFFF;font:600 12.5px/1 Manrope,Arial,sans-serif;box-shadow:0 12px 26px -14px #183D32;animation:eco-toast 6s ease infinite}
.eco-toast svg{width:16px;height:16px;fill:none;stroke:#8AE1BD;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
@keyframes eco-toast{0%,45%{opacity:0;transform:translateY(-8px) scale(.9)}52%,80%{opacity:1;transform:none}90%,100%{opacity:0;transform:translateY(-8px) scale(.9)}}
@keyframes eco-float{0%,100%{translate:0 0}50%{translate:0 -10px}}
.eco-note{position:absolute;right:16px;bottom:12px;font-size:11px;color:#55665E}
@media (max-width:700px){
  .hero-art.eco-visual{min-height:360px}
  .eco-chart{left:5%;width:84%;top:14%}
  .eco-product{right:4%;top:auto;bottom:24%}
  .eco-margin{left:5%;bottom:6%}
  .eco-toast{right:5%;top:3%}
}
@media (prefers-reduced-motion:reduce){
  .eco-bars rect,.eco-line,.eco-area,.eco-dot,.eco-product,.eco-margin,.eco-ring,.eco-toast{animation:none}
  .eco-line{stroke-dashoffset:0}.eco-ring{stroke-dashoffset:60}.eco-area{opacity:.12}
}
/* Static captures: show the finished state */
html:not(.anim) .eco-line{stroke-dashoffset:0}

/* E-commerce and leads pages: line spacing aligned on the other inner pages (Trang, 16/11) */
main :is(.section,.case-section,.catalogue-support) p{line-height:1.7}
main .hero .intro{line-height:1.65}
main .section .caption{font-size:14px;line-height:1.6;margin-top:14px}
main .section-head > p:not(.eyebrow){margin-top:24px}
main .pillars h3,main .channel-card h3{margin-bottom:12px}
main .channel-context h3{margin-bottom:8px}
main .channel-context p{margin-top:0}
main .case-section h3{line-height:1.25}
