/* ==========================================================================
   Optimisation conversion (accueil)
   - phrase de réassurance sous le CTA du hero
   - bande blanche entre le hero et les réalisations
   - encart « en ligne avant de vous engager » dans l'offre
   ========================================================================== */

/* ---------- Réassurance sous le CTA du hero ---------- */
.hero-reassurance {
  margin: -0.75rem 0 0;
  text-align: center;
  color: #c7cbd1;
  font-size: 0.95rem;
  line-height: 1.5;
}
.hero-reassurance strong {
  color: #ffffff;
  font-weight: 600;
}

/* ---------- Bande blanche entre le hero et les réalisations ---------- */
.hero-spacer {
  height: 10.5rem;
}
@media screen and (max-width: 767px) {
  .hero-spacer { height: 6rem; }
}

/* ---------- Encart « en ligne avant de vous engager » ---------- */
.offer-highlight {
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.25rem 1.35rem;
  border-radius: 0.75rem;
  border: 1.5px solid #ff4b36;
  background: rgba(255, 75, 54, 0.08);
  box-shadow: 0 0 30px rgba(255, 75, 54, 0.12);
}
.offer-highlight__label {
  display: inline-block;
  margin-bottom: 0.6rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff4b36;
}
.offer-highlight__title {
  margin: 0 0 0.4rem;
  color: #ffffff;
  font-size: 1.15rem;
  line-height: 1.35;
  font-weight: 600;
}
.offer-highlight__text {
  margin: 0;
  color: #c7cbd1;
  font-size: 0.95rem;
  line-height: 1.55;
}

/* CTA de l'offre et du bloc final : même contour orange que le hero */
.section-home-pricing .main-button,
.call-to-action .main-button {
  box-shadow: 0 0 0 3px #ff4b36, 0 0 28px rgba(255, 75, 54, 0.4);
}

/* Titre « Nos réalisations » : le mot « réalisations » en orange de marque */
.section-home-projects .heading-style-h2 .text-color-secondary {
  color: #ff4b36;
}

/* ---------- Services complémentaires : 4 cartes orientées résultat ---------- */
.services-head {
  max-width: 48rem;
}
.services-head .heading-style-h2 { margin-bottom: 1rem; }
.services-accent { color: #ff4b36; }
.services-intro {
  margin: 0;
  color: #5b6068;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.6;
}
.services-cards {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
@media screen and (max-width: 767px) {
  .services-cards { grid-template-columns: 1fr; margin-top: 2rem; }
}
.service-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border-radius: 1.25rem;
  background: #ffffff;
  border: 1px solid rgba(20, 23, 26, 0.08);
  box-shadow: 0 1px 2px rgba(20, 23, 26, 0.04);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover {
  border-color: rgba(255, 75, 54, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(20, 23, 26, 0.08);
}
.service-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.service-card__label { color: #d93a26; }
.service-card__num { color: #a3a8af; }
.service-card__title {
  margin: 0 0 0.75rem;
  color: #14171a;
  font-family: var(--_typography---font-family--primary, inherit);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.1;
  text-transform: uppercase;
}
.service-card__desc {
  margin: 0 0 1.75rem;
  color: #4a4f57;
  font-size: 1rem;
  line-height: 1.6;
}
.service-card__fit {
  margin: auto 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(20, 23, 26, 0.08);
  color: #4a4f57;
  font-size: 0.95rem;
  line-height: 1.5;
}
.service-card__fit strong {
  color: #14171a;
  font-weight: 600;
}
.service-card__fit strong::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: #ff4b36;
  vertical-align: middle;
}
/* Carte « Le socle » mise en avant (sombre, comme les sections de la marque) */
.service-card.is-featured {
  background: #0f1216;
  border-color: rgba(255, 75, 54, 0.45);
}
.service-card.is-featured .service-card__label { color: #ff4b36; }
.service-card.is-featured .service-card__title { color: #ffffff; }
.service-card.is-featured .service-card__desc,
.service-card.is-featured .service-card__fit { color: #c7cbd1; }
.service-card.is-featured .service-card__fit { border-top-color: rgba(255, 255, 255, 0.1); }
.service-card.is-featured .service-card__fit strong { color: #ffffff; }
.services-foot {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: 1.5rem 2rem;
  border-radius: 1rem;
  border: 1px dashed rgba(20, 23, 26, 0.15);
}
.services-foot p { margin: 0; color: #14171a; font-size: 1.05rem; }
.services-foot__link {
  color: #14171a;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid #ff4b36;
  padding-bottom: 2px;
  white-space: nowrap;
}
.services-foot__link:hover { color: #d93a26; }

/* ---------- CTA final (remplace l'ancienne animation Webflow sur 300vh) ---------- */
.final-cta {
  padding: 2rem 10px;
}
.final-cta__panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--_sizes---border-radius--xhuge, 2rem);
  padding: clamp(4rem, 9vw, 7.5rem) 1.5rem;
  text-align: center;
  color: #ffffff;
  background:
    radial-gradient(ellipse 60% 70% at 50% 40%, rgba(255, 75, 54, 0.16) 0%, rgba(255, 75, 54, 0) 60%),
    radial-gradient(ellipse 80% 80% at 50% 45%, #1a1f26 0%, #0f1216 60%, #07090b 100%);
}
.final-cta__eyebrow {
  margin: 0 0 1.5rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff4b36;
}
.final-cta__title {
  margin: 0 auto;
  max-width: 16ch;
  font-family: var(--_typography---font-family--primary, inherit);
  font-size: clamp(2.25rem, 6vw, 4.75rem);
  line-height: 1.02;
  text-transform: uppercase;
  color: #ffffff;
}
.final-cta__title span {
  color: #ff4b36;
  text-shadow: 0 0 24px rgba(255, 75, 54, 0.25);
}
.final-cta__text {
  margin: 1.75rem auto 0;
  max-width: 36rem;
  color: #c7cbd1;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.55;
}
.final-cta__text strong { color: #ffffff; font-weight: 600; }
.final-cta__actions {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.final-cta .main-button {
  box-shadow: 0 0 0 3px #ff4b36, 0 0 28px rgba(255, 75, 54, 0.45);
}
.final-cta__phone {
  color: #c7cbd1;
  font-size: 0.95rem;
  text-decoration: none;
}
.final-cta__phone span {
  color: #ffffff;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 75, 54, 0.8);
}
.final-cta__phone:hover span { color: #ff4b36; }

/* Apparition douce (ajoutée par js/reveal.js seulement) */
.is-reveal-ready {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.is-reveal-ready.is-revealed {
  opacity: 1;
  transform: none;
}

/* Petits écrans : le libellé « Recevoir ma première version » doit tenir dans le bouton */
@media screen and (max-width: 479px) {
  .is-video-hero .main-button,
  .section-home-pricing .main-button,
  .final-cta .main-button {
    max-width: 100%;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    grid-column-gap: 0.5rem;
  }
  .is-video-hero .main-button .button-text,
  .section-home-pricing .main-button .button-text,
  .final-cta .main-button .button-text {
    font-size: 0.8rem;
  }
  .final-cta__panel { padding-left: 1rem; padding-right: 1rem; }
}
@media screen and (max-width: 479px) {
  /* hauteur de la fenêtre du texte = taille du texte (le second libellé, qui défile au survol, reste caché) */
  .is-video-hero .main-button .main-button-block,
  .section-home-pricing .main-button .main-button-block,
  .final-cta .main-button .main-button-block {
    height: 0.8rem;
  }
  /* carte de l'offre plus étroite : un peu moins de marges */
  .section-home-pricing .offer-contact-card { padding: 1.25rem; }
  .section-home-pricing .main-button { padding-left: 1rem; padding-right: 1rem; }
}
@media screen and (max-width: 380px) {
  .section-home-pricing .offer-contact-card { padding: 1rem; }
  .section-home-pricing .main-button .button-text { font-size: 0.75rem; }
  .section-home-pricing .main-button .main-button-block { height: 0.75rem; }
}
@media screen and (max-width: 340px) {
  .is-video-hero .main-button,
  .section-home-pricing .main-button,
  .final-cta .main-button { padding-left: 0.875rem; padding-right: 0.875rem; }
  .is-video-hero .main-button .button-text,
  .section-home-pricing .main-button .button-text,
  .final-cta .main-button .button-text { font-size: 0.7rem; }
  .is-video-hero .main-button .main-button-block,
  .section-home-pricing .main-button .main-button-block,
  .final-cta .main-button .main-button-block { height: 0.7rem; }
  .is-video-hero .main-button .button-icon,
  .section-home-pricing .main-button .button-icon,
  .final-cta .main-button .button-icon { height: 0.9rem; }
}

/* Espace blanc entre « Nos réalisations » et l'offre (deux panneaux sombres) */
.section-home-pricing {
  margin-top: 3rem;
}
@media screen and (max-width: 767px) {
  .section-home-pricing { margin-top: 2rem; }
}

/* ---------- Pied de page compact (3 colonnes, sans espace vide) ---------- */
.site-footer .site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2.5rem 3rem;
  padding: 3.5rem 0 3rem;
  align-items: start;
}
@media screen and (max-width: 767px) {
  .site-footer .site-footer__grid { grid-template-columns: 1fr 1fr; padding: 2.5rem 0 2rem; gap: 2rem 1.5rem; }
  .site-footer__brand { grid-column: 1 / -1; }
}
.site-footer__brand .footer-logo-link { display: inline-block; margin-bottom: 1rem; }
.site-footer__pitch {
  margin: 0 0 1.25rem;
  max-width: 26rem;
  color: #5b6068;
  font-size: 1rem;
  line-height: 1.55;
}
.site-footer__cta {
  display: inline-block;
  color: #14171a;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid #ff4b36;
  padding-bottom: 2px;
}
.site-footer__cta:hover { color: #d93a26; }
.site-footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}
.site-footer__title {
  margin: 0 0 0.25rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8b8b8b;
}
.site-footer__col a {
  color: #14171a;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.site-footer__col a:hover { color: #d93a26; border-bottom-color: #ff4b36; }

/* ---------- Logo Pulse IA (icône de pouls + texte) ---------- */
.logo, .pulse-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  white-space: nowrap;
}
.pulse-mark {
  width: 2.1rem;
  height: 1.6rem;
  flex: none;
  fill: none;
  stroke: #ff4b36;
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(255, 75, 54, .55));
}
.logo-ia { color: #ff4b36; }
.pulse-footer-logo {
  height: auto;
  font-family: var(--_typography---font-family--primary);
  font-size: 1.5rem;
  font-weight: var(--_typography---font-weight--extra-bold);
  text-transform: uppercase;
  color: #14171a;
}
.pulse-footer-logo .pulse-mark { filter: none; }
