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

:root {
  --navy: #0f2235;
  --navy-mid: #1a3a52;
  --teal: #1a7a5e;
  --teal-dark: #145c47;
  --teal-light: #e8f5f1;
  --mint: #4dbf99;
  --mint-deep: #2da57c;
  --white: #ffffff;
  --off-white: #f7f9f8;
  --tint: #f1faf6;
  --border: #dde8e4;
  --text: #0f2235;
  --text-muted: #4a6172;
  --text-faint: #8aa3b0;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --grad: linear-gradient(135deg, #1a7a5e 0%, #2da57c 60%, #4dbf99 100%);
  /* Blocs sombres : vert profond, plus clair que l'ancien navy */
  --block: linear-gradient(140deg, #1b5645 0%, #123c31 100%);
  --wine: #691B37; /* accent secondaire — à utiliser avec parcimonie */
  --shadow-sm: 0 2px 10px rgba(15,34,53,0.05);
  --shadow-md: 0 10px 30px rgba(15,34,53,0.08);
  --shadow-lg: 0 20px 50px rgba(15,34,53,0.13);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 2rem;
}
.container-wide {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* NAV */
nav {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-name {
  font-family: 'Syne', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.nav-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 4px var(--teal-light);
}
.nav-links {
  display: flex;
  gap: 1.9rem;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  align-items: center;
}
.nav-links a { position: relative; transition: color 0.15s; }
.nav-links a:hover { color: var(--teal); }
.nav-links a.active { color: var(--teal); font-weight: 600; }
.nav-cta {
  padding: 8px 16px;
  background: var(--grad);
  color: #fff !important;
  border-radius: var(--radius-md);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s, box-shadow 0.15s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
@media (max-width: 560px) {
  .nav-links { gap: 1.1rem; font-size: 13px; }
  .nav-links .hide-sm { display: none; }
}

/* HERO */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('img/hero.jpg');
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.05);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,40,34,0.22) 0%, rgba(16,52,42,0.55) 55%, rgba(15,49,40,0.9) 100%),
    linear-gradient(115deg, rgba(26,122,94,0.5) 0%, rgba(15,40,34,0.1) 55%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 3.5rem 2.5rem 3.75rem;
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
}
.eyebrow {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1.5px; background: var(--mint);
}
.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--white);
  margin-bottom: 1.25rem;
  max-width: 580px;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--mint);
}
.hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.82);
  max-width: 480px;
  line-height: 1.65;
  margin-bottom: 2.25rem;
}
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* BUTTONS */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  background: var(--grad);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 14px; font-weight: 600;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 22px rgba(26,122,94,0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(26,122,94,0.45); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  border: 1.5px solid rgba(255,255,255,0.4);
  font-family: 'Syne', sans-serif;
  font-size: 14px; font-weight: 600;
  border-radius: var(--radius-md);
  color: var(--white); background: transparent;
  transition: background 0.15s, border-color 0.15s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.7); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  border: 1.5px solid var(--border);
  font-family: 'Syne', sans-serif;
  font-size: 14px; font-weight: 600;
  border-radius: var(--radius-md);
  color: var(--teal); background: var(--white);
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.btn-secondary:hover { background: var(--tint); border-color: var(--mint); transform: translateY(-1px); }

/* STATS BAND */
.stats {
  background: var(--grad);
  position: relative;
  overflow: hidden;
}
.stats::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% -20%, rgba(255,255,255,0.18), transparent 45%);
}
.stats-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2.4rem 0;
}
.stat { text-align: center; color: #fff; }
.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700; line-height: 1;
  letter-spacing: -0.5px;
}
.stat-label {
  font-size: 12.5px;
  color: rgba(255,255,255,0.85);
  margin-top: 0.5rem; line-height: 1.4;
}
@media (max-width: 620px) {
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 1.75rem 1rem; }
}

/* SECTIONS */
section {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border);
}
section.tinted {
  background: var(--tint);
  border-bottom: 1px solid var(--border);
}
.section-label {
  font-family: 'Syne', sans-serif;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 1rem;
  display: inline-flex; align-items: center; gap: 8px;
}
.section-label::before { content: ""; width: 18px; height: 1.5px; background: var(--mint); }
section h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(24px, 3.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--navy);
  margin-bottom: 1.9rem;
}

/* SERVICES */
.services-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px; margin-bottom: 1.9rem;
}
@media (max-width: 520px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem 1.45rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.service-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--grad); transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--teal-light); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.9rem;
}
.card-icon svg { width: 20px; height: 20px; }
.card-title {
  font-family: 'Syne', sans-serif;
  font-size: 15px; font-weight: 600;
  color: var(--navy); margin-bottom: 0.45rem;
}
.card-desc { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; }
.modes-note {
  font-size: 14px; color: var(--text-muted);
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--mint);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.3rem; line-height: 1.7;
  box-shadow: var(--shadow-sm);
}
.modes-note strong { color: var(--navy); font-weight: 600; }

/* WHY / APPROACH */
.approche-lead {
  font-size: 15.5px; color: var(--text-muted); line-height: 1.8;
  max-width: 640px; margin: -0.6rem 0 2rem;
}
.approche-lead strong { color: var(--teal-dark); font-weight: 600; }
.why-list { display: flex; flex-direction: column; gap: 1.4rem; }
.why-item {
  display: grid; grid-template-columns: 46px 1fr; gap: 18px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s, box-shadow 0.18s;
}
.why-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.why-num {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--grad); color: #fff;
  font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(26,122,94,0.3);
}
.why-text strong {
  font-family: 'Syne', sans-serif; font-size: 15.5px; font-weight: 600;
  display: block; margin-bottom: 5px; color: var(--navy);
}
.why-text span { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* WORK PREVIEW (homepage) */
.work-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-bottom: 2rem;
}
@media (max-width: 720px) { .work-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .work-grid { grid-template-columns: 1fr; } }
.work-card {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
  background: var(--navy);
  aspect-ratio: 4 / 5;
  transition: transform 0.2s, box-shadow 0.2s;
}
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.work-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 0.5s ease;
}
.work-card:hover img { transform: scale(1.07); }
.work-card .ov {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(15,34,53,0) 35%, rgba(11,24,38,0.85) 100%);
}
.work-card .cap {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0;
  padding: 1.1rem 1.15rem;
}
.work-tag {
  display: inline-block;
  font-family: 'Syne', sans-serif; font-size: 9.5px; letter-spacing: 1.5px;
  text-transform: uppercase; font-weight: 600;
  color: var(--navy); background: var(--mint);
  padding: 4px 9px; border-radius: 20px; margin-bottom: 0.6rem;
}
.work-card .cap h3 {
  font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 600;
  color: #fff; line-height: 1.25;
}
.work-more { display: flex; justify-content: center; }

/* INLINE LINK ARROW */
.arrow-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'Syne', sans-serif; font-weight: 600; font-size: 14px;
  color: var(--teal);
}
.arrow-link svg { width: 16px; height: 16px; transition: transform 0.15s; }
.arrow-link:hover svg { transform: translateX(3px); }

/* ABOUT */
.about-layout {
  display: grid; grid-template-columns: 210px 1fr; gap: 3rem; align-items: start;
}
@media (max-width: 580px) {
  .about-layout { grid-template-columns: 1fr; gap: 1.75rem; }
  .about-photos { display: flex; gap: 12px; }
}
.about-photos { display: flex; flex-direction: column; gap: 12px; }
.photo-portrait {
  width: 210px; height: 230px; object-fit: cover; object-position: center top;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
.photo-pacer {
  width: 210px; height: 145px; object-fit: cover; object-position: center 20%;
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
}
.about-text { font-size: 15px; color: var(--text-muted); line-height: 1.8; }
.about-text p + p { margin-top: 1rem; }
.about-text strong { color: var(--navy); font-weight: 600; }

/* CONTACT */
.contact-section { border-bottom: none; }
.contact-block {
  background:
    radial-gradient(circle at 10% 118%, rgba(105,27,55,0.34), transparent 46%),
    var(--block);
  border-radius: var(--radius-xl);
  padding: 3.25rem 3rem;
  position: relative; overflow: hidden;
}
.contact-block::after {
  content: ""; position: absolute; top: -40%; right: -10%;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(77,191,153,0.45), transparent 65%);
}
.contact-block .inner { position: relative; z-index: 1; }
.contact-block h2 {
  font-family: 'Syne', sans-serif; font-size: 28px; font-weight: 700;
  color: var(--white); margin-bottom: 0.75rem; letter-spacing: -0.3px;
}
.contact-block p {
  font-size: 15px; color: rgba(255,255,255,0.7);
  margin-bottom: 2rem; max-width: 440px; line-height: 1.65;
}
.contact-links { display: flex; gap: 10px; flex-wrap: wrap; }

/* FOOTER */
footer {
  padding: 2.25rem 0;
  font-size: 12px;
  color: var(--text-faint);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
}
footer a:hover { color: var(--teal); }

.icon { width: 16px; height: 16px; flex-shrink: 0; }

/* ===== REALISATIONS PAGE ===== */
.page-head {
  background:
    radial-gradient(circle at 4% 122%, rgba(105,27,55,0.30), transparent 44%),
    var(--block);
  position: relative; overflow: hidden;
  padding: 3.5rem 0 3.75rem;
}
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 0%, rgba(77,191,153,0.40), transparent 50%),
              radial-gradient(circle at 0% 100%, rgba(45,165,124,0.30), transparent 45%);
}
.page-head .inner { position: relative; z-index: 1; }
.page-head h1 {
  font-family: 'Syne', sans-serif; font-size: clamp(30px, 5vw, 44px);
  font-weight: 700; color: #fff; letter-spacing: -0.5px; line-height: 1.1;
  margin-bottom: 1rem; max-width: 620px;
}
.page-head h1 em { font-style: italic; font-weight: 400; color: var(--mint); }
.page-head p { color: rgba(255,255,255,0.78); max-width: 520px; font-size: 16px; line-height: 1.65; }

.project {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border);
}
.project.tinted { background: var(--tint); }
.project-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.project.reverse .project-gallery { order: 2; }
@media (max-width: 760px) {
  .project-inner { grid-template-columns: 1fr; gap: 1.75rem; }
  .project.reverse .project-gallery { order: 0; }
}
.project-gallery { display: grid; gap: 12px; }
.project-gallery .g-main {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
.g-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.g-thumbs img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
  transition: transform 0.2s;
}
.g-thumbs img:hover { transform: scale(1.04); }
.project-meta .tag-eyebrow {
  font-family: 'Syne', sans-serif; font-size: 10px; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--teal); font-weight: 700; margin-bottom: 0.9rem;
}
.project-meta h2 {
  font-family: 'Syne', sans-serif; font-size: clamp(22px, 3vw, 27px); font-weight: 700;
  color: var(--navy); letter-spacing: -0.4px; line-height: 1.15; margin-bottom: 1rem;
}
.project-meta p { font-size: 15px; color: var(--text-muted); line-height: 1.75; margin-bottom: 1.25rem; }
.project-meta p strong { color: var(--navy); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 12.5px; font-weight: 500; color: var(--teal-dark);
  background: var(--teal-light); border: 1px solid #cfe9df;
  padding: 5px 12px; border-radius: 20px;
}
.facts { display: flex; gap: 1.5rem; margin-bottom: 1.3rem; flex-wrap: wrap; }
.fact-num {
  font-family: 'Syne', sans-serif; font-size: 24px; font-weight: 700; color: var(--teal); line-height: 1;
}
.fact-label { font-size: 12px; color: var(--text-faint); margin-top: 3px; }

/* REVEAL ANIMATION */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
