:root {
  --bg: #f6f3ee;
  --surface: #ffffff;
  --surface-alt: #f8f4ec;
  --text: #11264c;
  --muted: #4f607f;
  --accent: #c69a2d;
  --accent-dark: #a67d1e;
  --navy: #11264c;
  --gold-soft: #e7d3a0;
  --border: #e4dbc8;
  --shadow: 0 12px 30px rgba(17, 38, 76, 0.08);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fcfbf8 0%, var(--bg) 100%);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 1rem; color: var(--navy); font-weight: 600; }
h1 { font-size: clamp(2.3rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); }
h3 { font-size: 1.2rem; }
.small { font-size: 0.95rem; color: var(--muted); }

.container { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }
.section { padding: 5rem 0; }
.section-tight { padding: 3.5rem 0; }
.badge {
  display: inline-flex;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(198, 154, 45, 0.13);
  color: var(--accent-dark);
  border: 1px solid rgba(198, 154, 45, 0.25);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(252, 251, 248, 0.92);
  border-bottom: 1px solid rgba(228, 219, 200, 0.8);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 82px;
}
.logo {
  display: inline-flex;
  align-items: center;
  max-width: 470px;
}
.logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  align-items: center;
}
.nav a {
  color: var(--muted);
  font-weight: 600;
}
.nav a:hover, .nav a.active { color: var(--navy); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  box-shadow: 0 8px 18px rgba(198, 154, 45, 0.22);
}
.btn:hover { transform: translateY(-1px); background: var(--accent-dark); }
.btn.secondary {
  background: transparent;
  color: var(--navy);
  box-shadow: none;
  border-color: rgba(17, 38, 76, 0.18);
}
.btn.secondary:hover {
  background: rgba(17, 38, 76, 0.05);
}

.hero {
  padding: 5rem 0 3rem;
}
.hero-grid, .two-col {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}
.hero-card, .card, .service-card, .profile-card, .contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-card {
  padding: 2rem;
  background: linear-gradient(180deg, #ffffff 0%, #fffdfa 100%);
}
.hero-lead {
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 58ch;
}
.actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; }
.words {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.8rem;
}
.word-pill {
  padding: 1rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #fffdf8 0%, var(--surface-alt) 100%);
  border: 1px solid var(--border);
  font-weight: 600;
  color: var(--navy);
}
.word-pill span {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
}
.hero-visual {
  position: relative;
  min-height: 450px;
  max-width: 430px;
  width: 100%;
  justify-self: center;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(198,154,45,0.16), rgba(17,38,76,0.06));
  border: 1px solid var(--border);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-soft {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.profile-photo-card {
  overflow: hidden;
  max-width: 420px;
  width: 100%;
  justify-self: center;
  padding: 0;
}

.portrait-about {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center 12%;
  border-radius: 22px;
}

.placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  background:
    radial-gradient(circle at top left, rgba(198,154,45,0.18), transparent 38%),
    radial-gradient(circle at bottom right, rgba(17,38,76,0.08), transparent 30%),
    #efe9df;
}
.floating-note {
  position: absolute;
  bottom: 1.2rem;
  left: 1.2rem;
  right: 1.2rem;
  padding: 1rem 1.2rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.94);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.floating-note strong { color: var(--navy); }

.grid-3, .services-grid, .target-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}
.card, .service-card, .profile-card, .contact-card { padding: 1.6rem; }
.service-card h3, .card h3, .profile-card h3 { margin-bottom: 0.8rem; }
.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(198, 154, 45, 0.16);
  color: var(--accent-dark);
  font-weight: 700;
  margin-bottom: 1rem;
}

.quote {
  padding: 2rem;
  background: linear-gradient(145deg, var(--navy), #1b3565);
  color: #f8f6f2;
  border-radius: 28px;
  border: 1px solid rgba(198,154,45,0.18);
}
.quote p { font-size: 1.2rem; margin-bottom: 0.8rem; }
.quote strong { color: #fff; }

.checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.checklist li {
  padding-left: 1.6rem;
  position: relative;
  margin-bottom: 0.8rem;
}
.checklist li::before {
  content: "•";
  position: absolute;
  left: 0.35rem;
  color: var(--accent-dark);
  font-size: 1.15rem;
}

.page-hero {
  padding: 4rem 0 2.5rem;
}
.page-hero p { max-width: 62ch; color: var(--muted); font-size: 1.12rem; }

.cta-band {
  padding: 2rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(198,154,45,0.16), rgba(17,38,76,0.05) 68%, rgba(255,255,255,0.92));
  border: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.contact-list {
  display: grid;
  gap: 1rem;
}
.contact-item {
  padding: 1rem;
  border-radius: 14px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
}
form {
  display: grid;
  gap: 0.9rem;
}
label { font-weight: 600; font-size: 0.95rem; }
input, textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.95rem 1rem;
  font: inherit;
  background: #fff;
}
textarea { min-height: 170px; resize: vertical; }
input:focus, textarea:focus {
  outline: none;
  border-color: rgba(198,154,45,0.65);
  box-shadow: 0 0 0 3px rgba(198,154,45,0.12);
}

.site-footer {
  padding: 2rem 0 3rem;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 1.4rem;
}

.pictos-band {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.2rem;
  align-items: stretch;
}
.picto-card, .picto-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 1.1rem;
}
.picto-card img, .picto-panel img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.picto-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 230px;
}
.picto-card-wide {
  min-height: 280px;
  background: linear-gradient(180deg, #fffdfa 0%, #ffffff 100%);
}
.about-intro {
  align-items: stretch;
}
.picto-panel {
  display: grid;
  place-items: center;
  min-height: 260px;
  background: linear-gradient(160deg, rgba(198,154,45,0.12), rgba(255,255,255,0.92));
}

.image-card {
  overflow: hidden;
  min-height: 0;
  max-width: 360px;
  width: 100%;
  justify-self: center;
  padding: 0;
}
.image-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.image-card.laptop img {
  object-position: center 12%;
}
.image-card.portrait img {
  object-position: center 10%;
}

.highlight-card {
  background: linear-gradient(145deg, #fffdfa, #ffffff);
  border: 1px solid var(--border);
}

@media (max-width: 1100px) {
  .header-inner {
    gap: 0.75rem;
  }
  .logo {
    max-width: 445px;
  }
}

@media (max-width: 900px) {
  .hero-grid, .two-col, .contact-grid, .grid-3, .services-grid, .target-grid, .grid-2, .pictos-band {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    min-height: 360px;
    max-width: 100%;
  }
  .nav { display: none; }
  .logo {
    max-width: 318px;
  }
}


body.menu-open {
  overflow: hidden;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(17, 38, 76, 0.15);
  border-radius: 14px;
  background: rgba(255,255,255,0.92);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(17, 38, 76, 0.08);
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 999px;
}
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
}
.mobile-menu-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 45, 0.36);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(86vw, 380px);
  height: 100%;
  background: rgba(252, 251, 248, 0.98);
  backdrop-filter: blur(14px);
  box-shadow: -12px 0 40px rgba(17, 38, 76, 0.16);
  padding: 1rem 1rem 2rem;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
}
.mobile-menu.is-open {
  pointer-events: auto;
}
.mobile-menu.is-open .mobile-menu-overlay {
  opacity: 1;
}
.mobile-menu.is-open .mobile-menu-panel {
  transform: translateX(0);
}
.mobile-menu-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(228, 219, 200, 0.85);
}
.mobile-logo {
  max-width: 282px;
}
.menu-close {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(17, 38, 76, 0.15);
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.mobile-nav {
  display: grid;
  gap: 0.4rem;
  padding-top: 1rem;
}
.mobile-nav a {
  padding: 0.95rem 1rem;
  border-radius: 14px;
  color: var(--navy);
  font-weight: 600;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(228, 219, 200, 0.8);
}
.mobile-nav a.active {
  background: rgba(198, 154, 45, 0.12);
  border-color: rgba(198, 154, 45, 0.3);
  color: var(--accent-dark);
}

@media (max-width: 900px) {
  .section { padding: 4rem 0; }
  .section-tight { padding: 2.5rem 0; }
  .header-inner {
    min-height: 74px;
  }
  .container {
    width: min(var(--max), calc(100% - 1.25rem));
  }
  .menu-toggle { display: inline-flex; }
  .nav { display: none; }
  .logo {
    max-width: 264px;
  }
  .hero {
    padding: 2.5rem 0 2rem;
  }
  .hero-card, .card, .service-card, .profile-card, .contact-card {
    padding: 1.35rem;
  }
  h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  h2 {
    font-size: clamp(1.55rem, 6vw, 2.1rem);
  }
  .hero-lead,
  .page-hero p {
    font-size: 1rem;
  }
  .actions {
    flex-direction: column;
    align-items: stretch;
  }
  .actions .btn,
  .cta-band .btn {
    width: 100%;
  }
  .words {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    min-height: 320px;
    max-width: 100%;
  }
  .floating-note {
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.8rem;
    padding: 0.9rem 1rem;
  }
  .page-hero {
    padding: 2.5rem 0 1.5rem;
  }
  .cta-band,
  .footer-inner {
    align-items: flex-start;
  }
  .image-card,
  .profile-photo-card {
    max-width: 100%;
  }
  .image-card img,
  .portrait-about {
    height: auto;
    max-height: 420px;
  }
}

@media (max-width: 640px) {
  body {
    line-height: 1.55;
  }
  .badge {
    font-size: 0.92rem;
  }
  .hero-card {
    padding: 1.2rem;
  }
  .icon-circle {
    width: 42px;
    height: 42px;
  }
  .quote,
  .cta-band {
    padding: 1.35rem;
  }
  input, textarea {
    padding: 0.9rem;
  }
}
