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

  :root {
    --navy: #0f2137;
    --navy-mid: #1a3050;
    --navy-light: #274270;
    --steel: #4e6f96;
    --accent: #2e7d32;
    --accent-warm: #3a9e40;
    --gold: #c9a84c;
    --white: #f8f5f0;
    --gray-light: #e8e4dd;
    --gray-muted: #b8c4d4;
    --font-display: 'Barlow Condensed', sans-serif;
    --font-body: 'Barlow', sans-serif;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: var(--font-body);
    background: var(--navy);
    color: var(--white);
    overflow-x: hidden;
  }

  /* ── NAV ── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.2rem 5vw;
    background: rgba(10,22,40,0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-logo {
    font-family: var(--font-display);
    font-weight: 800; font-size: 1.3rem;
    letter-spacing: 0.04em;
    color: var(--white);
    text-decoration: none;
  }
  .nav-logo span { color: var(--accent); }
  .nav-links { display: flex; gap: 2.5rem; list-style: none; }
  .nav-links a {
    font-size: 0.82rem; font-weight: 500; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--gray-muted);
    text-decoration: none; transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--white); }
  .nav-cta {
    background: var(--accent); color: var(--white) !important;
    padding: 0.5rem 1.2rem; border-radius: 2px;
    font-weight: 500 !important; letter-spacing: 0.05em !important;
    transition: background 0.2s !important;
  }
  .nav-cta:hover { background: #3a9e40 !important; color: var(--white) !important; }

  /* ── HERO ── */
  #hero {
    min-height: 100vh;
    display: grid; grid-template-columns: 1fr 1fr;
    align-items: center; padding: 8rem 5vw 4rem;
    position: relative; overflow: hidden;
  }
  .hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background:
      radial-gradient(ellipse 60% 70% at 80% 50%, rgba(61,90,128,0.25) 0%, transparent 70%),
      radial-gradient(ellipse 40% 40% at 20% 80%, rgba(46,125,50,0.1) 0%, transparent 60%);
  }
  .hero-grid-lines {
    position: absolute; inset: 0; z-index: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 60px 60px;
  }
  .hero-content { position: relative; z-index: 1; padding-right: 3rem; }
  .hero-tag {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--accent);
    border: 1px solid rgba(46,125,50,0.4); padding: 0.35rem 0.85rem;
    border-radius: 2px; margin-bottom: 1.8rem;
  }
  .hero-tag::before {
    content: ''; display: inline-block;
    width: 6px; height: 6px; background: var(--accent);
    border-radius: 50%; animation: pulse 2s infinite;
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.4); }
  }
  .hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 4.5vw, 4.2rem);
    font-weight: 800; line-height: 1.05;
    letter-spacing: 0.04em; margin-bottom: 1.5rem; text-transform: uppercase;
  }
  .hero-title em { font-style: normal; color: var(--accent); }
  .hero-title .line2 { color: var(--gray-muted); font-weight: 400; }
  .hero-sub {
    font-size: 1.05rem; font-weight: 300; line-height: 1.75;
    color: var(--gray-muted); max-width: 480px; margin-bottom: 2.5rem;
  }
  .hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
  .btn-primary {
    background: var(--accent); color: var(--white);
    padding: 0.9rem 2rem; font-family: var(--font-body);
    font-size: 0.9rem; font-weight: 500; letter-spacing: 0.04em;
    border: none; border-radius: 2px; cursor: pointer;
    text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem;
    transition: background 0.2s, transform 0.15s;
  }
  .btn-primary:hover { background: #3a9e40; transform: translateY(-1px); }
  .btn-secondary {
    background: transparent; color: var(--white);
    padding: 0.9rem 2rem; font-family: var(--font-body);
    font-size: 0.9rem; font-weight: 400; letter-spacing: 0.04em;
    border: 1px solid rgba(255,255,255,0.2); border-radius: 2px;
    cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem;
    transition: border-color 0.2s, transform 0.15s;
  }
  .btn-secondary:hover { border-color: rgba(255,255,255,0.5); transform: translateY(-1px); }
  .hero-stats { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-end; }
  .stat-card {
    background: rgba(17,34,64,0.8); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px; padding: 1.5rem 2rem;
    display: flex; align-items: center; gap: 1.5rem; width: 100%; max-width: 340px;
    backdrop-filter: blur(8px);
  }
  .stat-num {
    font-family: var(--font-display);
    font-size: 2.8rem; font-weight: 800;
    color: var(--accent); line-height: 1;
    min-width: 80px;
  }
  .stat-label { font-size: 0.85rem; font-weight: 300; color: var(--gray-muted); line-height: 1.4; }
  .stat-label strong { display: block; font-weight: 500; color: var(--white); font-size: 0.95rem; margin-bottom: 0.1rem; }

  .hero-scroll {
    position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
    z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
    font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gray-muted);
  }
  .scroll-line {
    width: 1px; height: 48px;
    background: linear-gradient(to bottom, var(--gray-muted), transparent);
    animation: scrollDown 2s infinite;
  }
  @keyframes scrollDown {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
  }

  /* ── SECTION BASE ── */
  section { padding: 7rem 5vw; }
  .section-label {
    font-size: 0.72rem; font-weight: 500; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--accent); margin-bottom: 0.8rem;
    display: flex; align-items: center; gap: 0.75rem;
  }
  .section-label::before {
    content: ''; display: block;
    width: 24px; height: 1px; background: var(--accent);
  }
  .section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700; line-height: 1.1;
    letter-spacing: 0.04em; margin-bottom: 1rem; text-transform: uppercase;
  }
  .section-title em { font-style: normal; color: var(--accent); }
  .section-desc {
    font-size: 1rem; font-weight: 300; line-height: 1.8;
    color: var(--gray-muted); max-width: 560px;
  }

  /* ── ABOUT ── */
  #about { background: var(--navy-mid); }
  .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; margin-top: 4rem; }
  .about-text p {
    font-size: 1rem; font-weight: 300; line-height: 1.85;
    color: var(--gray-muted); margin-bottom: 1.2rem;
  }
  .about-text p strong { color: var(--white); font-weight: 500; }
  .about-features { display: grid; gap: 0; }
  .feat-item {
    display: flex; gap: 1.2rem; padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    align-items: flex-start;
  }
  .feat-item:last-child { border-bottom: none; }
  .feat-icon {
    width: 40px; height: 40px; flex-shrink: 0;
    background: rgba(46,125,50,0.12); border: 1px solid rgba(46,125,50,0.25);
    border-radius: 4px; display: flex; align-items: center; justify-content: center;
    color: var(--accent);
  }
  .feat-icon svg { width: 20px; height: 20px; }
  .feat-text h4 { font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; margin-bottom: 0.3rem; }
  .feat-text p { font-size: 0.85rem; color: var(--gray-muted); line-height: 1.6; font-weight: 300; }

  /* ── SERVICES ── */
  #services { background: var(--navy); }
  .services-header { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 2rem; margin-bottom: 3.5rem; }
  .services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.06); }
  .service-card {
    background: var(--navy); padding: 2.5rem;
    transition: background 0.3s;
    position: relative; overflow: hidden;
  }
  .service-card::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 0; height: 2px; background: var(--accent);
    transition: width 0.4s ease;
  }
  .service-card:hover { background: var(--navy-mid); }
  .service-card:hover::before { width: 100%; }
  .service-num {
    font-family: var(--font-display);
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em;
    color: var(--accent); margin-bottom: 1.2rem; opacity: 0.7;
  }
  .service-card h3 {
    font-family: var(--font-display); font-size: 1.25rem; font-weight: 700;
    margin-bottom: 0.8rem; line-height: 1.2;
  }
  .service-card p { font-size: 0.88rem; color: var(--gray-muted); line-height: 1.75; font-weight: 300; margin-bottom: 1.2rem; }
  .service-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
  .tag {
    font-size: 0.72rem; font-weight: 500; letter-spacing: 0.06em;
    color: var(--gray-muted); border: 1px solid rgba(255,255,255,0.12);
    padding: 0.25rem 0.65rem; border-radius: 2px;
  }

  /* ── SECTORS ── */
  #sectors { background: var(--navy-mid); }
  .sectors-wrap { margin-top: 3rem; }
  .sectors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.5rem; }
  .sector-item {
    border: 1px solid rgba(255,255,255,0.08); padding: 1.5rem 1.2rem;
    border-radius: 2px; text-align: center;
    transition: border-color 0.2s;
    position: relative; overflow: hidden;
  }
  .sector-item:hover { border-color: var(--accent); }
  .sector-item > * { position: relative; z-index: 1; }
  .sector-item .sector-bg-img {
    position: absolute; inset: 0; z-index: 0;
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    opacity: 0.07;
    transition: opacity 0.3s;
    pointer-events: none;
  }
  .sector-item:hover .sector-bg-img { opacity: 0.15; }
  .sector-icon { width: 32px; height: 32px; margin: 0 auto 0.7rem; color: var(--accent); }
  .sector-icon svg { width: 32px; height: 32px; }
  .sector-item h4 { font-family: var(--font-display); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

  /* ── REALISATIONS ── */
  #realisations { background: var(--navy); }
  .real-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3.5rem; }
  .real-card {
    background: var(--navy-mid); border: 1px solid rgba(255,255,255,0.07);
    border-radius: 2px; overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
  }
  .real-card:hover { transform: translateY(-4px); border-color: rgba(46,125,50,0.3); }
  .real-img {
    aspect-ratio: 16/10; overflow: hidden;
    background: var(--navy-light);
    display: flex; align-items: center; justify-content: center;
    position: relative;
  }
  .real-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .real-img-placeholder {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem;
    color: var(--gray-muted); font-size: 0.8rem; text-align: center; padding: 1rem;
    width: 100%; height: 100%;
  }
  .real-img-placeholder .icon { font-size: 2rem; opacity: 0.4; }
  .real-body { padding: 1.5rem; }
  .real-type {
    font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--accent); margin-bottom: 0.5rem;
  }
  .real-body h3 { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; line-height: 1.3; color: var(--white); }

  /* ── OUTILS ── */
  #outils { background: var(--navy-mid); }
  .outils-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-top: 3.5rem; }
  .outil-list { display: flex; flex-direction: column; gap: 1rem; }
  .outil-item {
    display: flex; align-items: center; gap: 1.2rem;
    padding: 1.2rem 1.5rem;
    background: rgba(10,22,40,0.6); border: 1px solid rgba(255,255,255,0.07);
    border-radius: 2px;
    transition: border-color 0.2s;
  }
  .outil-item:hover { border-color: rgba(46,125,50,0.3); }
  .outil-badge {
    background: rgba(46,125,50,0.15); border: 1px solid rgba(46,125,50,0.3);
    color: var(--accent); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
    padding: 0.3rem 0.6rem; border-radius: 2px; white-space: nowrap;
  }
  .outil-item span { font-size: 0.9rem; color: var(--gray-muted); font-weight: 300; }
  .outil-item span strong { color: var(--white); font-weight: 500; }
  .impression-block {
    background: rgba(10,22,40,0.7); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px; padding: 2.5rem;
  }
  .impression-block h3 {
    font-family: var(--font-display); font-size: 1.3rem; font-weight: 700;
    margin-bottom: 1rem; color: var(--white);
  }
  .impression-block p { font-size: 0.9rem; color: var(--gray-muted); line-height: 1.75; font-weight: 300; margin-bottom: 1rem; }
  .print-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }

  /* ── CONTACT ── */
  #contact { background: var(--navy); }
  .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; margin-top: 4rem; }
  .contact-info h3 {
    font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
    margin-bottom: 1rem;
  }
  .contact-info p { font-size: 0.92rem; color: var(--gray-muted); line-height: 1.8; font-weight: 300; margin-bottom: 2rem; }
  .contact-details { display: flex; flex-direction: column; gap: 1rem; }
  .contact-row {
    display: flex; align-items: center; gap: 1rem;
    font-size: 0.9rem;
  }
  .contact-row-icon {
    width: 36px; height: 36px; flex-shrink: 0;
    background: rgba(46,125,50,0.1); border: 1px solid rgba(46,125,50,0.2);
    border-radius: 4px; display: flex; align-items: center; justify-content: center;
    font-size: 0.95rem;
  }
  .contact-row a { color: var(--white); text-decoration: none; }
  .contact-row a:hover { color: var(--accent); }
  .contact-form { display: flex; flex-direction: column; gap: 1rem; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .form-group { display: flex; flex-direction: column; gap: 0.4rem; }
  .form-group label { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-muted); }
  .form-group input,
  .form-group textarea,
  .form-group select {
    background: rgba(17,34,64,0.8); border: 1px solid rgba(255,255,255,0.1);
    color: var(--white); font-family: var(--font-body); font-size: 0.9rem;
    padding: 0.75rem 1rem; border-radius: 2px; outline: none;
    transition: border-color 0.2s;
  }
  .form-group input:focus,
  .form-group textarea:focus,
  .form-group select:focus { border-color: var(--accent); }
  .form-group textarea { resize: vertical; min-height: 120px; }
  .form-group select option { background: var(--navy-mid); }

  /* ── FOOTER ── */
  footer {
    background: var(--navy-mid); border-top: 1px solid rgba(255,255,255,0.06);
    padding: 3rem 5vw;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem;
  }
  .footer-logo {
    font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
    letter-spacing: 0.04em; color: var(--white);
  }
  .footer-logo span { color: var(--accent); }
  .footer-links { display: flex; gap: 2rem; flex-wrap: wrap; }
  .footer-links a { font-size: 0.8rem; color: var(--gray-muted); text-decoration: none; letter-spacing: 0.05em; transition: color 0.2s; }
  .footer-links a:hover { color: var(--white); }
  .footer-copy { font-size: 0.75rem; color: rgba(158,168,184,0.5); }
  .social-row { display: flex; gap: 0.75rem; }
  .social-btn {
    width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.12);
    border-radius: 2px; display: flex; align-items: center; justify-content: center;
    color: var(--gray-muted); font-size: 0.8rem; font-weight: 700;
    text-decoration: none; transition: border-color 0.2s, color 0.2s;
  }
  .social-btn:hover { border-color: var(--accent); color: var(--accent); }

  /* ── RESPONSIVE ── */
  @media (max-width: 900px) {
    #hero { grid-template-columns: 1fr; padding-top: 7rem; }
    .hero-stats { align-items: flex-start; margin-top: 3rem; }
    .stat-card { max-width: 100%; }
    .about-grid, .outils-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .services-grid { grid-template-columns: 1fr; }
    .real-grid { grid-template-columns: 1fr 1fr; }
    .sectors-grid { grid-template-columns: repeat(2, 1fr); }
    .nav-links { display: none; }
    .form-row { grid-template-columns: 1fr; }
  }
  @media (max-width: 600px) {
    section { padding: 4rem 5vw; }
    .real-grid { grid-template-columns: 1fr; }
    .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  }
  .tel-obf { color: var(--white); cursor: pointer; font-size: 0.9rem; }
  .tel-obf:hover { color: var(--accent); }
  /* ── FENÊTRE FLOTTANTE ── */
  .floatnav {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 200;
    width: 190px;
    background: rgba(10,22,40,0.96);
    border: 1px solid rgba(46,125,50,0.5);
    border-radius: 6px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    backdrop-filter: blur(12px);
  }
  /* Cache la checkbox */
  .floatnav input[type="checkbox"] { display: none; }

  .floatnav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0.9rem;
    background: rgba(46,125,50,0.15);
    border-bottom: 1px solid rgba(46,125,50,0.3);
    border-radius: 6px 6px 0 0;
    cursor: pointer;
  }
  .floatnav-title {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
  }
  /* Bouton +/- affiché via ::after */
  .floatnav-btn {
    width: 22px; height: 22px;
    border: 1px solid rgba(46,125,50,0.4);
    border-radius: 3px;
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    font-size: 1.2rem;
    line-height: 1;
    flex-shrink: 0;
  }
  .floatnav-btn::after { content: '−'; }

  /* Quand cochée (= réduit) : masque le body et change le bouton */
  .floatnav input:checked ~ .floatnav-header .floatnav-btn::after { content: '+'; }
  .floatnav input:checked ~ .floatnav-header { border-radius: 6px; border-bottom: none; }

  .floatnav-body {
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0;
    overflow: hidden;
    max-height: 300px;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
    opacity: 1;
  }
  .floatnav input:checked ~ .floatnav-body {
    max-height: 0;
    padding: 0;
    opacity: 0;
  }

  .fn-link {
    padding: 0.55rem 1rem;
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--gray-muted);
    text-decoration: none;
    letter-spacing: 0.04em;
    border-left: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    display: block;
  }
  .fn-link:hover {
    color: var(--white);
    background: rgba(255,255,255,0.04);
    border-left-color: var(--accent);
  }
  .fn-link.active {
    color: var(--accent);
    border-left-color: var(--accent);
    background: rgba(46,125,50,0.08);
    font-weight: 500;
  }



