/* =============================================
   ALYO — PAGE À PROPOS
============================================= */

:root {
  --blue: #1F3CFF;
  --blue2: #0F2EEA;
  --green: #3BE3A1;
  --white: #FFFFFF;
  --light: #F5F7FA;
  --dark: #0A1A5C;

  --container: min(1240px, calc(100% - clamp(36px, 6vw, 96px)));
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: 'Syne', sans-serif;
}

a { text-decoration: none; }

img {
  display: block;
  max-width: 100%;
}

/* HEADER — même logique que web.css */
header {
  position: fixed;
  top: -70px;
  left: 0;
  right: 0;
  z-index: 200;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 60px);
  height: 70px;
  transition: top 0.5s ease;
}

header.visible {
  top: 0;
}

@media (max-width: 860px) {
  header {
    top: 0;
  }
}

.header-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(31, 60, 255, 0.28);
  box-shadow: 0 12px 35px rgba(31, 60, 255, 0.12);
  pointer-events: none;
}

.logo,
.header-nav,
.header-ctas,
.burger-btn {
  position: relative;
  z-index: 1;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
  width: clamp(140px, 20vw, 240px);
  height: 110px;
}

.logo-mark {
  display: block;
  width: 100%;
  height: 100%;
  background-color: #1E39FF;
  -webkit-mask: url("../logo/logo-white.svg") no-repeat center / contain;
  mask: url("../logo/logo-white.svg") no-repeat center / contain;
}

.header-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.header-nav a:not(.btn-green) {
  color: var(--dark);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.header-nav a:not(.btn-green):hover {
  opacity: 1;
}

.header-nav a.nav-active {
  opacity: 1;
  color: var(--blue);
  font-weight: 600;
}

.header-ctas {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav-mobile-ctas,
.nav-mobile-back,
.nav-mobile-socials {
  display: none;
}

.nav-mobile-back {
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(31, 60, 255, 0.14);
  background: rgba(31, 60, 255, 0.05);
  border-radius: 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
}

.nav-mobile-back svg {
  width: 22px;
  height: 22px;
}

.btn-green,
.btn-green-big {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  background: var(--green);
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 14px 32px rgba(59,227,161,0.24);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.btn-green {
  padding: 11px 22px;
  font-size: 14px;
}

.btn-green-big {
  padding: 19px 46px;
  font-size: 17px;
}

.btn-green:hover,
.btn-green-big:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 52px rgba(59,227,161,0.36);
}

.btn-hero {
  padding: 14px 32px;
  font-size: 16px;
}

/* Burger — web.css */
.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(31, 60, 255, 0.14);
  background: rgba(31, 60, 255, 0.05);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.burger-btn:hover {
  background: rgba(31, 60, 255, 0.1);
  border-color: rgba(31, 60, 255, 0.22);
}

.burger-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.25s ease, width 0.35s ease;
}

.burger-btn.is-open .burger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-btn.is-open .burger-line:nth-child(2) { opacity: 0; width: 0; }
.burger-btn.is-open .burger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(10, 26, 92, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.nav-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 90px clamp(24px, 5vw, 60px) 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(59,227,161,0.12), transparent 34%),
    linear-gradient(135deg, #1F3CFF 0%, #1431ea 55%, #0F2EEA 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-pattern-text {
  position: absolute;
  white-space: nowrap;
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 4px;
  line-height: 2.4;
  color: rgba(255,255,255,0.07);
  animation: scrollPat 30s linear infinite;
}

.hero-pattern-text:nth-child(odd) {
  animation-direction: reverse;
  animation-duration: 25s;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: fadeUp 1s ease both;
}

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

.hero-tag,
.section-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-tag {
  color: var(--green);
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(59,227,161,0.32);
  backdrop-filter: blur(12px);
}

.hero h1 {
  color: #fff;
  font-size: clamp(42px, 6.2vw, 64px);
  line-height: 0.94;
  letter-spacing: -0.065em;
  font-weight: 900;
}

.hero h1 span {
  color: var(--green);
}

.hero p {
  max-width: 760px;
  color: rgba(255,255,255,0.76);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.75;
}

.hero-btns {
  margin-top: 8px;
}

/* COMMON */
.about-container {
  width: var(--container);
  margin: 0 auto;
}
/* CTA */
.about-cta {
  position: relative;
  padding: 120px 0;
  background: linear-gradient(180deg, #1F3CFF 0%, #0F2EEA 100%);
  text-align: center;
  overflow: hidden;
}

.about-cta-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Titre clean (beaucoup mieux que avant) */
.cta-title {
  font-size: clamp(34px, 5vw, 12px); /* plus petit et mieux proportionné */
  font-weight: 800;
  color: #fff;
  margin: 16px 0 12px;
  letter-spacing: -1px;
  line-height: 1.1;
}

/* Le ? stylé */
.cta-q {
  color: var(--green);
}

/* Texte */
.cta-text {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto 24px;
}

.section-pill {
  color: var(--blue);
  background: rgba(31,60,255,0.08);
  border: 1px solid rgba(31,60,255,0.10);
}

.pill-white {
  color: #fff;
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.20);
}

.about-intro,
.about-projects,
.about-method {
  position: relative;
  overflow: hidden;
  padding: clamp(90px, 10vw, 145px) 0;
}

/* ═══════════════════════════════════════
   PROFILE BOARD
═══════════════════════════════════════ */

.profile-list {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.profile-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 18px;

  width: 100%;
  min-height: 90px;
  padding: 20px 22px;

  border-radius: 22px;
  background: rgba(255,255,255,0.075);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    0 14px 32px rgba(0,0,0,0.08);

  transition:
    transform 0.28s ease,
    background 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.profile-item:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.105);
  border-color: rgba(59,227,161,0.28);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.14),
    0 20px 42px rgba(0,0,0,0.14);
}

/* ICONES */
.profile-item-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 16px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #3BE3A1;
  color: #06145f;

  box-shadow:
    0 14px 30px rgba(59,227,161,0.28),
    inset 0 1px 0 rgba(255,255,255,0.35);

  flex-shrink: 0;
}
.about-intro-left {
  position: relative;
}

.about-intro-left p {
  position: relative;
  max-width: 560px;
  margin-top: 16px;
  padding-left: 22px;
  color: rgba(10,26,92,0.66);
  font-size: 16px;
  line-height: 1.85;
}

.about-intro-left p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;

  width: 4px;
  height: calc(100% - 20px);
  border-radius: 999px;

  background: linear-gradient(180deg, #3BE3A1, rgba(31,60,255,0.35));
  box-shadow: 0 10px 25px rgba(59,227,161,0.22);
}
nav > a {
  position: relative;
  color: #06145f;
  font-weight: 500;
  text-decoration: none;
}

/* on garde le hover si tu veux */
nav > a:hover {
  color: #1E39FF;
}

/* actif */
nav > a.active {
  color: #06145f; /* même couleur que les autres */
  font-weight: 500;
}

/* trait */
nav > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%) scaleX(0);
  width: 45%; /* un peu plus court = plus clean */
  height: 2px;
  background: #1E39FF;
  border-radius: 999px;
  transition: transform 0.25s ease;
}

/* UNIQUEMENT actif */
nav > a.active::after {
  transform: translateX(-50%) scaleX(1);
}


/* RESPONSIVE */
@media (max-width: 1100px) {
  .about-intro-grid,
  .work-grid,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .about-intro-left,
  .work-left,
  .method-text {
    text-align: center;
  }

  .about-intro-left p,
  .work-left p,
  .method-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .about-intro-left .section-pill,
  .work-left .section-pill,
  .method-text .section-pill {
    margin-left: auto;
    margin-right: auto;
  }

  .project-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .header-ctas {
    display: none;
  }

  .burger-btn {
    display: flex;
  }

  .header-nav {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 90vw;
    height: 100dvh;
    background: var(--white);
    z-index: 180;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 24px 28px 32px;
    overflow-y: auto;
    box-shadow: -12px 0 40px rgba(10,26,92,0.12);
    transition: right 0.38s cubic-bezier(0.4,0,0.2,1);
  }

  .header-nav.is-open {
    right: 0;
  }

  .header-nav a:not(.btn-green) {
    display: block;
    font-size: 18px;
    font-weight: 600;
    opacity: 1;
    color: var(--dark);
    padding: 13px 0;
    border-bottom: 1px solid rgba(31,60,255,0.07);
    width: 100%;
  }

  .header-nav a.nav-active {
    color: var(--blue);
  }

  .nav-mobile-back {
    display: flex;
    margin-bottom: 20px;
  }

  .nav-mobile-ctas {
    display: flex;
    margin-top: 28px;
    width: 100%;
  }

  .nav-mobile-ctas .btn-green {
    width: 100%;
    text-align: center;
    font-size: 16px;
    padding: 14px 24px;
  }

  .nav-mobile-socials {
    display: flex;
    gap: 12px;
    margin-top: 20px;
  }

  .nav-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(31,60,255,0.06);
    color: var(--dark);
    text-decoration: none;
  }

  .nav-social-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
  }

  .header-nav > a::after,
  .header-nav > a.active::after,
  .header-nav > a.nav-active::after {
    display: none !important;
    content: none !important;
  }

  .hero {
    padding: 110px 24px 80px;
  }

  .hero h1 {
    font-size: clamp(38px, 11vw, 56px);
  }

  .hero-pattern-text {
    font-size: 18px;
  }

  .work-mini-grid,
  .project-cards {
    grid-template-columns: 1fr;
  }

  .about-intro,
  .about-projects,
  .about-method,
  .about-blue,
  .about-cta {
    padding: 78px 0;
  }
}

@media (max-width: 520px) {
  :root {
    --container: min(100% - 42px, 1240px);
  }

  .about-intro-left h2,
  .work-left h2,
  .about-head h2,
  .method-text h2,
  .about-cta h2 {
    font-size: 38px;
  }

  .profile-card-main,
  .method-step,
  .work-mini-card {
    grid-template-columns: 1fr;
  }

  .profile-board,
  .work-card,
  .about-project-card,
  .method-step {
    border-radius: 26px;
  }

  .btn-green-big {
    width: 100%;
  }
}

/* ═══════════════════════════════════════
   CONTACT — ALYO
════════════════════════════════════════ */

.contact-section {
  position: relative;
  overflow: hidden;
  padding: clamp(90px, 9vw, 130px) 0 0;
  background:
    linear-gradient(180deg, #f7f9ff 0%, #ffffff 46%, #f5f7ff 100%);
}

.contact-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(31,60,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,60,255,0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, black 0%, transparent 38%);
}

.contact-inner {
  position: relative;
  z-index: 2;
}

/* Carte principale */

.contact-main-card {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(42px, 5vw, 76px);
  align-items: center;
  padding: clamp(34px, 5vw, 62px);
  border-radius: 34px;
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(31,60,255,0.11);
  box-shadow:
    0 28px 75px rgba(10,26,92,0.10),
    inset 0 1px 0 rgba(255,255,255,0.95);
  overflow: hidden;
}

.contact-text,
.contact-form {
  position: relative;
  z-index: 2;
}

/* Texte gauche */

.contact-mini-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(31,60,255,0.08);
  border: 1px solid rgba(31,60,255,0.10);
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-text h2 {
  margin: 20px 0 18px;
  max-width: 540px;
  color: var(--dark);
  font-family: 'Syne', sans-serif;
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.contact-text p {
  max-width: 500px;
  color: rgba(10,26,92,0.62);
  font-size: 16px;
  line-height: 1.8;
}

/* Infos contact */

.contact-info-list {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.contact-info-item {
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(248,250,255,0.92);
  border: 1px solid rgba(31,60,255,0.10);
  text-decoration: none;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease;
}

.contact-info-item:hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: rgba(31,60,255,0.22);
  box-shadow: 0 18px 40px rgba(10,26,92,0.09);
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  color: var(--dark);
  background: var(--green);
  box-shadow: 0 14px 30px rgba(59,227,161,0.24);
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
}

.contact-info-item strong {
  display: block;
  color: var(--dark);
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 3px;
}

.contact-info-item small {
  display: block;
  color: rgba(10,26,92,0.62);
  font-size: 14px;
  line-height: 1.45;
}

/* Formulaire */

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form .form-group {
  display: grid;
  gap: 8px;
}

.contact-form label {
  color: var(--dark);
  font-size: 13px;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 54px;
  padding: 15px 17px;
  border-radius: 16px;
  border: 1px solid rgba(31,60,255,0.13);
  background: rgba(248,250,255,0.94);
  color: var(--dark);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  outline: none;
  transition:
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    background 0.24s ease,
    transform 0.24s ease;
}

.contact-form textarea {
  min-height: 155px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(10,26,92,0.36);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  background: #ffffff;
  border-color: rgba(31,60,255,0.55);
  box-shadow: 0 0 0 5px rgba(31,60,255,0.08);
  transform: translateY(-1px);
}

.form-consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 2px;
  color: rgba(10,26,92,0.58);
  font-size: 13px;
  line-height: 1.55;
}

.form-consent input {
  width: 16px;
  height: 16px;
  min-height: auto;
  margin-top: 2px;
  accent-color: var(--blue);
}

.contact-submit {
  width: fit-content;
  min-width: 210px;
  margin-top: 4px;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--dark);
  background: var(--green);
  padding: 16px 28px;
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(59,227,161,0.34);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-submit svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.contact-submit:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 56px rgba(59,227,161,0.46);
}

.contact-submit:hover svg {
  transform: translateX(4px);
}

/* Map */

.contact-map-wide {
  margin-top: clamp(34px, 5vw, 54px);
  height: clamp(360px, 38vw, 500px);
  border-radius: 34px 34px 0 0;
  overflow: hidden;
  border: 1px solid rgba(31,60,255,0.12);
  border-bottom: none;
  box-shadow: 0 30px 80px rgba(10,26,92,0.12);
  background: #eaf0ff;
}

.contact-map-wide iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Responsive */

@media (max-width: 980px) {
  .contact-main-card {
    grid-template-columns: 1fr;
  }

  .contact-text {
    text-align: center;
  }

  .contact-text h2,
  .contact-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .contact-mini-label {
    margin-left: auto;
    margin-right: auto;
  }

  .contact-info-list {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 640px) {
  .contact-section {
    padding: 74px 0 0;
  }

  .contact-main-card {
    padding: 24px;
    border-radius: 26px;
  }

  .contact-text h2 {
    font-size: 32px;
    letter-spacing: -0.04em;
  }

  .contact-form .form-row {
    grid-template-columns: 1fr;
  }

  .contact-submit {
    width: 100%;
  }

  .contact-map-wide {
    height: 320px;
    border-radius: 24px 24px 0 0;
  }
}

.contact-title-block {
  max-width: 760px;
  margin: 0 auto clamp(42px, 5vw, 64px);
  text-align: center;
}

.contact-title-block .contact-mini-label {
  margin: 0 auto;
}

.contact-title-block h2 {
  margin: 20px auto 18px;
  max-width: 720px;

  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 5vw, 52px); /* ↓ réduit proprement */
  font-weight: 800;
  line-height: 1.05; /* ↑ important pour éviter l'effet écrasé */
  letter-spacing: -0.03em;

  text-align: center;
}

.contact-title-block p {
  max-width: 590px;
  margin: 0 auto;
  color: rgba(10,26,92,0.62);
  font-size: 16px;
  line-height: 1.8;
}

.contact-main-card {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.contact-text {
  align-self: stretch;
  display: flex;
  align-items: center;
}

.contact-info-list {
  width: 100%;
  margin-top: 0;
}

@media (max-width: 980px) {
  .contact-main-card {
    grid-template-columns: 1fr;
  }

  .contact-text {
    text-align: left;
  }
}


/* ═══════════════════════════════════════
   FOOTER (repris de index)
════════════════════════════════════════ */
.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.03) 0%, transparent 24%),
    radial-gradient(circle at bottom right, rgba(255,255,255,0.025) 0%, transparent 22%),
    linear-gradient(180deg, #0b1c68 0%, #0a1b63 100%);
  color: rgba(255,255,255,0.58);
}

.footer-shell {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
  padding: 72px 0 34px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, minmax(140px, 1fr));
  gap: 48px;
  align-items: start;
}

.footer-brand { max-width: 360px; }

.footer-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 8px;
}

.footer-logo img {
  width: 124px;
  height: auto;
  display: block;
}
.footer-col h4 {
  margin: 0 0 18px;
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.footer-col ul li { margin: 0; }

.footer-col ul a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: rgba(255,255,255,0.5);
  font-size: 15px;
  line-height: 1.45;
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-col ul a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: rgba(255,255,255,0.75);
  transition: width 0.25s ease;
}

.footer-col ul a:hover { color: #ffffff; transform: translateX(3px); }
.footer-col ul a:hover::after { width: 100%; }

.footer-divider {
  height: 1px;
  margin: 42px 0 26px;
  background: linear-gradient(90deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.08) 15%, rgba(255,255,255,0.08) 85%, rgba(255,255,255,0.02) 100%);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
  color: rgba(255,255,255,0.48);
}

.footer-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.28);
}

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

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #ffffff;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 8px 20px rgba(0,0,0,0.14);
  transition: transform 0.28s ease, background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.social-btn svg { width: 18px; height: 18px; fill: currentColor; display: block; }

.social-btn:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.11);
  border-color: rgba(255,255,255,0.09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 14px 28px rgba(0,0,0,0.2);
}
/* RESPONSIVE FOOTER — identique style.css */

@media (max-width: 1100px) {
  .footer-top {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 36px 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 420px;
  }
}

@media (max-width: 640px) {
  .footer-shell {
    width: min(1320px, calc(100% - 48px));
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }

  .footer-col:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-col:last-child {
    grid-column: auto;
  }
}