:root {
    --blue: #0c3283;
    --blue-dark: #08245f;
    --light: #e5e7eb;
    --accent: #f59f0a;
    --white: #ffffff;
    --text: #10213f;
    --muted: #5f6c85;
    --border: rgba(12, 50, 131, 0.12);
    --shadow: 0 18px 50px rgba(12, 50, 131, 0.12);
    --shadow-strong: 0 24px 70px rgba(12, 50, 131, 0.22);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 14px;
    --transition: 0.35s ease;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: "Inter", sans-serif;
    color: var(--text);
    background:
      radial-gradient(circle at top left, rgba(245, 159, 10, 0.12), transparent 22%),
      radial-gradient(circle at bottom right, rgba(12, 50, 131, 0.10), transparent 24%),
      #fcfcfd;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
  }
  
  img {
    max-width: 100%;
    display: block;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  .container {
    width: min(1140px, 92%);
    margin: 0 auto;
  }
  
  .section {
    padding: 110px 0;
  }
  
  .center {
    text-align: center;
  }
  
  .eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.84rem;
    font-weight: 800;
  }
  
  h1, h2, h3 {
    line-height: 1.08;
    color: var(--blue-dark);
  }
  
  h1 {
    font-size: clamp(2.7rem, 5vw, 5rem);
    font-weight: 800;
  }
  
  h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 18px;
  }
  
  h3 {
    font-size: 1.18rem;
    font-weight: 700;
    margin-bottom: 10px;
  }
  
  p {
    color: var(--muted);
    font-size: 1rem;
  }
  
  .icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
  }
  
  .icon-sm {
    width: 15px;
    height: 15px;
  }


  .brand-mark {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  
    display: flex;
    align-items: center;
    justify-content: center;
  
    background: linear-gradient(135deg, var(--blue), #1546b0);
    box-shadow: 0 12px 28px rgba(12, 50, 131, 0.24);
  
    overflow: hidden;
  }
  
  .brand-mark img {
    width: 70%;
    height: 70%;
    object-fit: contain;
  }




  .brand-mark {
    width: 70px;   /* avant 52px */
    height: 70px;
  
    border-radius: 18px;
  
    display: flex;
    align-items: center;
    justify-content: center;
  
    overflow: hidden;
  }
  
  .brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  
    transform: translateY(-12px); /* 🔥 remonte proprement */
  }


  
  .page-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.32;
    z-index: -1;
    animation: floatGlow 8s ease-in-out infinite alternate;
  }
  
  .glow-1 {
    width: 260px;
    height: 260px;
    background: rgba(245, 159, 10, 0.28);
    top: 80px;
    left: -70px;
  }
  
  .glow-2 {
    width: 320px;
    height: 320px;
    background: rgba(12, 50, 131, 0.18);
    right: -100px;
    bottom: 60px;
  }
  
  @keyframes floatGlow {
    from {
      transform: translateY(0) scale(1);
    }
    to {
      transform: translateY(-18px) scale(1.05);
    }
  }
  
  /* NAV */
  .hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  .navbar {
    padding: 26px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
  }
  
  .brand {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  
  .brand-mark {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--blue), #1546b0);
    color: var(--white);
    font-size: 1.35rem;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(12, 50, 131, 0.24);
  }
  
  .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
  }
  
  .brand-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--blue);
  }
  
  .brand-subtitle {
    font-size: 0.82rem;
    color: var(--muted);
  }
  
  .nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
  }
  
  .nav-links a {
    color: var(--blue);
    font-weight: 600;
    position: relative;
    transition: var(--transition);
  }
  
  .nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
  }
  
  .nav-links a:hover {
    color: var(--accent);
  }
  
  .nav-links a:hover::after {
    width: 100%;
  }
  


  .hero-content {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 48px;
    align-items: start; /* important : on n'aligne plus automatiquement au centre */
    padding-top: 30px;
    padding-bottom: 90px;
  }
  
  .hero-left,
  .hero-right {
    width: 100%;
  }
  
  /* Tu règles ici indépendamment la hauteur de départ */
  .hero-left {
    padding-top: 40px;
  }
  
  .hero-right {
    padding-top: 40px;
  }
  
  /* bloc texte */
  .hero-copy {
    max-width: 560px;
  }
  
  .hero-copy h1 {
    font-size: clamp(3rem, 6vw, 5.8rem);
    line-height: 0.95;
    margin-bottom: 18px;
  }
  
  .hero-text {
    margin-top: 14px;
    font-size: 1.02rem;
    max-width: 560px;
  }
  
  .hero-text-lead {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--blue-dark);
    max-width: 620px;
  }
  
  /* bloc card */
  .hero-panel {
    display: flex;
    justify-content: flex-end;
  }
  
  .hero-card {
    width: 100%;
    max-width: 720px;
    padding: 32px 34px;
    border-radius: 28px;
    background: linear-gradient(
      135deg,
      rgba(255,255,255,0.85),
      rgba(229,231,235,0.7)
    );
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow: 0 30px 70px rgba(12, 50, 131, 0.18);
  }
  
  .hero-card h2 {
    font-size: clamp(2rem, 2.8vw, 3rem);
    line-height: 1.1;
    max-width: 560px;
  }
  
  .hero-card > p {
    font-size: 0.98rem;
    margin-top: 14px;
    max-width: 520px;
  }



  .hero-left {
    padding-top: 40px;
  }
  
  .hero-right {
    padding-top: 40px;
  }


  .hero-copy {
    max-width: 720px;
  }
  
  .hero-text {
    margin-top: 22px;
    font-size: 1.06rem;
    max-width: 680px;
  }
  
  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
  }
  
  .btn {
    min-height: 54px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  }
  
  .btn:hover {
    transform: translateY(-3px);
  }
  
  .btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--blue), #174cb8);
    box-shadow: 0 16px 34px rgba(12, 50, 131, 0.24);
  }
  
  .btn-primary:hover {
    box-shadow: 0 22px 42px rgba(12, 50, 131, 0.32);
  }
  
  .btn-secondary {
    color: var(--blue);
    background: rgba(229, 231, 235, 0.55);
    border: 1px solid var(--border);
    backdrop-filter: blur(8px);
  }
  
  .hero-panel {
    display: flex;
    justify-content: flex-end;
  }
  
  .hero-card {
    width: 100%;
    max-width: 720px; /* plus large */
    padding: 32px 34px;
  
    border-radius: 28px;
  
    background: linear-gradient(
      135deg,
      rgba(255,255,255,0.85),
      rgba(229,231,235,0.7)
    );
  
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.6);
  
    box-shadow: 0 30px 70px rgba(12, 50, 131, 0.18);
  
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at top right, rgba(245, 159, 10, 0.16), transparent 26%),
      radial-gradient(circle at bottom left, rgba(12, 50, 131, 0.10), transparent 34%);
    pointer-events: none;
  }




  .hero-card h2 {
    font-size: clamp(2rem, 2.8vw, 3rem);
    line-height: 1.1;
    max-width: 520px;
  }
  
  .hero-card > p {
    font-size: 0.98rem;
    margin-top: 14px;
    max-width: 480px;
  }
  
  .mini-badge {
    display: inline-block;
    margin-bottom: 18px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(245, 159, 10, 0.12);
    color: var(--accent);
    font-size: 0.84rem;
    font-weight: 800;
  }
  
  .hero-points {
    margin-top: 24px;
    display: grid;
    gap: 14px;
  }
  
  .hero-point {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 15px 16px;
    border-radius: 18px;
    background: rgba(229, 231, 235, 0.42);
    border: 1px solid rgba(12, 50, 131, 0.08);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  }
  
  .hero-point:hover {
    transform: translateX(6px);
    border-color: rgba(245, 159, 10, 0.34);
    box-shadow: 0 12px 26px rgba(12, 50, 131, 0.10);
  }
  
  .hero-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: var(--blue);
    background: linear-gradient(135deg, rgba(12, 50, 131, 0.12), rgba(245, 159, 10, 0.18));
    flex-shrink: 0;
  }
  
  .hero-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
  }
  
  .hero-point strong {
    display: block;
    color: var(--blue-dark);
    margin-bottom: 4px;
  }
  
  /* ABOUT */
  .about-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 40px;
    align-items: center;
  }
  
  .photo-card {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
  
    height: 620px; /* 🔥 remplace min-height */
  }
  
  .photo-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 36, 95, 0.14), transparent 40%);
    z-index: 1;
    pointer-events: none;
  }
  
  .photo-card img {
    width: 100%;
    height: 100%;
  
    object-fit: cover;
    object-position: center 55%; /* ajuste ici */
  
    display: block; /* 🔥 important pour éviter les gaps */
  
    transition: transform 0.6s ease;
  }
  
  .photo-card:hover img {
    transform: scale(1.03);
  }
  .about-content p + p {
    margin-top: 13px;
  }
  
  .about-features {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  
  .feature-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 20px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(229,231,235,0.6));
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  }
  
  .feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 159, 10, 0.28);
    box-shadow: 0 20px 36px rgba(12, 50, 131, 0.12);
  }
  
  .feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: rgba(12, 50, 131, 0.08);
    color: var(--blue);
    flex-shrink: 0;
  }
  
  .feature-icon svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
  }
  
  /* SERVICES */
  .section-intro {
    max-width: 860px;
    margin: 0 auto 46px;
  }
  
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
  
  .service-card {
    position: relative;
    padding: 28px 24px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(229,231,235,0.66));
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  }
  
  .service-card::after {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    right: -50px;
    bottom: -70px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245,159,10,0.18), transparent 70%);
    transition: transform 0.4s ease;
  }
  
  .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 48px rgba(12, 50, 131, 0.16);
    border-color: rgba(245, 159, 10, 0.32);
  }
  
  .service-card:hover::after {
    transform: scale(1.15);
  }
  
  .service-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: var(--blue);
    background: linear-gradient(135deg, rgba(12, 50, 131, 0.10), rgba(245, 159, 10, 0.18));
  }
  
  .service-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
  }
  
  /* WHITEPAPER */
  .whitepaper-shell {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 28px;
    align-items: center;
    padding: 34px;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(12, 50, 131, 0.05), rgba(245, 159, 10, 0.08));
    border: 1px solid var(--border);
  }
  
  .whitepaper-card {
    position: relative;
    display: block;
    min-height: 320px;
    padding: 32px;
    border-radius: 28px;
    color: var(--white);
    background: linear-gradient(145deg, var(--blue), #153f9f);
    box-shadow: 0 28px 70px rgba(12, 50, 131, 0.30);
    overflow: hidden;
    transition: transform 0.45s ease, box-shadow 0.45s ease;
  }
  
  .whitepaper-card:hover {
    transform: translateY(-10px) rotateX(2deg) rotateY(-2deg);
    box-shadow: 0 38px 90px rgba(12, 50, 131, 0.38);
  }
  
  .whitepaper-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at top left, rgba(245, 159, 10, 0.26), transparent 30%),
      radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.12), transparent 25%);
    pointer-events: none;
  }
  
  .whitepaper-shine {
    position: absolute;
    inset: -120% auto auto -30%;
    width: 50%;
    height: 260%;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.14), transparent);
    transform: rotate(20deg);
    transition: transform 0.8s ease;
  }
  
  .whitepaper-card:hover .whitepaper-shine {
    transform: translateX(420px) rotate(20deg);
  }
  
  .card-topline {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.85rem;
    font-weight: 700;
  }
  
  .whitepaper-card h3,
  .whitepaper-card p,
  .whitepaper-link {
    position: relative;
    z-index: 2;
    color: var(--white);
  }
  
  .whitepaper-card h3 {
    font-size: 1.9rem;
    margin-bottom: 14px;
  }
  
  .whitepaper-card p {
    max-width: 460px;
    opacity: 0.92;
  }
  
  .whitepaper-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
    color: #ffd07a;
    font-weight: 800;
    transition: transform var(--transition), letter-spacing var(--transition);
  }
  
  .whitepaper-card:hover .whitepaper-link {
    transform: translateX(6px);
    letter-spacing: 0.02em;
  }
  
  /* CONTACT */
  .contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 30px;
    align-items: start;
  }
  
  .contact-points {
    margin-top: 24px;
    display: grid;
    gap: 14px;
  }
  
  .contact-point {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(229, 231, 235, 0.45);
    border: 1px solid rgba(12, 50, 131, 0.08);
  }
  
  .contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: var(--blue);
    background: rgba(12, 50, 131, 0.08);
    flex-shrink: 0;
  }
  
  .contact-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
  }
  
  .contact-form {
    padding: 30px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-strong);
  }
  
  .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
  }
  
  .form-group label {
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--blue);
  }
  
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 15px 16px;
    border-radius: 16px;
    border: 1px solid rgba(12, 50, 131, 0.14);
    background: rgba(229, 231, 235, 0.34);
    color: var(--text);
    font: inherit;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  }
  
  .form-group input:focus,
  .form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(245, 159, 10, 0.12);
    transform: translateY(-1px);
  }
  
  .full {
    width: 100%;
  }
  
  /* FOOTER */
  .footer {
    padding: 26px 0;
    background: var(--blue-dark);
    color: rgba(255,255,255,0.86);
    position: relative;
    overflow: hidden;
  }
  
  .footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(245,159,10,0.12), transparent);
    transform: translateX(-100%);
    animation: footerShine 7s linear infinite;
  }
  
  @keyframes footerShine {
    to {
      transform: translateX(100%);
    }
  }
  
  .footer-inner {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
  }
  
  .footer-inner p {
    color: rgba(255,255,255,0.85);
  }
  
  .footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .footer-links a {
    color: rgba(255,255,255,0.86);
    transition: color var(--transition), transform var(--transition);
  }
  
  .footer-links a:hover {
    color: var(--accent);
    transform: translateY(-2px);
  }
  
  /* RESPONSIVE */
  @media (max-width: 1040px) {
    .hero-content,
    .about-grid,
    .whitepaper-shell,
    .contact-grid,
    .services-grid {
      grid-template-columns: 1fr;
    }
  
    .hero-panel {
      justify-content: flex-start;
    }
  
    .photo-card,
    .photo-card img {
      min-height: 520px;
    }
  }
  
  @media (max-width: 720px) {
    .section {
      padding: 85px 0;
    }
  
    .navbar {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .nav-links {
      gap: 16px;
    }
  
    .hero-actions {
      flex-direction: column;
      align-items: stretch;
    }
  
    .btn {
      width: 100%;
    }
  
    .about-features {
      grid-template-columns: 1fr;
    }
  
    .hero-card,
    .contact-form,
    .whitepaper-shell,
    .whitepaper-card {
      padding: 24px;
    }
  
    .photo-card,
    .photo-card img {
      min-height: 420px;
    }
  }






  