/*
Theme Name: Prospection B2B Child
Description: Child theme for GeneratePress holding the Prospection B2B landing page design.
Author: Prospection B2B
Template: generatepress
Version: 1.4
Text Domain: prospection-b2b-child
*/

/* ==========================================================================
   Design tokens
   ========================================================================== */

.pb-page{
  --pb-ink:#172321;
  --pb-muted:#54615d;
  --pb-paper:#fbfaf7;
  --pb-white:#fff;
  --pb-accent:#176b5a;
  --pb-accent-dark:#0d4b40;
  --pb-line:#dce3de;
  --pb-soft:#edf3ef;
  --pb-font-sans:'DM Sans',Arial,sans-serif;
  --pb-font-display:'Newsreader',Georgia,serif;

  /* Full-bleed canvas so the design's paper background reaches the edges. */
  width:100vw;
  max-width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  background:var(--pb-paper);
  color:var(--pb-ink);
  font-family:var(--pb-font-sans);
  font-size:18px;
  font-weight:400;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

html{overflow-x:hidden;overflow-x:clip}

.pb-page,
.pb-page *,
.pb-page *::before,
.pb-page *::after{box-sizing:border-box}

.pb-page a{color:inherit}

/* ==========================================================================
   Layout wrappers
   ========================================================================== */

.pb-page .pb-hero,
.pb-page .pb-section{
  width:min(100% - 64px,1200px);
  margin-inline:auto;
}

.pb-page > .pb-hero,
.pb-page > .pb-section,
.pb-page > .pb-final-cta{margin-top:0;margin-bottom:0}

/* ==========================================================================
   Hero
   ========================================================================== */

.pb-page .pb-hero.wp-block-columns{
  display:grid;
  grid-template-columns:1.08fr .82fr;
  align-items:center;
  gap:clamp(44px,7vw,100px);
  min-height:680px;
  padding:64px 0 58px;
  margin-bottom:0;
}

.pb-page .pb-hero > .wp-block-column{
  flex-basis:auto;
  flex-grow:0;
  width:auto;
  min-width:0;
}

.pb-page .pb-brand{
  margin:0 0 38px;
  color:var(--pb-accent);
  font-size:13px;
  font-weight:800;
  letter-spacing:.035em;
  line-height:1.6;
}

.pb-page .pb-brand .pb-brand-sub{
  color:#65716c;
  font-weight:500;
}

.pb-page .pb-hero h1,
.pb-page .pb-section h2,
.pb-page .pb-final-cta h2{
  color:inherit;
  font-family:var(--pb-font-display);
  font-weight:600;
  letter-spacing:-.045em;
}

.pb-page .pb-hero h1{
  max-width:720px;
  margin:0;
  font-size:clamp(47px,5.4vw,76px);
  line-height:.99;
}

.pb-page .pb-intro{
  max-width:640px;
  margin:24px 0 25px;
  color:#3e4945;
  font-size:18px;
  line-height:1.65;
}

.pb-page .pb-hero-actions{
  display:flex;
  align-items:center;
  gap:22px;
  flex-wrap:wrap;
  margin:0;
}

.pb-page .pb-hero-actions .wp-block-buttons,
.pb-page .pb-hero-actions .wp-block-button{
  margin:0;
}

.pb-page .pb-trust{
  margin:28px 0 0;
  color:var(--pb-muted);
  font-size:18px;
  line-height:1.6;
}

.pb-page .pb-trust-sep{
  margin:0 7px;
  color:var(--pb-accent);
  font-style:normal;
}

/* Hero photo */

.pb-page .pb-hero-media{
  width:100%;
  max-width:420px;
  justify-self:start;
}

.pb-page .pb-photo-placeholder{
  position:relative;
  width:100%;
  max-width:420px;
  aspect-ratio:4/5;
  margin:0;
  overflow:hidden;
  border-radius:4px;
  background:#e8ede9;
  box-shadow:22px 22px 0 var(--pb-soft);
}

.pb-page .pb-photo-placeholder img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 30%;
}

/* ==========================================================================
   Buttons and text links
   ========================================================================== */

.pb-page .wp-block-button__link{
  display:inline-flex;
  min-height:54px;
  align-items:center;
  justify-content:center;
  padding:14px 22px;
  border:1px solid var(--pb-accent);
  border-radius:4px;
  background:var(--pb-accent);
  color:#fff;
  text-decoration:none;
  font-family:var(--pb-font-sans);
  font-size:18px;
  font-weight:700;
  line-height:1.25;
  text-align:center;
  box-shadow:0 6px 16px #176b5a24;
}

.pb-page .wp-block-button__link:hover{
  background:var(--pb-accent-dark);
  color:#fff;
}

.pb-page .pb-text-link{
  margin:0;
  font-size:18px;
  line-height:1.6;
}

.pb-page .pb-text-link a{
  color:var(--pb-accent-dark);
  font-weight:700;
  text-decoration-thickness:1px;
  text-underline-offset:4px;
}

/* ==========================================================================
   Generic sections and section intros
   ========================================================================== */

.pb-page .pb-section{
  padding:100px 0;
  border-top:1px solid var(--pb-line);
}

/* Neutralise WordPress's optional flow-layout gap between section children;
   the design controls all vertical rhythm with explicit margins. */
.pb-page .pb-section > *{
  margin-block-start:0;
}

.pb-page .pb-section-intro{
  display:grid;
  grid-template-columns:62px 1fr;
  gap:20px;
  align-items:start;
  margin-bottom:38px;
}

.pb-page .pb-eyebrow{
  margin:7px 0 0;
  color:var(--pb-accent);
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
  line-height:1.6;
}

.pb-page .pb-section h2,
.pb-page .pb-final-cta h2{
  max-width:850px;
  margin:0;
  font-size:clamp(37px,4.2vw,58px);
  line-height:1.04;
}

/* ==========================================================================
   Lists (shared resets)
   ========================================================================== */

.pb-page .pb-plain-list,
.pb-page .pb-reason-list,
.pb-page .pb-check-list,
.pb-page .pb-steps{
  padding:0;
  margin:0;
  list-style:none;
}

/* ==========================================================================
   02 — Constat
   ========================================================================== */

.pb-page .pb-constat .pb-plain-list{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-left:82px;
}

.pb-page .pb-plain-list li{
  padding:22px 22px 22px 0;
  border-top:2px solid var(--pb-accent);
  font-size:18px;
  font-weight:600;
  line-height:1.6;
}

/* ==========================================================================
   03 — Service
   ========================================================================== */

.pb-page .pb-service-cols{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:70px;
  margin-bottom:0;
}

.pb-page .pb-service-cols > .wp-block-column{
  flex-basis:auto;
  width:auto;
  min-width:0;
}

.pb-page .pb-service .pb-service-intro{
  display:block;
  margin:0;
}

.pb-page .pb-service .pb-service-intro .pb-eyebrow{
  margin-bottom:20px;
}

.pb-page .pb-service-copy > p{
  margin:0 0 24px;
  color:#394541;
  font-size:18px;
  line-height:1.7;
}

.pb-page .pb-check-list{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px 22px;
}

.pb-page .pb-check-list li{
  position:relative;
  padding:13px 0 13px 25px;
  border-top:1px solid var(--pb-line);
  font-size:18px;
  line-height:1.6;
}

.pb-page .pb-check-list li:before{
  content:"";
  position:absolute;
  left:0;
  top:21px;
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--pb-accent);
}

/* ==========================================================================
   04 — Méthode
   ========================================================================== */

.pb-page .pb-method .pb-section-intro{
  margin-bottom:48px;
}

.pb-page .pb-steps{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.pb-page .pb-steps li{
  min-height:206px;
  padding:25px 22px;
  border:1px solid var(--pb-line);
  background:#fff;
}

.pb-page .pb-step-no{
  display:grid;
  width:38px;
  height:38px;
  place-items:center;
  margin-bottom:22px;
  border-radius:50%;
  background:var(--pb-soft);
  color:var(--pb-accent-dark);
  font-weight:800;
}

.pb-page .pb-steps p{
  margin:0;
  font-size:18px;
  line-height:1.6;
}

/* ==========================================================================
   05 — Résultats
   ========================================================================== */

.pb-page .pb-results{
  background:transparent;
}

.pb-page .pb-metrics{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;
  margin-bottom:0;
  border-top:1px solid var(--pb-line);
  border-bottom:1px solid var(--pb-line);
}

.pb-page .pb-metric{
  min-height:190px;
  margin:0;
  padding:26px 22px;
  border-right:1px solid var(--pb-line);
}

.pb-page .pb-metric:last-child{
  border:0;
}

.pb-page .pb-metric-value{
  margin:0;
}

.pb-page .pb-metric strong{
  display:block;
  margin-bottom:12px;
  color:var(--pb-accent);
  font-family:var(--pb-font-display);
  font-size:clamp(56px,5vw,64px);
  line-height:1;
  letter-spacing:-.04em;
  white-space:nowrap;
}

.pb-page .pb-metric-label{
  margin:0;
  color:#394541;
  font-size:14px;
  line-height:1.45;
}

.pb-page .pb-fine-print{
  margin:20px 0 0;
  color:#68736f;
  font-size:18px;
  line-height:1.6;
}

/* ==========================================================================
   06 — Pourquoi moi
   ========================================================================== */

.pb-page .pb-reason-list{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0 54px;
}

.pb-page .pb-reason-list li{
  padding:22px 0;
  border-top:1px solid var(--pb-line);
  font-size:18px;
  line-height:1.6;
}

/* ==========================================================================
   07 — Offre et tarifs
   ========================================================================== */

.pb-page .pb-pricing{
  background:#f1f4f0;
  padding-inline:clamp(24px,4vw,54px);
}

.pb-page .pb-price-cards{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  align-items:stretch;
  margin-bottom:0;
}

.pb-page .pb-price-card{
  min-height:296px;
  margin:0;
  padding:26px 26px 28px;
  border:1px solid #cbd7d0;
  background:#fff;
}

.pb-page .pb-price-card.pb-featured{
  border:2px solid var(--pb-accent);
  background:var(--pb-accent-dark);
  color:#fff;
}

.pb-page .pb-price-card h3{
  margin:0 0 20px;
  color:inherit;
  font-family:var(--pb-font-sans);
  font-size:20px;
  font-weight:700;
  line-height:1.6;
}

.pb-page .pb-price-card .pb-price{
  margin:0 0 22px;
  color:var(--pb-accent);
  font-family:var(--pb-font-display);
  font-size:42px;
  font-weight:700;
  letter-spacing:-.035em;
  line-height:1;
}

/* Unit-bearing prices must never wrap; "à confirmer" may wrap normally. */
.pb-page .pb-price-card .pb-price-nowrap{
  white-space:nowrap;
}

.pb-page .pb-price-card.pb-featured .pb-price{
  color:#fff;
}

.pb-page .pb-price-card .pb-price-desc{
  margin:0;
  color:inherit;
  font-size:18px;
  line-height:1.6;
}

.pb-page .pb-pricing-action{
  margin-top:30px;
  text-align:center;
}

.pb-page .pb-pricing-action .wp-block-buttons{
  margin:0;
  justify-content:center;
}

/* ==========================================================================
   08 — Cadre suisse
   ========================================================================== */

.pb-page .pb-compliance-cols{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:70px;
  margin-bottom:0;
}

.pb-page .pb-compliance-cols > .wp-block-column{
  flex-basis:auto;
  width:auto;
  min-width:0;
}

.pb-page .pb-compliance .pb-compliance-intro{
  display:block;
  margin:0;
}

.pb-page .pb-compliance .pb-compliance-intro .pb-eyebrow{
  margin-bottom:18px;
}

.pb-page .pb-compliance-copy > p{
  margin:0 0 20px;
  color:#394541;
  font-size:18px;
  line-height:1.7;
}

.pb-page .pb-compliance-copy .pb-text-link{
  margin:0;
}

/* ==========================================================================
   09 — FAQ
   ========================================================================== */

.pb-page .pb-faq-list{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0 40px;
  margin-bottom:0;
}

.pb-page .pb-faq-item{
  margin:0;
  padding:20px 0;
  border-top:1px solid var(--pb-line);
}

.pb-page .pb-faq-item h3{
  margin:0 0 8px;
  color:inherit;
  font-family:var(--pb-font-sans);
  font-size:18px;
  font-weight:700;
  line-height:1.6;
}

.pb-page .pb-faq-item p{
  margin:0;
  color:#4e5955;
  font-size:18px;
  line-height:1.6;
}

/* ==========================================================================
   10 — Final CTA
   ========================================================================== */

.pb-page .pb-final-cta{
  width:100%;
  max-width:none;
  padding:92px max(32px,calc((100vw - 1200px)/2));
  background:var(--pb-accent-dark);
  color:#fff;
}

.pb-page .pb-final-cta .pb-eyebrow{
  margin:0 0 20px;
  color:#b9d7cb;
}

.pb-page .pb-final-cta h2{
  max-width:760px;
  margin-bottom:18px;
}

.pb-page .pb-final-cta > p:not(.pb-eyebrow){
  max-width:700px;
  margin:0 0 27px;
  color:#edf5f1;
  font-size:18px;
  line-height:1.6;
}

.pb-page .pb-final-cta .wp-block-button__link{
  border-color:#fff;
  background:#fff;
  color:var(--pb-accent-dark);
  box-shadow:none;
}

.pb-page .pb-final-cta .wp-block-button__link:hover{
  border-color:#fff;
  background:#fff;
  color:var(--pb-accent-dark);
}

.pb-page .pb-final-cta .pb-text-link a{
  color:#fff;
}

/* ==========================================================================
   Mobile (design breakpoint: 760px)
   ========================================================================== */

@media(max-width:760px){
  .pb-page .pb-hero,
  .pb-page .pb-section{
    width:min(100% - 40px,600px);
  }

  .pb-page .pb-hero.wp-block-columns{
    grid-template-columns:1fr;
    gap:28px;
    min-height:0;
    padding:32px 0 44px;
  }

  .pb-page .pb-hero-copy{
    display:contents;
  }

  .pb-page .pb-hero-media{
    order:-1;
    grid-row:1;
    width:100%;
    max-width:none;
  }

  .pb-page .pb-brand{
    grid-row:2;
    margin-bottom:25px;
    font-size:12px;
  }

  .pb-page .pb-hero h1{
    grid-row:3;
    font-size:clamp(42px,11vw,58px);
  }

  .pb-page .pb-intro{
    grid-row:4;
    margin:18px 0;
    font-size:17px;
    line-height:1.6;
  }

  .pb-page .pb-hero-actions{
    grid-row:5;
    align-items:flex-start;
    gap:14px;
    flex-direction:column;
  }

  .pb-page .pb-trust{
    grid-row:6;
    margin-top:23px;
    font-size:17px;
    line-height:1.6;
  }

  .pb-page .pb-photo-placeholder{
    max-width:none;
    aspect-ratio:1.45/1;
    box-shadow:10px 10px 0 var(--pb-soft);
  }

  .pb-page .pb-section{
    padding:64px 0;
  }

  .pb-page .pb-section-intro{
    grid-template-columns:34px 1fr;
    gap:12px;
    margin-bottom:26px;
  }

  .pb-page .pb-eyebrow{
    font-size:11px;
  }

  .pb-page .pb-section h2,
  .pb-page .pb-final-cta h2{
    font-size:clamp(34px,9vw,44px);
  }

  .pb-page .pb-constat .pb-plain-list{
    grid-template-columns:1fr;
    margin-left:46px;
    gap:12px;
  }

  .pb-page .pb-plain-list li{
    padding:15px 0;
    font-size:17px;
    line-height:1.6;
  }

  .pb-page .pb-service-cols{
    grid-template-columns:1fr;
    gap:22px;
  }

  .pb-page .pb-service-copy > p,
  .pb-page .pb-compliance-copy > p,
  .pb-page .pb-final-cta > p{
    font-size:17px;
    line-height:1.6;
  }

  .pb-page .pb-check-list{
    grid-template-columns:1fr;
    gap:0;
  }

  .pb-page .pb-steps{
    grid-template-columns:1fr 1fr;
    gap:10px;
  }

  .pb-page .pb-steps li{
    min-height:0;
    padding:17px 15px;
  }

  .pb-page .pb-step-no{
    margin-bottom:14px;
  }

  .pb-page .pb-steps p{
    font-size:17px;
    line-height:1.6;
  }

  .pb-page .pb-metrics{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .pb-page .pb-metric{
    min-height:155px;
    padding:21px 14px;
    border-bottom:1px solid var(--pb-line);
  }

  .pb-page .pb-metric:nth-child(2){
    border-right:0;
  }

  .pb-page .pb-metric:nth-last-child(-n+2){
    border-bottom:0;
  }

  .pb-page .pb-metric strong{
    font-size:40px;
  }

  .pb-page .pb-metric-label{
    font-size:13px;
  }

  .pb-page .pb-reason-list{
    grid-template-columns:1fr;
  }

  .pb-page .pb-reason-list li{
    padding:17px 0;
    font-size:17px;
    line-height:1.6;
  }

  .pb-page .pb-pricing{
    width:100%;
    padding:58px 20px;
  }

  .pb-page .pb-pricing .pb-section-intro,
  .pb-page .pb-pricing .pb-price-cards{
    width:min(100%,600px);
    margin-inline:auto;
  }

  .pb-page .pb-pricing .pb-section-intro{
    grid-template-columns:34px 1fr;
  }

  .pb-page .pb-price-cards{
    grid-template-columns:1fr;
    gap:12px;
  }

  .pb-page .pb-price-card{
    min-height:0;
    padding:22px;
  }

  .pb-page .pb-price-card h3{
    margin-bottom:12px;
  }

  .pb-page .pb-price-card .pb-price{
    margin-bottom:14px;
    font-size:36px;
  }

  .pb-page .pb-price-card .pb-price-desc{
    font-size:17px;
    line-height:1.6;
  }

  .pb-page .pb-pricing-action{
    width:min(100%,600px);
    margin:22px auto 0;
  }

  .pb-page .pb-compliance-cols{
    grid-template-columns:1fr;
    gap:15px;
  }

  .pb-page .pb-faq-list{
    grid-template-columns:1fr;
    gap:0;
  }

  .pb-page .pb-faq-item{
    padding:16px 0;
  }

  .pb-page .pb-faq-item h3{
    font-size:17px;
    line-height:1.6;
  }

  .pb-page .pb-faq-item p{
    font-size:17px;
    line-height:1.6;
  }

  .pb-page .pb-final-cta{
    padding:64px 20px;
  }

  .pb-page .pb-fine-print{
    font-size:17px;
    line-height:1.6;
  }

  .pb-page .wp-block-button,
  .pb-page .wp-block-buttons{
    width:100%;
  }

  .pb-page .wp-block-button__link{
    width:100%;
    min-height:52px;
  }
}

/* Narrow desktop: four metrics / three cards per row are tight. A small
   reduction keeps the columns equal while the unit values stay on one line. */
@media(min-width:761px) and (max-width:800px){
  .pb-page .pb-metric strong{
    font-size:52px;
  }

  .pb-page .pb-price-card .pb-price{
    font-size:38px;
  }
}

@media(prefers-reduced-motion:no-preference){
  html{scroll-behavior:auto}
}

/* Home page: let the pb-page design use the full width (no GeneratePress box). */
.home .site-content,
.home.separate-containers .site-main,
.home .inside-article,
.home .entry-content{
  margin:0 !important;
  padding:0 !important;
  background:transparent;
}
.home .site.grid-container,
.home .site-content > .content-area{
  max-width:none;
  width:100%;
}
.home .entry-content > .pb-page{
  margin-top:0;
}

/* GeneratePress is a classic theme: WordPress wraps each group block's children in
   .wp-block-group__inner-container. Make that wrapper layout-neutral so the pb-
   grids apply to the real children. */
.pb-page .wp-block-group__inner-container{
  display:contents;
}

/* Beat GeneratePress's default button colour (a.wp-block-button__link:not(.has-background)). */
.pb-page .wp-block-button a.wp-block-button__link{
  background:var(--pb-accent);
  border-color:var(--pb-accent);
  color:#fff;
}
.pb-page .wp-block-button a.wp-block-button__link:hover,
.pb-page .wp-block-button a.wp-block-button__link:focus{
  background:var(--pb-accent-dark);
  border-color:var(--pb-accent-dark);
  color:#fff;
}
.pb-page .pb-final-cta .wp-block-button a.wp-block-button__link{
  background:#fff;
  border-color:#fff;
  color:var(--pb-accent-dark);
}
.pb-page .pb-final-cta .wp-block-button a.wp-block-button__link:hover,
.pb-page .pb-final-cta .wp-block-button a.wp-block-button__link:focus{
  background:var(--pb-soft);
  border-color:var(--pb-soft);
  color:var(--pb-accent-dark);
}
