/* AKGlobal, page Contact
   S'appuie sur ak.css (charte de la page Services) : mêmes couleurs, formes et animations. */

/* Hero */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
}
.btn-ghost svg {
  width: 17px;
  height: 17px;
}
.btn-light svg {
  color: var(--red);
}

/* Sections et titres */
.sec {
  padding: 76px 0;
  position: relative;
}
.sec-head {
  max-width: 720px;
  margin-bottom: 36px;
}
.sec-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.sec-head.center .kicker-line {
  margin-left: auto;
  margin-right: auto;
}
.sec-head h2 {
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.15;
  margin: 0;
}
.sec .kicker-line {
  background: var(--red);
}

/* Coordonnées + formulaire */
.contact-main {
  background: var(--tint);
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: start;
}
.coords,
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 30px 60px -46px rgba(16, 43, 78, 0.5);
}
.coords {
  padding: 30px 28px;
  position: sticky;
  top: 110px;
}
.coords h2,
.form-card h2 {
  font-size: 22px;
  margin: 0 0 22px;
}
.co-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.co-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.co-item b {
  display: block;
  color: var(--navy);
  font-size: 15px;
  margin-bottom: 3px;
}
.co-item div > span,
.co-item div > a {
  display: block;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
  text-decoration: none;
  word-break: break-word;
}
.co-item a:hover {
  color: var(--royal);
}
.co-ic {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex: none;
  color: #fff;
  background: var(--navy);
}
.co-ic svg {
  width: 19px;
  height: 19px;
}
.co-main {
  margin: 0 -14px 6px;
  padding: 16px 14px;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(33, 70, 139, 0.1),
    rgba(33, 70, 139, 0.03)
  );
  border: 1px solid rgba(33, 70, 139, 0.18);
}
.co-main + .co-item {
  border-top: 0;
}
.co-main .co-ic {
  background: var(--royal);
  color: var(--yellow);
}
.co-main a {
  color: var(--navy);
  font-weight: 600;
}
.co-green {
  background: var(--green);
}
.co-blue {
  background: var(--royal);
}
.co-gold {
  background: #c99a00;
}

.form-card {
  padding: 32px 32px 30px;
}
.form-card h2 {
  margin-bottom: 6px;
}
.form-note {
  margin: 0 0 22px;
  font-size: 13.5px;
  color: var(--muted);
}
.f-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.f {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.f label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
}
.f input,
.f select,
.f textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #d6deea;
  background: #fbfcfe;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.f textarea {
  resize: vertical;
  min-height: 130px;
}
.f input:focus,
.f select:focus,
.f textarea:focus {
  outline: none;
  border-color: var(--royal);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(33, 70, 139, 0.12);
}
.f input:user-invalid,
.f select:user-invalid,
.f textarea:user-invalid {
  border-color: var(--red);
}
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 4px 0 12px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}
.consent input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--navy);
}
.form-warn {
  margin: 0 0 20px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
}
.form-warn a {
  color: var(--royal);
}
.form-card .btn {
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
}
.hp {
  position: absolute;
  left: -9999px;
}

/* Animation « Comment ça se passe ? » (à la place des coordonnées) */
.contact-flow {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 30px 28px 26px;
  border-radius: 24px;
  background: var(--navy);
  color: #c3cfe0;
  box-shadow: 0 30px 60px -40px rgba(16, 43, 78, 0.8);
}
.contact-flow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 100% 0%,
      rgba(33, 70, 139, 0.9),
      rgba(33, 70, 139, 0) 55%
    ),
    radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0 0/20px
      20px;
  z-index: -1;
}
.contact-flow h2 {
  color: #fff;
  font-size: 22px;
  margin: 0 0 4px;
}
.cf-sub {
  font-size: 14px;
  color: #9fb0c8;
  margin: 0 0 22px;
}
.cf-stage {
  position: relative;
  padding-left: 64px;
}
.cf-path,
.cf-plane {
  position: absolute;
  left: 0;
  top: 0;
  width: 64px;
  height: 100%;
  overflow: visible;
}
.cf-path path {
  stroke: rgba(159, 182, 221, 0.35);
  stroke-width: 1.5;
  stroke-dasharray: 4 6;
  vector-effect: non-scaling-stroke;
}
.plane {
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.6));
}
.cf-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.cs {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(159, 182, 221, 0.18);
  animation: csLit 6s ease infinite;
  animation-delay: calc(var(--k) * 2s);
}
.cs-ic {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  animation: csIc 6s ease infinite;
  animation-delay: calc(var(--k) * 2s);
}
.cs-ic svg {
  width: 19px;
  height: 19px;
}
.cs b {
  display: block;
  color: #fff;
  font-size: 15px;
  margin-bottom: 2px;
}
.cs small {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: #9fb0c8;
}
@keyframes csLit {
  0%,
  30% {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateX(4px);
  }
  34%,
  100% {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(159, 182, 221, 0.18);
    transform: none;
  }
}
@keyframes csIc {
  0%,
  30% {
    background: #fff;
    color: var(--navy);
    box-shadow: 0 0 0 6px rgba(63, 191, 134, 0.25);
  }
  34%,
  100% {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    box-shadow: none;
  }
}
.cf-loc {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 22px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 600;
  color: #c3cfe0;
}
.cf-loc svg {
  width: 15px;
  height: 15px;
  color: var(--yellow);
}
@media (prefers-reduced-motion: reduce) {
  .cs,
  .cs-ic {
    animation: none;
  }
  .cf-plane {
    display: none;
  }
}

/* Autres moyens de contact */
.ways {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.way {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 30px 24px 26px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.way::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--c);
  transform: scaleX(0);
  transition: transform 0.4s;
}
.way:hover {
  transform: translateY(-5px);
  border-color: var(--b);
  box-shadow: 0 26px 50px -32px rgba(16, 43, 78, 0.55);
}
.way:hover::after {
  transform: scaleX(1);
}
.way-ic {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 10px;
  border-radius: 18px;
  background: var(--t);
  color: var(--c);
  transition: background 0.3s, color 0.3s,
    transform 0.4s cubic-bezier(0.3, 1.5, 0.5, 1);
}
.way:hover .way-ic {
  background: var(--c);
  color: #fff;
  transform: rotate(-8deg) scale(1.06);
}
.way-ic svg {
  width: 26px;
  height: 26px;
}
.way b {
  font-size: 18px;
  color: var(--navy);
}
.way-main {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  word-break: break-word;
}
.way-main a,
.way-main a:hover,
.way-main a:focus,
.way-main a:visited {
  color: inherit;
  text-decoration: none;
}
.way small {
  font-size: 13.5px;
  color: var(--muted);
}
.way-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c);
}
.way-go svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s;
}
.way:hover .way-go svg {
  transform: translateX(4px);
}
.w-green {
  --c: var(--green);
  --t: rgba(0, 135, 81, 0.1);
  --b: rgba(0, 135, 81, 0.3);
}
.w-blue {
  --c: var(--royal);
  --t: rgba(33, 70, 139, 0.1);
  --b: rgba(33, 70, 139, 0.3);
}
.w-red {
  --c: var(--red);
  --t: rgba(232, 17, 45, 0.08);
  --b: rgba(232, 17, 45, 0.28);
}
.js .ways .way.rv {
  transition: opacity 0.6s ease calc(var(--k) * 0.12s),
    translate 0.6s ease calc(var(--k) * 0.12s), transform 0.3s, box-shadow 0.3s,
    border-color 0.3s;
}

/* Bandeau photo final : une seule courbe en haut (proportions conservées), fondu bleu marine à gauche, filets jaune et vert */
.contact-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: clamp(150px, 22vw, 300px) 0 110px;
  color: #fff;
  background: var(--navy-deep);
}
.contact-band > img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 30%;
  width: 70%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
  z-index: -3;
  filter: brightness(1.12) saturate(1.05);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
}
.contact-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 28, 56, 0.98) 0%,
    rgba(16, 43, 78, 0.92) 36%,
    rgba(16, 43, 78, 0.45) 58%,
    rgba(16, 43, 78, 0) 78%
  );
  z-index: -2;
}
.band-top {
  position: absolute;
  left: 0;
  top: -1px;
  width: 100%;
  height: auto;
  aspect-ratio: 1148/300;
  z-index: -1;
  pointer-events: none;
}
.bt-fill {
  fill: #fff;
}
.bt-line {
  fill: none;
  stroke: url(#bt-line);
  stroke-width: 2.5;
  stroke-linecap: round;
}
.band-lines {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 1440/220;
  z-index: -1;
  pointer-events: none;
  overflow: visible;
}
.bs-yellow {
  fill: none;
  stroke: var(--yellow);
  stroke-width: 3;
  stroke-linecap: round;
}
.bs-green {
  fill: none;
  stroke: #2fbf88;
  stroke-width: 4;
  stroke-linecap: round;
}
.js .bs-yellow,
.js .bs-green,
.js .bt-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}
.js .contact-band.drawn .bs-yellow,
.js .contact-band.drawn .bs-green,
.js .contact-band.drawn .bt-line {
  transition: stroke-dashoffset 2.2s ease;
  stroke-dashoffset: 0;
}
.js .contact-band.drawn .bs-green {
  transition-delay: 0.4s;
}
.band-inner {
  max-width: 1200px;
  width: 100%;
}
.contact-band h2 {
  color: #fff;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.15;
  max-width: 520px;
  margin: 0 0 12px;
}
.contact-band h2 {
  margin-bottom: 30px;
}
.contact-band .btn-light {
  background: linear-gradient(90deg, #1f5bd6, #2e6ef2);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(31, 91, 214, 0.7);
}
.contact-band .btn-light:hover {
  background: linear-gradient(90deg, #1a4fbd, #2862dd);
}
.contact-band .btn-light svg {
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .way,
  .way-ic,
  .f input,
  .f select,
  .f textarea {
    transition: none;
  }
}
@media (max-width: 960px) {
  .contact-band {
    min-height: 0;
    padding: 120px 0 80px;
  }
  .contact-band::before {
    background: linear-gradient(
      180deg,
      rgba(16, 43, 78, 0.92),
      rgba(16, 43, 78, 0.7)
    );
  }
  .bs-yellow,
  .bs-green {
    display: none;
  }
  .contact-band > img {
    left: 0;
    width: 100%;
  }
  .sec {
    padding: 60px 0;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-flow {
    position: relative;
  }
  .ways {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .f-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .form-card,
  .contact-flow {
    padding: 24px 20px;
  }
}

/* Hero : petite conversation animée (en boucle) */
.hero-chat {
  position: absolute;
  right: max(60px, calc((100vw - 1200px) / 2 + 80px));
  top: 50%;
  transform: translateY(-50%) rotate(4deg);
  width: 210px;
  padding: 30px 10px 14px;
  border-radius: 32px;
  background: linear-gradient(160deg, #1c3a66, #0c2240);
  border: 6px solid #0a1a33;
  box-shadow: 0 0 0 1.5px rgba(159, 182, 221, 0.35),
    0 34px 60px -24px rgba(0, 0, 0, 0.75);
  pointer-events: none;
  z-index: 0;
  animation: phoneFloat 6s ease-in-out infinite;
}
.hero-chat::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  width: 58px;
  height: 12px;
  margin-left: -29px;
  border-radius: 999px;
  background: #0a1a33;
}
.hero-chat::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 60px;
  height: 3px;
  margin-left: -30px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.35);
}
@keyframes phoneFloat {
  0%,
  100% {
    transform: translateY(-50%) rotate(4deg);
  }
  50% {
    transform: translateY(calc(-50% - 8px)) rotate(4deg);
  }
}
.hc-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.hc-av {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  font-size: 10px;
  font-weight: 800;
}
.hc-head b {
  display: block;
  color: #fff;
  font-size: 12px;
  line-height: 1.2;
}
.hc-head small {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: #9fb0c8;
}
.hc-head small i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3fbf86;
  box-shadow: 0 0 0 2px rgba(63, 191, 134, 0.2);
}
.hc-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 170px;
  padding: 0 2px;
}
.page-hero:has(.hero-chat) {
  padding: 86px 0 96px;
}
.hc-msg {
  margin: 0;
  max-width: 88%;
  padding: 7px 10px;
  font-size: 11.5px;
  line-height: 1.4;
  border-radius: 13px;
  opacity: 0;
  animation: hcMsg 7s ease infinite;
  animation-delay: var(--d);
}
.hc-in {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-bottom-left-radius: 4px;
}
.hc-out {
  align-self: flex-end;
  background: #fff;
  color: var(--navy);
  border-bottom-right-radius: 4px;
}
.hc-typing {
  align-self: flex-end;
  display: flex;
  gap: 3px;
  margin: 0;
  padding: 8px 10px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.12);
  opacity: 0;
  animation: hcType 7s ease infinite;
  animation-delay: var(--d);
}
.hc-typing i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  animation: hcDot 1s ease-in-out infinite;
}
.hc-typing i:nth-child(2) {
  animation-delay: 0.15s;
}
.hc-typing i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes hcMsg {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
  6%,
  80% {
    opacity: 1;
    transform: none;
  }
  90%,
  100% {
    opacity: 0;
    transform: none;
  }
}
@keyframes hcType {
  0% {
    opacity: 0;
    max-height: 0;
    padding-block: 0;
  }
  4%,
  14% {
    opacity: 1;
    max-height: 30px;
    padding-block: 8px;
  }
  18%,
  100% {
    opacity: 0;
    max-height: 0;
    padding-block: 0;
  }
}
@keyframes hcDot {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  50% {
    transform: translateY(-3px);
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bs-yellow,
  .bs-green,
  .bt-line {
    stroke-dashoffset: 0 !important;
    transition: none !important;
  }
  .hc-msg {
    animation: none;
    opacity: 1;
  }
  .hc-typing {
    display: none;
  }
  .hero-chat {
    animation: none;
  }
}

/* Listes déroulantes : flèche personnalisée, bien positionnée */
.f select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 44px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2321468B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px 18px;
}
.f select::-ms-expand {
  display: none;
}

/* Haut de page sans bandeau : introduction + étapes à gauche, formulaire à droite */
.contact-main {
  padding-top: 56px;
  background: linear-gradient(180deg, #f6f8fc, var(--tint));
}
.contact-grid {
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}
.contact-side {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-intro h1 {
  font-size: clamp(36px, 4.2vw, 52px);
  line-height: 1.08;
  margin: 0 0 12px;
  color: var(--navy);
}
.contact-intro .kicker-line {
  background: var(--green);
}
.ci-lead {
  font-size: 19px;
  font-weight: 600;
  color: var(--royal);
  margin: 0 0 10px;
}
.ci-sub {
  color: var(--muted);
  margin: 0;
  max-width: 520px;
}
@media (max-width: 960px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-main {
    padding-top: 40px;
  }
}

/* Téléphone animé à côté des autres moyens de contact */
.ways-wrap {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}
.ways-phone {
  display: grid;
  place-items: center;
  min-height: 340px;
  position: relative;
}
.ways-phone::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(33, 70, 139, 0.14),
    rgba(33, 70, 139, 0) 70%
  );
}
.ways-phone .hero-chat {
  position: relative;
  right: auto;
  top: auto;
  transform: rotate(-4deg);
  animation: phoneFloat2 6s ease-in-out infinite;
}
@keyframes phoneFloat2 {
  0%,
  100% {
    transform: rotate(-4deg) translateY(0);
  }
  50% {
    transform: rotate(-4deg) translateY(-10px);
  }
}
.ways-wrap .ways {
  grid-template-columns: 1fr;
  gap: 14px;
}
.ways-wrap .way {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  column-gap: 18px;
  row-gap: 1px;
  align-items: center;
  text-align: left;
  padding: 16px 22px;
}
.ways-wrap .way-ic {
  grid-row: 1/4;
  margin: 0;
  width: 52px;
  height: 52px;
}
.ways-wrap .way > b {
  grid-column: 2;
  font-size: 16.5px;
}
.ways-wrap .way-main {
  grid-column: 2;
  font-size: 14.5px;
}
.ways-wrap .way small {
  grid-column: 2;
}
.ways-wrap .way-go {
  grid-column: 3;
  grid-row: 1/4;
  margin: 0;
  white-space: nowrap;
}
@media (max-width: 960px) {
  .ways-wrap {
    grid-template-columns: 1fr;
  }
  .ways-phone {
    min-height: 340px;
  }
}
@media (max-width: 560px) {
  .ways-wrap .way {
    grid-template-columns: 44px 1fr;
  }
  .ways-wrap .way-ic {
    width: 44px;
    height: 44px;
  }
  .ways-wrap .way-go {
    grid-column: 2;
    grid-row: auto;
    margin-top: 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ways-phone .hero-chat {
    animation: none;
  }
}
/* Téléphone à droite, un peu plus grand */
.ways-wrap {
  grid-template-columns: 1fr 320px;
}
.ways-phone {
  order: 2;
  min-height: 420px;
}
.ways-phone .hero-chat {
  width: 250px;
  padding: 34px 12px 16px;
  transform: rotate(4deg);
  animation-name: phoneFloat3;
}
@keyframes phoneFloat3 {
  0%,
  100% {
    transform: rotate(4deg) translateY(0);
  }
  50% {
    transform: rotate(4deg) translateY(-10px);
  }
}
.ways-phone .hc-msg {
  font-size: 13px;
}
.ways-phone .hc-body {
  min-height: 200px;
}
.ways-phone::before {
  width: 320px;
  height: 320px;
}
@media (max-width: 960px) {
  .ways-wrap {
    grid-template-columns: 1fr;
  }
  .ways-phone {
    order: -1;
    min-height: 380px;
  }
}
/* Téléphone nettement plus grand */
.ways-wrap {
  grid-template-columns: 1fr 380px;
}
.ways-phone {
  min-height: 500px;
}
.ways-phone .hero-chat {
  width: 300px;
  padding: 40px 14px 20px;
  border-radius: 40px;
  border-width: 7px;
}
.ways-phone .hero-chat::before {
  width: 74px;
  height: 15px;
  margin-left: -37px;
  top: 11px;
}
.ways-phone .hc-av {
  width: 34px;
  height: 34px;
  font-size: 12px;
}
.ways-phone .hc-head b {
  font-size: 14.5px;
}
.ways-phone .hc-head small {
  font-size: 12px;
}
.ways-phone .hc-body {
  min-height: 250px;
  gap: 8px;
}
.ways-phone .hc-msg {
  font-size: 14px;
  padding: 9px 12px;
}
.ways-phone::before {
  width: 380px;
  height: 380px;
}
@media (max-width: 960px) {
  .ways-wrap {
    grid-template-columns: 1fr;
  }
  .ways-phone {
    min-height: 440px;
  }
}
@media (max-width: 400px) {
  .ways-phone .hero-chat {
    width: 260px;
  }
}
/* Téléphone plus élancé : plus haut, moins large */
.ways-wrap {
  grid-template-columns: 1fr 340px;
}
.ways-phone {
  min-height: 540px;
}
.ways-phone .hero-chat {
  width: 240px;
  padding: 42px 11px 22px;
}
.ways-phone .hc-body {
  min-height: 330px;
}
.ways-phone .hc-msg {
  font-size: 13px;
}
@media (max-width: 960px) {
  .ways-wrap {
    grid-template-columns: 1fr;
  }
  .ways-phone {
    min-height: 480px;
  }
}
@media (max-width: 400px) {
  .ways-phone .hero-chat {
    width: 230px;
  }
}

/* Bandeau final : contenu enrichi */
.band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.band-copy {
  max-width: 560px;
}
.band-eye {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #cfe0ff;
  backdrop-filter: blur(6px);
}
.band-eye i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(252, 209, 22, 0.2);
}
.contact-band h2 {
  max-width: 560px;
  margin: 0 0 16px;
  font-size: clamp(30px, 3.4vw, 46px);
  letter-spacing: -0.02em;
}
.contact-band h2 .hl {
  background: linear-gradient(90deg, #9fc2ff, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.band-p {
  color: #c3cfe0 !important;
  font-size: 16.5px !important;
  line-height: 1.65;
  max-width: 500px;
  margin: 0 0 28px !important;
}
.band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.band-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
}
.band-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
}
.band-ghost svg {
  width: 17px;
  height: 17px;
}
.band-pts {
  list-style: none;
  margin: 30px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
}
.band-pts li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #dbe5f3;
}
.band-pts svg {
  width: 16px;
  height: 16px;
  color: var(--yellow);
}
.band-float {
  align-self: flex-end;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.6);
  animation: bfFloat 5s ease-in-out infinite;
}
.bf-ic {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
}
.bf-ic svg {
  width: 20px;
  height: 20px;
}
.band-float b {
  display: block;
  font-size: 15px;
}
.band-float small {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
}
@keyframes bfFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@media (max-width: 960px) {
  .band-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .band-float {
    align-self: flex-start;
  }
}
@media (prefers-reduced-motion: reduce) {
  .band-float {
    animation: none;
  }
}

/* Vague du bandeau final : deux nappes + filet dégradé qui suit la courbe */
.band-top {
  aspect-ratio: auto !important;
  height: clamp(150px, 18vw, 280px) !important;
}
.bt-veil {
  fill: rgba(255, 255, 255, 0.35);
}
.bt-line {
  fill: none;
  stroke: url(#bt-line);
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
}
.contact-band {
  padding-top: clamp(170px, 19vw, 290px);
}
.js .contact-band .bt-veil {
  animation: veilDrift 9s ease-in-out infinite;
}
@keyframes veilDrift {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-24px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .bt-veil {
    animation: none !important;
  }
}

/* Section « Autres moyens » plus compacte */
.ways-sec {
  padding: 56px 0 64px;
}
.ways-sec .sec-head {
  margin-bottom: 24px;
}
.ways-wrap {
  grid-template-columns: 1fr 280px;
  gap: 36px;
}
.ways-phone {
  min-height: 400px;
}
.ways-phone .hero-chat {
  width: 210px;
  padding: 34px 10px 16px;
  border-radius: 34px;
}
.ways-phone .hc-body {
  min-height: 230px;
}
.ways-phone .hc-msg {
  font-size: 12px;
  padding: 8px 10px;
}
.ways-phone::before {
  width: 280px;
  height: 280px;
}
.ways-wrap .way {
  padding: 14px 20px;
}
@media (max-width: 960px) {
  .ways-wrap {
    grid-template-columns: 1fr;
  }
  .ways-phone {
    min-height: 380px;
  }
}
.bt-veil {
  fill: #dfe8f5;
}
.js .bt-line {
  stroke-dasharray: 3200;
  stroke-dashoffset: 3200;
}
.js .contact-band.drawn .bt-line {
  stroke-dashoffset: 0;
}

/* Vague : une seule nappe blanche nette + reflet lumineux qui glisse le long du bord */
.bt-edge {
  fill: none;
  stroke: rgba(159, 194, 255, 0.55);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}
.band-comet {
  position: absolute;
  left: 0;
  top: -1px;
  width: 100%;
  height: clamp(150px, 18vw, 280px);
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}
@media (prefers-reduced-motion: reduce) {
  .band-comet {
    display: none;
  }
}
/* Bandeau final plus compact */
.contact-band {
  min-height: 0;
  padding-top: clamp(130px, 14vw, 210px);
  padding-bottom: 80px;
}
.band-top,
.band-comet {
  height: clamp(110px, 13vw, 200px) !important;
}
.contact-band h2 {
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 14px;
}
.band-p {
  margin-bottom: 24px !important;
}
@media (max-width: 960px) {
  .contact-band {
    padding: 110px 0 64px;
  }
}
/* Filet vert + téléphone plus incliné */
.bs-green {
  fill: none;
  stroke: #2fbf88;
  stroke-width: 4;
  stroke-linecap: round;
}
@media (max-width: 960px) {
  .bs-green {
    display: none;
  }
}
.ways-phone .hero-chat {
  transform: rotate(9deg);
  animation-name: phoneFloat9;
}
@keyframes phoneFloat9 {
  0%,
  100% {
    transform: rotate(9deg) translateY(0);
  }
  50% {
    transform: rotate(9deg) translateY(-10px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ways-phone .hero-chat {
    animation: none;
  }
}
.bt-line {
  fill: none;
  stroke: url(#bt-line);
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
}
/* Plus d'espace entre les cartes et le téléphone */
.ways-wrap {
  gap: 80px;
  max-width: 1060px;
}
@media (max-width: 960px) {
  .ways-wrap {
    gap: 24px;
  }
}
.req {
  color: var(--red);
  font-weight: 700;
}

/* Confirmation d'envoi */
.form-ok {
  text-align: center;
  padding: 40px 10px 20px;
  animation: foIn 0.5s ease both;
}
.form-ok:focus {
  outline: none;
}
.fo-ic {
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: rgba(0, 135, 81, 0.12);
  color: var(--green);
}
.fo-ic svg {
  width: 40px;
  height: 40px;
}
.form-ok h3 {
  font-size: 24px;
  margin: 0 0 8px;
}
.form-ok p {
  color: var(--muted);
  margin: 0 auto 24px;
  max-width: 420px;
}
.fo-again {
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}
.form-err {
  margin: 14px 0 0;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(232, 17, 45, 0.08);
  color: #c8102e;
  font-size: 14px;
}
@keyframes foIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}
.form-ok {
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.form-ok.fade {
  opacity: 0;
  transform: translateY(-8px);
}
