/* KA PAIE Consulting — thème WordPress. Design system « Horizons ». */

:root {
  --navy: #0b1e3d;
  --blue: #2e8bd4;
  --white: #ffffff;
  --ink-muted: #5b6779;
  --pale: #f3f6f9;
  --line: #dce3eb;
  --radius: 3px;
  --font-head: "Libre Baskerville", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", Arial, sans-serif;
  --container: 1440px;

  /* Alias de compatibilité (chatbot, avis, formulaire). */
  --accent: var(--blue);
  --text: var(--navy);
  --muted: var(--ink-muted);
  --bg-soft: var(--pale);
  --card: var(--white);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2 {
  font-family: var(--font-head);
  font-weight: 400;
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(30px, 3.3vw, 46px);
  line-height: 1.3;
}

h2 em,
h1 em {
  font-style: italic;
}

h2 em {
  color: var(--blue);
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--blue);
  color: var(--white);
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

.eyebrow {
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 24px;
  line-height: 1.6;
}

.eyebrow.light {
  color: #b8d6ec;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 53px;
  padding: 15px 24px;
  background: var(--blue);
  color: var(--white);
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 700;
  transition: background 180ms ease-out, transform 180ms ease-out;
}

.button:hover {
  background: #2375b5;
}

.button:active {
  transform: scale(0.98);
}

.button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.button svg {
  flex-shrink: 0;
}

.white-button {
  background: var(--white);
  color: var(--navy);
  min-width: 225px;
}

.white-button:hover {
  background: #e4edf6;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 0;
  border-bottom: 1px solid #a6bfd3;
  transition: color 180ms;
}

.text-link:hover {
  color: var(--blue);
}

.text-link.white {
  color: var(--white);
  border-color: #9dabbc;
}

.text-link svg {
  flex-shrink: 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 50;
  background: var(--white);
  padding: 12px;
}

.skip-link:focus {
  top: 10px;
}

/* En-tête ---------------------------------------------------------------- */

.site-header {
  height: 94px;
  padding: 0 max(5.8vw, 24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 23px;
}

.brand-logo {
  height: 48px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.brand-type {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.9px;
  line-height: 1.15;
  font-family: var(--font-body);
  color: var(--navy);
}

.brand-type > span {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 4.2px;
  margin-top: 5px;
}

.main-nav {
  display: flex;
  gap: 34px;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
}

.nav-menu {
  display: flex;
  gap: 34px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  position: relative;
  display: block;
  padding: 17px 0;
  color: inherit;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 180ms ease-out;
}

.nav-menu .current-menu-item > a::after,
.nav-menu .current_page_item > a::after,
.nav-menu .current-menu-parent > a::after,
.nav-menu a:hover::after {
  width: 100%;
}

.nav-cta {
  margin-left: 12px;
  min-height: 46px;
  padding: 12px 19px;
  gap: 22px;
}

.menu-toggle,
.mobile-phone {
  display: none;
}

/* Hero ------------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  min-height: max(670px, calc(100dvh - 94px));
  display: flex;
  align-items: center;
  color: var(--white);
  background: var(--navy);
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -3;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, rgba(11, 30, 61, 0.99) 0%, rgba(11, 30, 61, 0.93) 26%, rgba(11, 30, 61, 0.55) 51%, rgba(11, 30, 61, 0.04) 85%), linear-gradient(0deg, rgba(11, 30, 61, 0.45), transparent 30%);
}

.hero-content {
  padding: 65px 7.5vw 85px;
  width: 100%;
  animation: entrance 650ms ease-out both;
}

.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 27px;
}

.hero .eyebrow span {
  width: 6px;
  height: 6px;
  background: #70bdec;
  border-radius: 50%;
}

.hero h1 {
  font-size: clamp(45px, 5.1vw, 73px);
  line-height: 1.21;
  letter-spacing: -0.05em;
  text-align: left;
}

.hero h1 em {
  color: #87c4ed;
}

.hero-description {
  color: #e2e7ef;
  font-size: 14px;
  line-height: 1.9;
  margin-top: 27px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 29px;
  margin-top: 32px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c5cedb;
  font-size: 10px;
  margin-top: 21px;
}

.hero-note svg {
  flex-shrink: 0;
}

.hero-caption {
  position: absolute;
  right: 7.5vw;
  bottom: 32px;
  font-size: 10px;
  color: var(--white);
  letter-spacing: 0.4px;
}

.hero-caption span {
  color: #b4d9f2;
  margin-right: 12px;
}

.hero-scroll {
  position: absolute;
  bottom: 27px;
  left: 7.5vw;
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border: 1px solid #7890a9;
  border-radius: 50%;
  color: var(--white);
}

/* Bandeau de confiance (chiffres) ---------------------------------------- */

.trust-strip {
  padding: 32px 7.5vw;
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 1fr;
  background: var(--pale);
  border-bottom: 1px solid var(--line);
}

.trust-strip > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-right: 1px solid #d3dde8;
  color: var(--ink-muted);
  font-size: 11px;
  line-height: 1.7;
}

.trust-strip > div:first-child {
  justify-content: flex-start;
}

.trust-strip > div:last-child {
  border: none;
}

.trust-strip svg {
  color: var(--blue);
  width: 27px;
  height: 27px;
  stroke-width: 1.4;
  flex-shrink: 0;
}

.trust-strip strong {
  color: var(--navy);
  font-weight: 600;
}

.trust-number {
  font-family: var(--font-head);
  color: var(--navy);
  font-size: 36px;
  letter-spacing: -2px;
  white-space: nowrap;
}

.trust-number small {
  font-size: 14px;
  letter-spacing: -0.5px;
}

.silae {
  font-size: 27px;
  letter-spacing: -1.2px;
  line-height: 1;
}

/* Services --------------------------------------------------------------- */

.services-section {
  max-width: 1440px;
  margin: auto;
  padding: 100px 7.5vw 105px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  align-items: flex-end;
  margin-bottom: 45px;
}

.section-heading .eyebrow {
  margin-bottom: 18px;
}

.section-intro {
  max-width: 360px;
  padding-bottom: 5px;
}

.section-intro p {
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.9;
  margin-bottom: 16px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  background: var(--pale);
  padding: 30px;
  border: 1px solid #e8edf3;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  transition: border-color 180ms ease-out, transform 180ms ease-out;
  scroll-margin-top: 25px;
}

.service-card:hover {
  border-color: #89b9de;
  transform: translateY(-3px);
}

.service-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--blue);
  margin-bottom: 34px;
}

.service-card-top span {
  color: #77869a;
  font-size: 10px;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.service-card p {
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.9;
  margin-bottom: 24px;
}

.service-more {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 11px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.service-more svg {
  color: var(--blue);
}

/* À propos --------------------------------------------------------------- */

.about-section {
  padding: 70px 7.5vw 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  background: var(--pale);
  align-items: center;
}

.about-photo {
  position: relative;
  margin: 25px 25px 10px 0;
}

.about-photo img {
  width: 100%;
  aspect-ratio: 1.08;
  object-fit: cover;
  object-position: 60%;
  box-shadow: -17px 17px 0 #e4ebf2;
}

.about-photo > p {
  margin-top: 29px;
  color: var(--ink-muted);
  font-size: 10px;
  letter-spacing: 0.5px;
}

.experience-stamp {
  position: absolute;
  top: -26px;
  right: -26px;
  background: var(--navy);
  color: var(--white);
  padding: 22px 23px;
  width: 121px;
  box-shadow: 6px 6px 0 #d4e5f2;
}

.experience-stamp strong {
  display: block;
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
}

.experience-stamp span {
  display: block;
  font-size: 9px;
  line-height: 1.7;
  letter-spacing: 1.7px;
  margin-top: 7px;
}

.about-copy h2 {
  margin-bottom: 24px;
}

.about-copy > p:not(.eyebrow) {
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 1.95;
  margin-bottom: 15px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 25px 0;
  display: grid;
  gap: 13px;
  font-size: 11px;
  font-weight: 600;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.check-list svg {
  color: var(--blue);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Bannière contact ------------------------------------------------------- */

.contact-banner {
  background: var(--navy);
  color: var(--white);
  padding: 68px 7.5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  position: relative;
  overflow: hidden;
}

.contact-banner::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid #203959;
  right: -175px;
  bottom: -180px;
  transform: rotate(45deg);
  pointer-events: none;
}

.contact-banner .eyebrow {
  margin-bottom: 16px;
}

.contact-banner h2 {
  font-size: clamp(27px, 2.6vw, 36px);
  line-height: 1.5;
}

.contact-banner h2 em {
  color: #87c4ed;
}

.contact-banner > div:last-of-type {
  text-align: center;
  flex-shrink: 0;
}

.contact-banner > div > p:last-child:not(.eyebrow) {
  font-size: 9px;
  color: #b8c4d4;
  margin-top: 12px;
}

/* Logos clients (bandeau défilant) --------------------------------------- */

.clients-section {
  max-width: 1440px;
  margin: auto;
  padding: 80px 7.5vw 20px;
  text-align: center;
}

.clients-section .eyebrow {
  margin-bottom: 14px;
}

.clients-section h2 {
  margin-bottom: 40px;
}

.clients-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.clients-track {
  list-style: none;
  margin: 0;
  padding: 12px 0;
  display: flex;
  align-items: stretch;
  gap: 20px;
  width: max-content;
  animation: marquee 48s linear infinite;
}

.clients-marquee:hover .clients-track {
  animation-play-state: paused;
}

.client-logo {
  flex: 0 0 auto;
  width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  min-height: 110px;
}

.client-logo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
}

/* Avis Google (bandeau défilant) ----------------------------------------- */

.reviews-section {
  background: var(--pale);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 80px 0 85px;
}

.reviews-head {
  max-width: 1440px;
  margin: 0 auto 36px;
  padding: 0 7.5vw;
  text-align: center;
}

.reviews-head .eyebrow {
  margin-bottom: 14px;
}

.reviews-summary {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  color: var(--navy);
  font-size: 15px;
}

.reviews-summary strong {
  font-size: 20px;
}

.reviews-summary .g-mark {
  transform: translateY(2px);
}

.reviews-count {
  color: var(--ink-muted);
}

.stars {
  --pct: 100%;
  display: inline-block;
  line-height: 1;
  font-size: 18px;
  letter-spacing: 2px;
}

.stars::before {
  content: "★★★★★";
  background: linear-gradient(90deg, #fbbc04 var(--pct), #d9dde3 var(--pct));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.reviews-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.reviews-track {
  list-style: none;
  margin: 0;
  padding: 8px 7.5vw;
  display: flex;
  align-items: stretch;
  gap: 20px;
  width: max-content;
  animation: marquee 70s linear infinite;
}

.reviews-marquee:hover .reviews-track {
  animation-play-state: paused;
}

.review {
  flex: 0 0 auto;
  width: 340px;
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}

.review-avatar--initial {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
}

.review-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  margin-right: auto;
}

.review-author {
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
}

.review .g-mark {
  flex: 0 0 auto;
}

.review-text {
  margin: 0;
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 1.85;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.reviews-cta {
  text-align: center;
  margin-top: 40px;
}

/* Logo Silae (badge) ----------------------------------------------------- */

.silae-partner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 10px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.silae-partner span {
  font-size: 11px;
  color: var(--ink-muted);
  font-weight: 600;
}

.silae-partner img {
  display: block;
  height: 24px;
  width: auto;
}

/* Pied de page ----------------------------------------------------------- */

.site-footer {
  padding: 53px 7.5vw 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 50px;
  padding-bottom: 40px;
}

.footer-brand {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--navy);
}

.footer-main p {
  font-size: 11px;
  line-height: 1.9;
  color: var(--ink-muted);
  margin-top: 14px;
}

.footer-label {
  display: block;
  color: var(--ink-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
}

.footer-main > div > a:not(.footer-brand) {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  margin-bottom: 12px;
}

.footer-main a:hover,
.footer-bottom a:hover {
  color: var(--blue);
}

.footer-location {
  font-size: 10px;
  color: var(--ink-muted);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 9px;
  color: var(--ink-muted);
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

/* En-tête de page interne ------------------------------------------------ */

.page-heading {
  background: var(--pale);
  padding: 68px 7.5vw 72px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.page-heading .eyebrow {
  margin-bottom: 20px;
}

.page-heading h1 {
  font-family: var(--font-head);
  font-weight: 400;
  letter-spacing: -0.045em;
  font-size: clamp(35px, 4vw, 55px);
  line-height: 1.35;
  max-width: 900px;
  margin: auto;
}

.page-heading > p:last-child {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.9;
  margin: 22px auto 0;
  max-width: 610px;
}

/* Contact ---------------------------------------------------------------- */

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: 7vw;
  padding: 75px 7.5vw 100px;
  max-width: 1440px;
  margin: auto;
}

.contact-details h2 {
  margin-bottom: 24px;
  font-size: clamp(31px, 3vw, 42px);
}

.contact-details > p:not(.eyebrow) {
  font-size: 13px;
  line-height: 1.9;
  color: var(--ink-muted);
  margin-bottom: 34px;
}

.contact-details > a {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  margin-bottom: 25px;
}

.contact-details > a svg {
  color: var(--blue);
  flex-shrink: 0;
  width: 22px;
}

.contact-details small {
  display: block;
  margin-bottom: 7px;
  font-size: 9px;
  letter-spacing: 1.3px;
  font-weight: 700;
  color: var(--ink-muted);
}

.contact-reassurance {
  display: flex;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  margin-top: 34px;
  color: var(--ink-muted);
}

.contact-reassurance svg {
  flex-shrink: 0;
  color: var(--blue);
}

.contact-reassurance p {
  font-size: 10px;
  line-height: 1.9;
}

.contact-details > a.whatsapp-link {
  background: #e9f9ef;
  border: 1px solid #bfe8cd;
  border-radius: 6px;
  padding: 13px 16px;
}

.contact-details > a.whatsapp-link svg {
  flex-shrink: 0;
}

.footer-main > div > a svg {
  flex-shrink: 0;
}

.form-panel {
  border: 1px solid var(--line);
  padding: 32px;
  background: var(--white);
  box-shadow: 7px 7px 0 var(--pale);
  border-radius: 3px;
}

.form-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}

.form-heading h3 {
  font-size: 20px;
  font-weight: 700;
}

.form-heading span {
  color: var(--ink-muted);
  font-size: 9px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 23px 18px;
}

.form-grid label,
.message-label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-weight: 600;
  font-size: 11px;
}

.form-grid input,
.form-grid select,
.form-panel textarea {
  width: 100%;
  padding: 12px 13px;
  min-height: 45px;
  border: 1px solid var(--line);
  background: #fafbfd;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 400;
  color: var(--navy);
}

input::placeholder,
textarea::placeholder {
  color: #778291;
}

.message-label {
  margin-top: 23px;
}

.form-panel textarea {
  resize: vertical;
  line-height: 1.8;
  min-height: 120px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 9px;
  color: var(--ink-muted);
  line-height: 1.85;
  margin: 23px 0;
}

.consent input {
  margin-top: 4px;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  accent-color: var(--blue);
}

.consent a {
  color: var(--blue);
  text-decoration: underline;
}

.form-status {
  font-size: 12px;
  line-height: 1.7;
  margin-top: 16px;
}

.form-status.is-error {
  background: #fff0ef;
  color: #9a2d26;
  padding: 12px;
}

.form-status.is-error a {
  color: #9a2d26;
  text-decoration: underline;
}

.form-status.is-success {
  background: #eef7f0;
  color: #1f6b3a;
  padding: 12px;
}

.submit-button {
  width: 100%;
  margin-top: 6px;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Contenu légal / texte -------------------------------------------------- */

.legal-content {
  max-width: 850px;
  margin: 0 auto;
  padding: 65px 25px 90px;
}

.legal-content h2 {
  font-size: 27px;
  margin: 25px 0;
}

.legal-content h3 {
  font-size: 17px;
  font-family: var(--font-body);
  font-weight: 700;
  margin: 27px 0 12px;
}

.legal-content p {
  font-size: 13px;
  line-height: 1.95;
  color: var(--ink-muted);
  margin-bottom: 20px;
}

.legal-content a {
  color: var(--blue);
}

.legal-content ul,
.legal-content ol {
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.95;
  margin: 0 0 20px;
  padding-left: 22px;
}

.legal-content li {
  margin-bottom: 8px;
}

.faq {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--pale);
  padding: 4px 18px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
  padding: 14px 0;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details[open] summary {
  color: var(--blue);
}

.faq p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--ink-muted);
  padding: 0 0 16px;
  margin: 0;
}

/* Blog ------------------------------------------------------------------- */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 180ms ease-out, transform 180ms ease-out;
}

.post-card:hover {
  border-color: #89b9de;
  transform: translateY(-3px);
}

.post-thumb {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--pale);
}

.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-meta {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.post-card h3 {
  font-family: var(--font-head);
  font-weight: 400;
  letter-spacing: -0.02em;
  font-size: 22px;
  line-height: 1.3;
  margin-bottom: 12px;
}

.post-card h3 a {
  color: var(--navy);
}

.post-card h3 a:hover {
  color: var(--blue);
}

.post-excerpt {
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink-muted);
  margin-bottom: 20px;
}

.post-card .service-more {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.blog-pagination {
  margin-top: 50px;
  text-align: center;
}

.blog-pagination .page-numbers {
  display: inline-block;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 3px 6px;
}

.blog-pagination .page-numbers.current {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.blog-pagination a.page-numbers:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.single-article {
  max-width: 780px;
  margin: 0 auto;
  padding: 58px 25px 30px;
}

.single-thumb {
  margin-bottom: 38px;
  border-radius: var(--radius);
  overflow: hidden;
}

.single-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.article-body p {
  font-size: 15px;
  line-height: 1.9;
  color: #2b3442;
  margin-bottom: 22px;
}

.article-body h2 {
  font-size: 28px;
  margin: 38px 0 16px;
}

.article-body h3 {
  font-size: 20px;
  font-family: var(--font-body);
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--navy);
}

.article-body ul,
.article-body ol {
  color: #2b3442;
  font-size: 15px;
  line-height: 1.9;
  margin: 0 0 22px;
  padding-left: 22px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 12px 0;
}

.article-body a {
  color: var(--blue);
  text-decoration: underline;
}

.article-body blockquote {
  margin: 24px 0;
  padding: 6px 22px;
  border-left: 3px solid var(--blue);
  color: var(--ink-muted);
  font-style: italic;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-weight: 700;
  font-size: 13px;
  color: var(--blue);
}

@media (max-width: 1000px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* Animations ------------------------------------------------------------- */

@keyframes entrance {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.spinner {
  animation: spin 1s linear infinite;
}

/* Responsive ------------------------------------------------------------- */

@media (min-width: 1600px) {
  .hero-content {
    padding-left: max(7.5vw, calc((100vw - 1360px) / 2));
  }
}

@media (max-width: 1000px) {
  .main-nav {
    gap: 23px;
  }
  .site-header {
    padding: 0 30px;
  }
  .nav-cta {
    margin-left: 0;
    gap: 12px;
  }
  .brand-type {
    font-size: 21px;
  }
  .services-section,
  .about-section,
  .contact-layout,
  .clients-section {
    padding-left: 5vw;
    padding-right: 5vw;
  }
  .service-card {
    padding: 24px;
  }
  .contact-layout {
    gap: 4vw;
  }
  .form-panel {
    padding: 25px;
  }
  .contact-banner {
    padding-left: 5vw;
    padding-right: 5vw;
  }
  .contact-banner h2 {
    font-size: 29px;
  }
  .trust-strip {
    padding-left: 5vw;
    padding-right: 5vw;
  }
  .trust-strip > div {
    gap: 12px;
  }
  .reviews-head {
    padding-left: 5vw;
    padding-right: 5vw;
  }
  .reviews-track {
    padding-left: 5vw;
    padding-right: 5vw;
  }
}

@media (max-width: 1000px) {
  .hero {
    text-align: center;
  }
  .hero-shade {
    background: linear-gradient(0deg, rgba(11, 30, 61, 0.82), rgba(11, 30, 61, 0.64));
  }
  .hero-content {
    text-align: center;
    padding-left: 7vw;
    padding-right: 7vw;
  }
  .hero h1 {
    text-align: center;
    font-size: clamp(38px, 6.4vw, 56px);
  }
  .hero .eyebrow {
    justify-content: center;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
    max-width: 540px;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-note {
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 80px;
    padding: 0 25px;
  }
  .brand {
    gap: 19px;
  }
  .brand-logo {
    height: 38px;
  }
  .brand-type {
    font-size: 20px;
  }
  .brand-type > span {
    font-size: 7px;
    letter-spacing: 3.6px;
  }
  .menu-toggle {
    display: grid;
    place-items: center;
    background: none;
    border: none;
    width: 44px;
    height: 44px;
    color: var(--navy);
  }
  .site-header {
    justify-content: flex-start;
  }
  .brand {
    margin-right: auto;
  }
  .mobile-phone {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-left: 0;
    color: var(--blue);
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 25px 30px;
    box-shadow: 0 9px 15px #0b1e3d12;
  }
  .main-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
  }
  .main-nav.is-open .nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    width: 100%;
  }
  .nav-menu a {
    padding: 14px 0;
  }
  .nav-menu .current-menu-item > a::after,
  .nav-menu .current_page_item > a::after {
    width: 32px;
  }
  .nav-cta {
    margin-top: 12px;
  }
  .hero {
    min-height: max(680px, calc(100dvh - 80px));
    align-items: center;
  }
  .hero-image {
    object-position: 64%;
  }
  .hero-shade {
    background: linear-gradient(0deg, rgba(11, 30, 61, 0.84), rgba(11, 30, 61, 0.66));
  }
  .hero-content {
    padding: 65px 7vw 85px;
  }
  .hero h1 {
    font-size: clamp(34px, 8vw, 46px);
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 1.4px;
  }
  .hero-description {
    font-size: 13px;
    margin-top: 24px;
  }
  .hero-actions {
    align-items: center;
    flex-direction: column;
    gap: 14px;
    margin-top: 27px;
  }
  .hero-note {
    font-size: 8px;
    margin-top: 20px;
  }
  .hero-caption {
    right: 7vw;
    bottom: 29px;
    font-size: 8px;
  }
  .hero-scroll {
    left: 7vw;
  }
  .trust-strip {
    grid-template-columns: 1fr 1fr;
    padding: 25px 7vw;
    gap: 24px 0;
  }
  .trust-strip > div {
    font-size: 10px;
    justify-content: flex-start;
    padding-left: 16px;
    gap: 12px;
  }
  .trust-strip > div:nth-child(odd) {
    padding-left: 0;
  }
  .trust-strip > div:nth-child(even) {
    border: 0;
  }
  .trust-number {
    font-size: 30px;
  }
  .services-section {
    padding: 62px 7vw;
  }
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 30px;
  }
  .section-intro {
    max-width: none;
  }
  .section-intro p {
    margin-bottom: 9px;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .service-card {
    padding: 26px;
  }
  .service-card-top {
    margin-bottom: 21px;
  }
  .service-card p {
    font-size: 13px;
  }
  .service-card h3 {
    font-size: 20px;
  }
  .about-section {
    grid-template-columns: 1fr;
    padding: 45px 7vw 62px;
    gap: 42px;
  }
  .about-photo {
    margin-right: 17px;
  }
  .about-photo img {
    aspect-ratio: 1.25;
  }
  .experience-stamp {
    width: 107px;
    padding: 17px;
    right: -17px;
    top: -20px;
  }
  .experience-stamp strong {
    font-size: 39px;
  }
  .experience-stamp span {
    font-size: 8px;
  }
  .about-copy > p:not(.eyebrow) {
    font-size: 13px;
  }
  .contact-banner {
    padding: 48px 7vw;
    flex-direction: column;
    align-items: flex-start;
    gap: 29px;
  }
  .contact-banner h2 {
    font-size: 27px;
  }
  .contact-banner > div:last-of-type {
    text-align: left;
  }
  .site-footer {
    padding: 42px 7vw 0;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 33px 20px;
  }
  .footer-main > div:first-child {
    grid-column: 1 / -1;
  }
  .footer-main > div > a:not(.footer-brand) {
    font-size: 10px;
    overflow-wrap: anywhere;
  }
  .footer-main > div:last-child {
    min-width: 0;
  }
  .footer-label {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .footer-bottom {
    flex-wrap: wrap;
    font-size: 8px;
    line-height: 1.7;
    gap: 9px 20px;
  }
  .footer-bottom > span:last-child {
    display: none;
  }
  .page-heading {
    padding: 49px 7vw;
  }
  .page-heading h1 {
    font-size: 35px;
  }
  .page-heading > p:last-child {
    font-size: 12px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    padding: 50px 7vw 65px;
    gap: 35px;
  }
  .contact-details h2 {
    font-size: 35px;
  }
  .form-panel {
    padding: 24px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 19px;
  }
  .form-heading {
    align-items: flex-start;
  }
  .form-heading h3 {
    font-size: 19px;
  }
  .form-heading span {
    margin-top: 5px;
    font-size: 8px;
  }
  .form-grid input,
  .form-grid select,
  .form-panel textarea {
    font-size: 16px;
  }
  .form-grid label,
  .message-label {
    font-size: 12px;
  }
  .consent {
    font-size: 10px;
  }
  .legal-content {
    padding: 35px 7vw 65px;
  }
  .clients-section {
    padding: 56px 7vw 10px;
  }
  .reviews-section {
    padding: 56px 0 60px;
  }
  .review {
    width: 290px;
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .clients-track,
  .reviews-track {
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
  }
  .clients-track .client-logo[aria-hidden="true"],
  .reviews-track .review[aria-hidden="true"] {
    display: none;
  }
}

/* Assistant (commercial IA) ----------------------------------------------- */

.chat-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: #fff;
  border: 0;
  border-radius: 4px;
  padding: 12px 18px 12px 14px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(11, 30, 61, 0.3);
}

.chat-launcher:hover {
  background: var(--blue);
}

.chat-launcher svg {
  width: 22px;
  height: 22px;
}

.chat-panel {
  position: fixed;
  right: 22px;
  bottom: 84px;
  z-index: 901;
  width: 370px;
  max-width: calc(100vw - 32px);
  height: 560px;
  max-height: calc(100vh - 110px);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(11, 30, 61, 0.28);
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
}

.chat-panel.is-open {
  display: flex;
}

.chat-head {
  background: var(--navy);
  color: #fff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-head img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

.chat-head strong {
  font-family: var(--font-body);
  display: block;
  font-size: 14px;
}

.chat-head span {
  font-size: 11px;
  color: #b9cbe0;
}

.chat-head span::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #37d67a;
  margin-right: 6px;
}

.chat-close {
  margin-left: auto;
  background: none;
  border: 0;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  background: var(--pale);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.5;
  white-space: pre-line;
}

.msg-bot {
  background: #fff;
  color: var(--navy);
  align-self: flex-start;
  border: 1px solid var(--line);
}

.msg-user {
  background: var(--navy);
  color: #fff;
  align-self: flex-end;
}

.msg a {
  color: inherit;
  text-decoration: underline;
}

.msg-typing {
  display: inline-flex;
  gap: 4px;
  padding: 12px 14px;
}

.msg-typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9fb4cc;
  animation: blink 1.2s infinite;
}

.msg-typing i:nth-child(2) {
  animation-delay: 0.2s;
}

.msg-typing i:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes blink {
  0%,
  80%,
  100% {
    opacity: 0.25;
  }
  40% {
    opacity: 1;
  }
}

.chat-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-self: flex-start;
}

.chat-choices button {
  background: #fff;
  border: 1px solid var(--navy);
  color: var(--navy);
  border-radius: 4px;
  padding: 7px 13px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.chat-choices button:hover {
  background: var(--navy);
  color: #fff;
}

.chat-form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.chat-form input {
  flex: 1;
  font: inherit;
  font-size: 13px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.chat-form input:focus {
  outline: none;
  border-color: var(--blue);
}

.chat-form button {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  border: 0;
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.chat-form button svg {
  width: 20px;
  height: 20px;
}

.chat-foot {
  font-size: 10px;
  color: var(--ink-muted);
  text-align: center;
  padding: 0 12px 8px;
  background: #fff;
}

@media (max-width: 480px) {
  .chat-launcher {
    right: 14px;
    bottom: 14px;
  }
  .chat-launcher .label {
    display: none;
  }
  .chat-panel {
    right: 14px;
    bottom: 76px;
    height: 70vh;
  }
}

@media print {
  .site-header,
  .chat-launcher,
  .chat-panel {
    display: none !important;
  }
}
