/* index.css — Page specific styles for Kay'Connect x Kay'Secure */


  :root {
    --bleu: #1A3A6B;
    --bleu-clair: #2E86C1;
    --orange: #E8720C;
    --orange-light: #F5924A;
    --dark: #0A1628;
    --gris: #F4F6FA;
    --texte: #2C3E50;
    --blanc: #ffffff;
  }

  * { margin:0; padding:0; box-sizing:border-box; -webkit-tap-highlight-color:transparent; }
  html { scroll-behavior:smooth; }
  body { font-family:'DM Sans',sans-serif; color:var(--texte); background:var(--blanc); overflow-x:hidden; }

  /* ── NAV MOBILE ── */
  nav {
    position:fixed; top:0; left:0; right:0; z-index:200;
    display:flex; align-items:center; justify-content:space-between;
    padding:0 20px;
    height:120px;
    background:#ffffff;
    border-bottom:4px solid var(--orange);
    box-shadow:0 4px 20px rgba(0,0,0,0.12);
  }

  .nav-logo img { height:100px; width:auto; display:block; max-width:75vw; }

  .hamburger {
    display:flex; flex-direction:column; gap:5px;
    cursor:pointer; padding:8px; background:none; border:none;
  }
  .hamburger span {
    display:block; width:24px; height:2.5px;
    background:var(--bleu); border-radius:2px;
    transition:all 0.3s;
  }
  .hamburger.open span:nth-child(1) { transform:rotate(45deg) translate(5px,5px); }
  .hamburger.open span:nth-child(2) { opacity:0; }
  .hamburger.open span:nth-child(3) { transform:rotate(-45deg) translate(5px,-5px); }

  /* Mobile menu overlay */
  .mobile-menu {
    position:fixed; top:120px; left:0; right:0; bottom:0; z-index:190;
    background:rgba(10,22,40,0.98);
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    gap:10px;
    transform:translateX(100%);
    transition:transform 0.35s cubic-bezier(0.4,0,0.2,1);
  }
  .mobile-menu.open { transform:translateX(0); }

  .mobile-menu a {
    font-family:'Syne',sans-serif;
    font-size:24px; font-weight:700; color:white;
    text-decoration:none; padding:14px 32px; border-radius:12px;
    transition:background 0.2s, color 0.2s;
    width:80%; text-align:center;
  }
  .mobile-menu a:hover, .mobile-menu a:active { background:rgba(232,114,12,0.15); color:var(--orange); }

  .mobile-menu .menu-cta {
    margin-top:16px;
    background:var(--orange); color:white !important;
    font-size:16px !important;
    box-shadow:0 8px 24px rgba(232,114,12,0.4);
  }

  .mobile-menu .menu-contact {
    margin-top:24px; text-align:center;
  }
  .mobile-menu .menu-contact a {
    font-size:14px; color:rgba(255,255,255,0.4);
    font-family:'DM Sans',sans-serif; font-weight:400;
    width:auto; padding:4px 8px;
  }

  /* ── HERO ── */
  .hero {
    min-height:100svh;
    background:var(--dark);
    padding:150px 20px 60px;
    position:relative; overflow:hidden;
    display:flex; flex-direction:column; justify-content:center;
  }

  .hero-bg {
    position:absolute; inset:0;
    background:
      radial-gradient(ellipse 80% 50% at 50% 30%, rgba(46,134,193,0.13) 0%, transparent 70%),
      radial-gradient(ellipse 60% 40% at 80% 80%, rgba(232,114,12,0.1) 0%, transparent 60%);
  }
  .hero-bg::after {
    content:'';
    position:absolute; inset:0;
    background-image:
      linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size:40px 40px;
  }

  .hero-content { position:relative; z-index:1; }

  .hero-badge {
    display:inline-flex; align-items:center; gap:8px;
    background:rgba(232,114,12,0.15);
    border:1px solid rgba(232,114,12,0.4);
    border-radius:100px; padding:7px 14px;
    font-size:11px; font-weight:600; color:var(--orange);
    letter-spacing:0.08em; text-transform:uppercase;
    margin-bottom:24px;
  }
  .hero-badge .dot {
    width:7px; height:7px; border-radius:50%;
    background:var(--orange);
    animation:blink 2s ease-in-out infinite;
  }
  @keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

  .hero h1 {
    font-family:'Syne',sans-serif;
    font-size:clamp(40px, 11vw, 56px);
    font-weight:800; line-height:1.05; color:white;
    margin-bottom:20px;
    animation:fade-up 0.6s ease both;
  }
  .hero h1 .accent { color:var(--orange); }
  .hero h1 .accent-blue { color:var(--bleu-clair); }

  .hero-sub {
    font-size:15px; color:rgba(255,255,255,0.55);
    line-height:1.7; margin-bottom:32px;
    animation:fade-up 0.6s ease 0.1s both;
  }

  .hero-actions {
    display:flex; flex-direction:column; gap:12px;
    animation:fade-up 0.6s ease 0.2s both;
  }

  .btn-primary {
    background:var(--orange); color:white;
    padding:17px 24px; border-radius:12px;
    font-weight:700; font-size:16px;
    text-decoration:none; text-align:center;
    display:block; border:none; cursor:pointer;
    transition:all 0.2s;
    box-shadow:0 4px 20px rgba(232,114,12,0.35);
  }
  .btn-primary:active { transform:scale(0.98); }

  .btn-outline {
    background:transparent; color:white;
    padding:16px 24px; border-radius:12px;
    font-weight:500; font-size:15px;
    text-decoration:none; text-align:center;
    display:block; border:1.5px solid rgba(255,255,255,0.2);
    transition:all 0.2s;
  }
  .btn-outline:active { background:rgba(255,255,255,0.05); }

  .hero-stats {
    display:flex; gap:0; margin-top:44px;
    border-top:1px solid rgba(255,255,255,0.08);
    padding-top:28px;
    animation:fade-up 0.6s ease 0.3s both;
  }
  .stat { flex:1; text-align:center; }
  .stat + .stat { border-left:1px solid rgba(255,255,255,0.08); }
  .stat-num {
    font-family:'Syne',sans-serif;
    font-size:26px; font-weight:800; color:white;
  }
  .stat-num span { color:var(--orange); }
  .stat-label { font-size:11px; color:rgba(255,255,255,0.35); margin-top:3px; }

  @keyframes fade-up {
    from { opacity:0; transform:translateY(16px); }
    to { opacity:1; transform:translateY(0); }
  }

  /* ── SECTION BASE ── */
  section { padding:64px 20px; }

  .section-label {
    font-size:11px; font-weight:700; letter-spacing:0.14em;
    text-transform:uppercase; color:var(--orange); margin-bottom:10px;
  }
  .section-title {
    font-family:'Syne',sans-serif;
    font-size:clamp(24px, 7vw, 32px);
    font-weight:800; color:var(--bleu); line-height:1.15;
    margin-bottom:32px;
  }
  .section-title .ul { position:relative; display:inline-block; }
  .section-title .ul::after {
    content:''; position:absolute; left:0; bottom:-4px; right:0; height:3px;
    background:var(--orange); border-radius:2px;
  }

  /* ── SERVICES ── */
  .services { background:var(--gris); }

  .services-grid {
    display:flex; flex-direction:column; gap:14px;
  }

  .service-card {
    background:white; border-radius:14px;
    padding:22px 20px;
    border:1px solid rgba(0,0,0,0.06);
    display:flex; gap:16px; align-items:flex-start;
    transition:transform 0.2s;
    position:relative; overflow:hidden;
  }
  .service-card::before {
    content:''; position:absolute; left:0; top:0; bottom:0; width:3px;
    background:var(--orange);
  }
  .service-card:nth-child(2)::before { background:var(--bleu); }
  .service-card:nth-child(3)::before { background:var(--bleu-clair); }
  .service-card:nth-child(4)::before { background:linear-gradient(180deg,var(--orange),var(--bleu-clair)); }

  .service-card:active { transform:scale(0.99); }

  .service-icon {
    width:46px; height:46px; border-radius:10px;
    display:flex; align-items:center; justify-content:center;
    flex-shrink:0;
  }
  .icon-orange { background:rgba(232,114,12,0.1); color:var(--orange); }
  .icon-blue { background:rgba(26,58,107,0.1); color:var(--bleu); }
  .icon-blue-light { background:rgba(46,134,193,0.1); color:var(--bleu-clair); }
  .icon-green { background:rgba(26,107,74,0.1); color:#1A6B4A; }

  .service-info h3 {
    font-family:'Syne',sans-serif;
    font-size:16px; font-weight:700; color:var(--bleu); margin-bottom:6px;
  }
  .service-info p { font-size:13px; color:#6B7280; line-height:1.6; }

  /* ── ABOUT ── */
  .about { background:white; }

  .about-visual {
    border-radius:18px; overflow:hidden; margin-bottom:32px;
    background:linear-gradient(135deg, var(--bleu) 0%, var(--bleu-clair) 50%, var(--dark) 100%);
    padding:40px 24px;
    position:relative;
  }
  .about-visual::before {
    content:''; position:absolute; inset:0;
    background-image:
      linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size:28px 28px;
  }

  .about-stats-row {
    display:flex; gap:12px; position:relative; z-index:1;
  }

  .about-stat-box {
    flex:1; background:rgba(255,255,255,0.1);
    backdrop-filter:blur(10px);
    border:1px solid rgba(255,255,255,0.15);
    border-radius:12px; padding:16px 12px; text-align:center;
  }
  .about-stat-box .num {
    font-family:'Syne',sans-serif;
    font-size:22px; font-weight:800; color:white;
  }
  .about-stat-box .num span { color:var(--orange); }
  .about-stat-box .lbl { font-size:11px; color:rgba(255,255,255,0.5); margin-top:2px; }

  .live-badge {
    margin-top:16px; position:relative; z-index:1;
    display:flex; align-items:center; gap:10px;
    background:rgba(255,255,255,0.1);
    border:1px solid rgba(255,255,255,0.15);
    border-radius:10px; padding:12px 16px;
  }
  .live-dot {
    width:9px; height:9px; border-radius:50%; background:#22C55E;
    box-shadow:0 0 0 3px rgba(34,197,94,0.3);
    animation:blink 2s infinite; flex-shrink:0;
  }
  .live-text { font-size:13px; color:white; font-weight:500; }
  .live-text small { display:block; font-size:11px; color:rgba(255,255,255,0.4); }

  .about-list { list-style:none; display:flex; flex-direction:column; gap:12px; margin:20px 0 24px; }
  .about-list li { display:flex; gap:10px; font-size:14px; color:var(--texte); align-items:flex-start; }
  .check {
    width:20px; height:20px; border-radius:50%;
    background:rgba(232,114,12,0.1);
    display:flex; align-items:center; justify-content:center;
    flex-shrink:0; color:var(--orange); font-size:10px; font-weight:700;
  }

  /* ── TARGETS ── */
  .targets { background:var(--dark); }
  .targets .section-title { color:white; }

  .targets-tabs {
    display:flex; gap:8px; margin-bottom:20px; overflow-x:auto;
    scrollbar-width:none; -webkit-overflow-scrolling:touch;
  }
  .targets-tabs::-webkit-scrollbar { display:none; }

  .tab-btn {
    padding:9px 18px; border-radius:100px;
    font-family:'DM Sans',sans-serif; font-size:13px; font-weight:600;
    white-space:nowrap; cursor:pointer; border:none;
    background:rgba(255,255,255,0.08); color:rgba(255,255,255,0.5);
    transition:all 0.2s;
  }
  .tab-btn.active { background:var(--orange); color:white; }

  .target-panel { display:none; }
  .target-panel.active { display:block; }

  .target-card {
    border-radius:16px; padding:28px 22px;
  }
  .target-card.blue { background:var(--bleu); }
  .target-card.orange { background:var(--orange); }
  .target-card.light { background:var(--bleu-clair); }

  .target-card h3 {
    font-family:'Syne',sans-serif;
    font-size:20px; font-weight:700; color:white; margin-bottom:16px;
  }
  .target-card ul { list-style:none; display:flex; flex-direction:column; gap:10px; }
  .target-card li { font-size:14px; color:rgba(255,255,255,0.8); display:flex; gap:10px; }
  .target-card li::before { content:'→'; color:rgba(255,255,255,0.4); flex-shrink:0; }

  /* ── HOW ── */
  .how { background:var(--gris); }

  .steps { display:flex; flex-direction:column; gap:0; position:relative; }
  .steps::before {
    content:''; position:absolute; left:22px; top:28px; bottom:28px; width:2px;
    background:linear-gradient(180deg, var(--orange), var(--bleu-clair));
  }

  .step {
    display:flex; gap:18px; align-items:flex-start;
    padding:0 0 28px 0; position:relative; z-index:1;
  }
  .step:last-child { padding-bottom:0; }

  .step-num {
    width:46px; height:46px; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    font-family:'Syne',sans-serif; font-weight:800; font-size:16px;
    color:white; flex-shrink:0;
  }
  .step:nth-child(1) .step-num { background:var(--orange); }
  .step:nth-child(2) .step-num { background:var(--bleu); }
  .step:nth-child(3) .step-num { background:var(--bleu-clair); }
  .step:nth-child(4) .step-num { background:linear-gradient(135deg,var(--orange),var(--bleu-clair)); }

  .step-info { padding-top:10px; }
  .step-info h4 {
    font-family:'Syne',sans-serif;
    font-size:16px; font-weight:700; color:var(--bleu); margin-bottom:5px;
  }
  .step-info p { font-size:13px; color:#9CA3AF; line-height:1.6; }

  /* ── QUOTE ── */
  .quote-section {
    background:var(--bleu); padding:56px 24px; text-align:center;
  }
  .quote-mark {
    font-family:'Syne',sans-serif; font-size:80px; font-weight:800;
    color:rgba(255,255,255,0.08); line-height:0.6; display:block; margin-bottom:20px;
  }
  .quote-text {
    font-family:'Syne',sans-serif;
    font-size:clamp(17px,5vw,22px); font-weight:700; color:white; line-height:1.5;
  }
  .quote-text em { color:var(--orange); font-style:normal; }
  .quote-author { margin-top:16px; font-size:12px; color:rgba(255,255,255,0.35); letter-spacing:0.06em; text-transform:uppercase; }

  /* ── CONTACT ── */
  .contact { background:white; }

  .contact-info {
    display:flex; flex-direction:column; gap:12px; margin-bottom:28px;
  }

  .contact-row {
    display:flex; align-items:center; gap:14px;
    background:var(--gris); border-radius:12px; padding:14px 16px;
    text-decoration:none;
  }
  .contact-row:active { background:#E8EDF5; }

  .contact-icon {
    width:42px; height:42px; border-radius:10px;
    background:rgba(232,114,12,0.1);
    display:flex; align-items:center; justify-content:center; flex-shrink:0;
    color:var(--orange);
  }
  .contact-label { font-size:11px; color:#9CA3AF; font-weight:500; }
  .contact-value { font-size:15px; font-weight:600; color:var(--bleu); }

  .contact-form {
    background:var(--gris); border-radius:18px; padding:24px 20px;
  }
  .form-title {
    font-family:'Syne',sans-serif;
    font-size:17px; font-weight:700; color:var(--bleu); margin-bottom:20px;
    display:flex; align-items:center; gap:10px;
  }
  .form-title span {
    background:var(--orange); color:white;
    font-size:10px; padding:3px 8px; border-radius:4px;
  }

  .form-row { margin-bottom:14px; }
  .form-row label { display:block; font-size:12px; font-weight:600; color:var(--bleu); margin-bottom:6px; }
  .form-row input, .form-row select, .form-row textarea {
    width:100%; padding:13px 14px;
    border:1.5px solid rgba(0,0,0,0.1); border-radius:10px;
    font-family:'DM Sans',sans-serif; font-size:15px; color:var(--texte);
    background:white; outline:none; -webkit-appearance:none;
    transition:border-color 0.2s;
  }
  .form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color:var(--orange); }
  .form-row textarea { height:90px; resize:none; }
  .form-submit {
    width:100%; padding:16px;
    background:var(--orange); color:white; border:none;
    border-radius:12px; font-family:'Syne',sans-serif;
    font-size:16px; font-weight:700; cursor:pointer;
    transition:all 0.2s; margin-top:4px;
    box-shadow:0 4px 20px rgba(232,114,12,0.35);
  }
  .form-submit:active { transform:scale(0.98); }

  /* ── FOOTER ── */
  footer {
    background:var(--dark);
    border-top:2.5px solid var(--orange);
    padding:40px 20px 32px;
  }

  .footer-logo { margin-bottom:14px; }
  .footer-logo img {
    height:60px; width:auto;
    filter:brightness(0) invert(1);
  }

  footer p.tagline {
    font-size:13px; color:rgba(255,255,255,0.4); line-height:1.7; margin-bottom:16px;
  }

  .footer-location {
    display:inline-flex; align-items:center; gap:6px;
    font-size:12px; color:var(--orange);
    background:rgba(232,114,12,0.1); padding:6px 12px; border-radius:100px;
    border:1px solid rgba(232,114,12,0.2); margin-bottom:28px;
  }

  .footer-links {
    display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-bottom:28px;
  }
  .footer-col h4 {
    font-family:'Syne',sans-serif; font-size:12px; font-weight:700;
    color:white; letter-spacing:0.06em; text-transform:uppercase; margin-bottom:12px;
  }
  .footer-col ul { list-style:none; display:flex; flex-direction:column; gap:8px; }
  .footer-col a { font-size:13px; color:rgba(255,255,255,0.35); text-decoration:none; }

  .footer-bottom {
    border-top:1px solid rgba(255,255,255,0.07);
    padding-top:20px; text-align:center;
  }
  .footer-bottom p { font-size:11px; color:rgba(255,255,255,0.2); }

  /* Reveal */
  .reveal { opacity:0; transform:translateY(20px); transition:opacity 0.5s ease, transform 0.5s ease; }
  .reveal.visible { opacity:1; transform:translateY(0); }

  /* Sticky CTA bottom bar */
  .sticky-cta {
    position:fixed; bottom:0; left:0; right:0; z-index:150;
    padding:12px 16px;
    background:rgba(10,22,40,0.97);
    border-top:1px solid rgba(232,114,12,0.3);
    backdrop-filter:blur(12px);
    display:flex; gap:10px;
    transform:translateY(100%);
    transition:transform 0.4s ease;
  }
  .sticky-cta.visible { transform:translateY(0); }
  .sticky-cta a {
    flex:1; text-align:center; padding:13px;
    border-radius:10px; font-weight:700; font-size:14px; text-decoration:none;
    transition:all 0.2s;
  }
  .sticky-cta .cta-call { background:rgba(255,255,255,0.08); color:white; border:1px solid rgba(255,255,255,0.15); }
  .sticky-cta .cta-devis { background:var(--orange); color:white; }

  /* ============================================
     DESKTOP OVERRIDES (768px+)
     ============================================ */
  @media (min-width: 768px) {
    /* Nav */
    nav { padding: 0 5vw; height: 88px; }
    .nav-logo img { height: 72px; }
    .hamburger { display: none; }
    .mobile-menu { display: none !important; }
    .sticky-cta { display: none; }

    /* Hero */
    .hero { padding: 160px 5vw 100px; }
    .hero-content { max-width: 700px; margin: 0 auto; text-align: center; }
    .hero h1 { font-size: clamp(48px, 5vw, 64px); text-align: center; }
    .hero-badge { margin-left: auto; margin-right: auto; }
    .hero-sub { font-size: 17px; max-width: 540px; margin-left: auto; margin-right: auto; text-align: center; }
    .hero-actions { flex-direction: row; gap: 16px; justify-content: center; }
    .btn-primary, .btn-outline { display: inline-block; width: auto; }
    .hero-stats { max-width: 480px; margin-left: auto; margin-right: auto; }

    /* Sections */
    section { padding: 80px 5vw; }
    .section-label { text-align: center; }
    .section-title { font-size: clamp(28px, 3.5vw, 40px); text-align: center; }

    /* Services grid */
    .services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; margin: 0 auto; }

    /* About */
    .about-visual { max-width: 600px; margin-left: auto; margin-right: auto; }
    .about p { text-align: center; }
    .about-list { max-width: 520px; margin-left: auto; margin-right: auto; }
    .about .btn-primary { display: block; max-width: 280px; margin: 0 auto; text-align: center; }

    /* Targets */
    .targets-tabs { justify-content: center; }
    .target-card { max-width: 600px; margin: 0 auto; }

    /* Steps - horizontal */
    .steps { flex-direction: row; align-items: flex-start; max-width: 900px; margin: 0 auto; }
    .steps::before { display: none; }
    .step { flex-direction: column; text-align: center; flex: 1; padding: 0 16px; }
    .step-num { margin: 0 auto; }
    .step-info { padding-top: 16px; text-align: center; }

    /* Quote */
    .quote-section { padding: 72px 5vw; }
    .quote-text { font-size: clamp(20px, 2.5vw, 28px); max-width: 700px; margin: 0 auto; }

    /* Contact */
    .contact-info { flex-direction: row; max-width: 700px; margin: 0 auto 28px; }
    .contact-row { flex: 1; }
    .contact-form { max-width: 600px; margin-left: auto; margin-right: auto; }

    /* Footer */
    footer { padding: 48px 5vw 32px; }
    .footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; max-width: 1100px; margin: 0 auto; }
    .footer-links { display: contents; }
    .footer-bottom { display: flex; justify-content: space-between; align-items: center; text-align: left; max-width: 1100px; margin-left: auto; margin-right: auto; }
  }

  @media (min-width: 1024px) {
    nav { padding: 0 8vw; }
    .hero { padding: 160px 8vw 100px; }
    section { padding: 100px 8vw; }
    .quote-section { padding: 80px 8vw; }
    footer { padding: 48px 8vw 32px; }
  }

  @media (min-width: 1280px) {
    nav { padding: 0 calc(50vw - 580px); }
    .hero { padding-left: calc(50vw - 580px); padding-right: calc(50vw - 580px); }
    section { padding-left: calc(50vw - 580px); padding-right: calc(50vw - 580px); }
    .quote-section { padding-left: calc(50vw - 580px); padding-right: calc(50vw - 580px); }
    footer { padding-left: calc(50vw - 580px); padding-right: calc(50vw - 580px); }
  }

/* ── CONTACT CTA BLOCK (sans formulaire) ── */
.contact-cta-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
  width: 100%;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.contact-btn-devis {
  display: block;
  text-align: center;
  padding: 18px 28px;
  font-size: 16px;
}
.contact-btn-tel {
  display: block;
  text-align: center;
  padding: 16px 28px;
  font-size: 15px;
}
@media (min-width: 768px) {
  .contact-cta-block {
    flex-direction: row;
    justify-content: center;
    max-width: 600px;
  }
  .contact-btn-devis,
  .contact-btn-tel {
    flex: 1;
  }
}
