/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', Arial, sans-serif; color: #1a2a3a; background: #fff; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== VARIABLES ===== */
:root {
  --blue:     #2e80b8;
  --blue-dark:#1a5580;
  --blue-light:#e8f4fb;
  --white:    #ffffff;
  --grey:     #f4f7fa;
  --text:     #1a2a3a;
  --muted:    #5a7080;
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 2px solid var(--blue);
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.5rem; height: 100px;
}
.nav-logo { display: flex; align-items: center; gap: 1rem; text-decoration: none; }
.nav-logo-img { height: 80px; width: auto; }
.nav-logo-text { font-size: 2.2rem; font-weight: 700; color: var(--blue-dark); }
.nav-logo-text span { color: var(--blue); }
.nav-links { list-style: none; display: flex; gap: 2rem; }
.nav-links a { font-size: 0.95rem; font-weight: 500; color: var(--text); padding: 4px 0; border-bottom: 2px solid transparent; transition: all .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); border-bottom-color: var(--blue); }
.burger { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--blue-dark); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  color: var(--white); padding: 2.25rem 1.5rem;
  text-align: center;
}
.hero-content { max-width: 800px; margin: 0 auto; }
.hero-logo { width: 90px; height: auto; margin: 0 auto 1rem; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3)); }
.hero-title { font-size: 2.2rem; font-weight: 800; color: var(--white); margin-bottom: .4rem; letter-spacing: 1px; }
.hero-eyebrow { font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; opacity: 0.8; margin-bottom: .8rem; }
.hero h1 { font-size: 1.7rem; font-weight: 700; line-height: 1.2; margin-bottom: .8rem; }
.hero-sub { font-size: 0.95rem; opacity: 0.9; margin-bottom: 0; }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block; background: var(--white); color: var(--blue-dark);
  padding: .75rem 2rem; border-radius: 4px; font-weight: 600;
  transition: all .2s;
}
.btn-primary:hover { background: var(--blue-light); }
.btn-outline {
  display: inline-block; border: 2px solid var(--white); color: var(--white);
  padding: .75rem 2rem; border-radius: 4px; font-weight: 600;
  transition: all .2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.15); }

/* ===== SECTIONS ===== */
.section-light { background: var(--grey); }
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.section-title { font-size: 1.8rem; font-weight: 700; color: var(--blue-dark); text-align: center; margin-bottom: 2.5rem; }
.section-title.light { color: var(--white); }

/* ===== ABOUT (fusionné accueil) ===== */
.about-section { padding: 4rem 1.5rem; }
.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: start; }
.about-text h2 { font-size: 1.6rem; color: var(--blue-dark); margin-bottom: 1rem; }
.about-text p { color: var(--muted); line-height: 1.7; margin-bottom: 1rem; }
.about-facts { display: flex; flex-direction: column; gap: 1.2rem; }
.fact-item { background: var(--white); border-left: 4px solid var(--blue); padding: 1rem 1.2rem; border-radius: 0 6px 6px 0; }
.fact-year { display: block; font-size: 2rem; font-weight: 700; color: var(--blue); }
.fact-desc { font-size: 0.9rem; color: var(--muted); }

/* ===== DOMAINS WITH PHOTOS ===== */
.domains { padding: 4rem 1.5rem; }
.domains-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.domain-card {
  background: var(--white); border-radius: 8px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08); transition: transform .2s;
}
.domain-card:hover { transform: translateY(-4px); }
.domain-photo {
  width: 100%; height: 280px; object-fit: cover; background: #ffffff;
  /* Protection photos : pas de clic droit via JS */
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.domain-photo-wrap { overflow: hidden; position: relative; height: 280px; }
.domain-photo-wrap::after,
.real-photo-wrap::after {
  content: '';
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 42px;
  height: 42px;
  background-image: url('../images/image1.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.85;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.5));
  pointer-events: none;
}
.domain-body { padding: 1.4rem; }
.domain-body h3 { font-size: 1.2rem; font-weight: 600; color: var(--blue-dark); margin-bottom: .6rem; }
.domain-body p { font-size: 1rem; color: var(--muted); line-height: 1.6; }

/* ===== SECTORS ===== */
.sectors { background: var(--blue-dark); padding: 3.5rem 1.5rem; }
.sectors-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; max-width: 700px; margin: 0 auto; }
.sector-item { background: rgba(255,255,255,0.1); color: var(--white); padding: 1.2rem 1.5rem; border-radius: 6px; font-weight: 600; font-size: 1.25rem; text-align: center; }

/* ===== VALUES ===== */
.values { padding: 4rem 1.5rem; }
.values-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.value-card { background: var(--white); border-radius: 8px; padding: 1.5rem; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,0.07); }
.value-icon { font-size: 2rem; display: block; margin-bottom: .7rem; }
.value-card h3 { font-size: 1.25rem; color: var(--blue-dark); margin-bottom: .5rem; font-weight: 600; }
.value-card p { font-size: 1.05rem; color: var(--muted); line-height: 1.6; }

/* ===== CTA BAND ===== */
.cta-band { background: var(--blue); padding: 3rem 1.5rem; text-align: center; }
.cta-inner h2 { color: var(--white); font-size: 1.7rem; margin-bottom: 1.2rem; }

/* ===== PAGE HERO ===== */
.page-hero { background: linear-gradient(135deg, var(--blue-dark), var(--blue)); color: var(--white); padding: 3.5rem 1.5rem; text-align: center; }
.page-hero h1 { font-size: 2rem; font-weight: 700; margin-bottom: .5rem; }
.page-hero p { opacity: 0.85; font-size: 1.05rem; }
.contact-hero-logo { display: block; margin: 0 auto 20px; max-width: 160px; height: auto; }

/* ===== REALISATIONS ===== */
.realisations { padding: 4rem 1.5rem; }
.real-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; }
.real-card { background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.real-photo-wrap { width: 100%; height: 260px; overflow: hidden; position: relative; }
.real-photo-wrap-double { display: flex; gap: 4px; }
.real-photo-wrap-double .real-photo { width: 50%; object-fit: contain; }
.real-photo { width: 100%; height: 100%; object-fit: cover; background: #ffffff; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.real-body { padding: 1.5rem; border-top: 4px solid var(--blue); }
.real-tag { display: inline-block; background: var(--blue-light); color: var(--blue-dark); font-size: 0.75rem; font-weight: 600; padding: .2rem .7rem; border-radius: 20px; margin-bottom: .8rem; text-transform: uppercase; letter-spacing: .5px; }
.real-card h3 { font-size: 1.1rem; color: var(--blue-dark); margin-bottom: .6rem; font-weight: 600; }
.real-card p { font-size: 0.87rem; color: var(--muted); line-height: 1.6; }

/* ===== SOLUTIONS ===== */
.solutions { padding: 4rem 1.5rem; background: var(--white); }
.solutions-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.2rem; }
.sol-card { background: var(--grey); border-radius: 8px; padding: 1.3rem; }
.sol-card h3 { font-size: 1rem; color: var(--blue-dark); font-weight: 600; margin-bottom: .5rem; }
.sol-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.5; }

/* ===== CONTACT ===== */
.contact-section { padding: 4rem 1.5rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; }
.contact-info h2, .contact-form h2 { font-size: 1.4rem; color: var(--blue-dark); margin-bottom: 1.5rem; font-weight: 700; }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.4rem; align-items: flex-start; }
.contact-icon { font-size: 1.3rem; margin-top: 2px; }
.contact-item strong { display: block; color: var(--blue-dark); margin-bottom: .2rem; }
.contact-item a { color: var(--blue); }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--text); margin-bottom: .4rem; }
.form-group input, .form-group textarea {
  width: 100%; padding: .7rem 1rem; border: 1.5px solid #cdd8e0; border-radius: 5px;
  font-size: 0.95rem; font-family: inherit; transition: border .2s;
  background: var(--white);
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--blue); }
.contact-form .btn-primary { background: var(--blue); color: var(--white); border: none; cursor: pointer; width: 100%; font-size: 1rem; }
.contact-form .btn-primary:hover { background: var(--blue-dark); }

/* ===== FOOTER ===== */
.footer { background: #0d1f2d; color: rgba(255,255,255,0.7); padding: 2.5rem 1.5rem; text-align: center; }
.footer-inner p { margin-bottom: .4rem; font-size: 0.9rem; }
.footer-name { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: .5rem; }
.footer-copy { margin-top: .8rem; font-size: 0.8rem; opacity: .5; }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--white); padding: 1rem 1.5rem; border-bottom: 2px solid var(--blue); gap: .8rem; }
  .nav-links.open { display: flex; }
  .burger { display: block; }
  .hero h1 { font-size: 1.4rem; }
  .domains-grid, .real-grid, .values-grid, .solutions-grid { grid-template-columns: 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .sectors-grid { grid-template-columns: 1fr; }
}
