:root{
  --c1:#0f775e; /* vert principal */
  --c2:#528a7a; /* vert secondaire */
  --c3:#043b2f; /* vert profond */
  --c4:#6f8782; /* gris-vert */
  --c5:#93b3aa; /* sauge */
  --c6:#bcdcd3; /* menthe claire */
  --c7:#f5fefd; /* quasi blanc */

  --bg: var(--c7);
  --panel: #ffffff;
  --panel2: rgba(245,254,253,.88);
  --text: var(--c3);
  --muted: color-mix(in srgb, var(--c4) 92%, var(--c3));
  --border: rgba(4,59,47,.12);
  --shadow: 0 18px 46px rgba(4,59,47,.10);

  --radius: 18px;
  --max: 1120px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:var(--text);
  background:
    radial-gradient(1100px 680px at 10% 0%, rgba(188,220,211,.85), transparent 60%),
    radial-gradient(900px 650px at 95% 10%, rgba(147,179,170,.55), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 55%, #ffffff 100%);
  line-height:1.55;
  overflow-x:hidden;
}

a{color:inherit}
img{max-width:100%; height:auto; display:block}
.container{max-width:var(--max); margin:0 auto; padding:0 20px}

.grid-bg{
  position:fixed; inset:0; pointer-events:none; opacity:.10;
  background-image:
    linear-gradient(to right, rgba(4,59,47,.10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(4,59,47,.10) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 20% 0%, rgba(0,0,0,1), transparent 62%);
}

.reveal{opacity:0; transform: translateY(14px)}
.reveal.is-in{opacity:1; transform:none; transition: opacity .75s ease, transform .75s ease}
.lift{transition: transform .22s ease, filter .22s ease}
.lift:hover{transform: translateY(-1px)}

header{
  position:sticky; top:0; z-index:50;
  backdrop-filter:saturate(1.2) blur(10px);
  background: rgba(245,254,253,.78);
  border-bottom:1px solid var(--border);
}
.nav{display:flex; align-items:center; justify-content:space-between; padding:14px 0; gap:14px}
.brand{display:flex; align-items:center; gap:12px; text-decoration:none}
.brand .name{font-weight:1000; letter-spacing:.2px; font-size:16px}
.brand img{height:42px; width:auto}

nav.links{display:flex; gap:10px; align-items:center}
nav.links a{
  text-decoration:none; color:var(--muted);
  font-weight:900; font-size:13px;
  padding:8px 10px; border-radius:12px;
}
nav.links a:hover{color:var(--text); background: rgba(15,119,94,.08)}
nav.links a.active{color:var(--text); background: rgba(15,119,94,.12)}

.menu-btn{
  display:none;
  align-items:center; justify-content:center;
  width:40px; height:40px; border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.72);
  color:var(--text);
  font-weight:1200;
}
.mobile{display:none; padding:0 0 14px}
.mobile a{display:block; padding:10px 12px; border-radius:14px; text-decoration:none; color:var(--muted); font-weight:900}
.mobile a:hover{background: rgba(15,119,94,.08); color:var(--text)}

.cta{
  text-decoration:none;
  padding:10px 14px; border-radius:14px;
  background: linear-gradient(135deg, var(--c3), var(--c1));
  color: var(--c7);
  font-weight:1000;
  box-shadow: 0 14px 30px rgba(4,59,47,.12);
  border: 1px solid rgba(4,59,47,.14);
  white-space:nowrap;
}

.card{
  border:1px solid var(--border);
  background: rgba(255,255,255,.80);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.chip{
  display:inline-flex; align-items:center; gap:10px;
  padding:8px 12px; border-radius:999px;
  background: rgba(188,220,211,.35);
  border:1px solid var(--border);
  color:var(--muted);
  font-weight:900; font-size:13px;
}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 10px; border-radius:999px;
  background: rgba(15,119,94,.12);
  border:1px solid rgba(4,59,47,.16);
  color: var(--c3);
  font-weight:1000; font-size:12px;
}

h1,h2,h3{letter-spacing:-.3px}
h1{margin:14px 0 10px; font-size: clamp(34px, 5vw, 54px); line-height:1.02}
.section-title{display:flex; align-items:flex-end; justify-content:space-between; gap:18px; margin-bottom:16px}
.section-title h2{margin:0; font-size:24px}
.section-title p{margin:0; color:var(--muted); max-width:80ch}

.hero{padding:34px 0 18px}
.hero-grid{display:grid; grid-template-columns: 1.15fr .85fr; gap:18px; align-items:stretch}
.sub{color:var(--muted); font-size: clamp(15px, 2vw, 18px); max-width: 70ch; margin:0 0 18px}

.hero-actions{display:flex; gap:12px; flex-wrap:wrap}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px; border-radius:16px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.78);
  text-decoration:none; font-weight:1100;
  gap:10px;
}
.btn:hover{background: rgba(15,119,94,.07)}
.btn.primary{
  background: linear-gradient(135deg, var(--c3), var(--c1));
  color: var(--c7);
  border-color: rgba(4,59,47,.14);
}

.hero-card{padding:18px; display:flex; flex-direction:column; justify-content:space-between; min-height: 300px; position:relative; overflow:hidden}
.hero-card .img{height:172px; border-radius:16px; overflow:hidden; border:1px solid var(--border); background: rgba(15,119,94,.06)}
.hero-card .img img{width:100%; height:100%; object-fit:cover}
.kpis{display:grid; grid-template-columns: repeat(3, 1fr); gap:10px; margin-top:14px}
.kpi{padding:12px; border-radius:16px; border:1px solid var(--border); background: rgba(245,254,253,.75)}
.kpi .n{font-weight:1200; font-size:16px}
.kpi .l{color:var(--muted); font-size:12px; margin-top:2px}

section{padding:32px 0}
.grid-3{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px}
.grid-2{display:grid; grid-template-columns: repeat(2, 1fr); gap:14px}

.feature{padding:16px; position:relative; overflow:hidden}
.feature h3{margin:10px 0 6px; font-size:16px}
.feature p{margin:0; color:var(--muted); font-size:14px}

.media{display:grid; grid-template-columns: 1fr 1fr; gap:14px; align-items:stretch}
.media .photo{border-radius:var(--radius); overflow:hidden; border:1px solid var(--border); background: rgba(15,119,94,.05)}
.media .photo img{width:100%; height:100%; object-fit:cover; min-height:260px}

.work{padding:16px; display:flex; flex-direction:column; gap:10px}
.thumb{height: 140px; border-radius: 16px; overflow:hidden; border:1px solid var(--border); background: rgba(15,119,94,.06)}
.thumb img{width:100%; height:100%; object-fit:cover}
.work h3{margin:0; font-size:16px}
.work p{margin:0; color:var(--muted); font-size:14px}

.banner{
  padding:14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(188,220,211,.45), rgba(245,254,253,.95));
  display:flex; align-items:center; justify-content:space-between; gap:14px;
}

.list{margin:0; padding-left:18px; color:var(--muted)}
.list li{margin:6px 0}

.table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border:1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow);
}
.table th, .table td{padding:12px 12px; border-bottom:1px solid rgba(4,59,47,.08); text-align:left; vertical-align:top}
.table th{font-size:13px; color:var(--muted); font-weight:1100; background: rgba(188,220,211,.25)}
.table tr:last-child td{border-bottom:none}

.contact{padding:18px}
form{display:grid; gap:10px}
label{font-weight:1000; font-size:13px; color:var(--muted)}
input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.90);
  color:var(--text);
  outline:none;
}
input:focus, textarea:focus{border-color: rgba(15,119,94,.55)}
textarea{min-height:120px; resize:vertical}

.footer{padding:26px 0 44px; border-top:1px solid var(--border); color:var(--muted); font-size:14px}
.smalllinks{display:flex; gap:14px; flex-wrap:wrap; margin-top:8px}
.smalllinks a{color:var(--muted); text-decoration:none}
.smalllinks a:hover{color:var(--text)}

@media (max-width: 980px){
  .hero-grid{grid-template-columns: 1fr}
  .grid-3{grid-template-columns: 1fr}
  .grid-2{grid-template-columns: 1fr}
  .media{grid-template-columns: 1fr}
  .kpis{grid-template-columns: repeat(3, 1fr)}
}
@media (max-width: 640px){
  nav.links{display:none}
  .menu-btn{display:inline-flex}
  .kpis{grid-template-columns: 1fr}
}


.panorama{
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid var(--border);
  background: rgba(15,119,94,.05);
  box-shadow: var(--shadow);
}
.panorama img{
  width:100%;
  height: clamp(220px, 34vw, 420px);
  object-fit:cover;
  display:block;
}
