/* ==========================================================================
   K@rloTek — feuille de style principale
   ========================================================================== */

:root {
  --navy-900: #0a1e2b;
  --navy-800: #0f2c3d;
  --navy-700: #16415a;
  --navy-600: #1f5a78;
  --teal-300: #8fd0dd;
  --teal-100: #dff3f6;
  --ivory: #f6f4ee;
  --white: #ffffff;
  --ink: #14262f;
  --ink-soft: #3d5563;
  --gold: #ab8a4e;
  --gold-soft: #cdb98a;
  --line: rgba(20, 38, 47, 0.12);

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;

  --container: 1120px;
  --radius: 4px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--navy-900);
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--navy-900);
  color: var(--white);
  padding: 12px 20px;
  z-index: 1000;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 30, 43, 0.96);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}
.brand img {
  height: 42px;
  width: auto;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  color: var(--white);
}
.brand-name span { color: var(--teal-300); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav ul {
  display: flex;
  gap: 28px;
}
.main-nav a {
  color: var(--teal-100);
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--white);
  border-bottom-color: var(--gold-soft);
}

.call-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy-900);
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.92rem;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}
.call-pill:hover { background: var(--gold-soft); transform: translateY(-1px); }

.nav-toggle {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 68%, var(--navy-600) 100%);
  color: var(--white);
  overflow: hidden;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  pointer-events: none;
}
.hero-pattern svg { width: 100%; height: 100%; }

.hero .container {
  position: relative;
  padding-top: 96px;
  padding-bottom: 104px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero-eyebrow {
  color: var(--teal-300);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.3rem, 4.2vw, 3.4rem);
  max-width: 14ch;
  margin-bottom: 0.4em;
}
.hero h1 em {
  font-style: italic;
  color: var(--teal-300);
}
.hero-lede {
  font-size: 1.15rem;
  color: var(--teal-100);
  max-width: 46ch;
  margin-bottom: 2em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-900);
}
.btn-primary:hover { background: var(--gold-soft); transform: translateY(-1px); }
.btn-outline {
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.hero-mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-mark svg { width: 100%; max-width: 360px; height: auto; }

/* ---------- Section basics ---------- */
section { padding: 88px 0; }
.section-tight { padding: 64px 0; }
.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-kicker {
  display: block;
  color: var(--gold);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 0.4em;
}
.section-head h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
}
.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.bg-navy { background: var(--navy-900); color: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy .section-head p { color: var(--teal-100); }
.bg-white { background: var(--white); }

/* ---------- About / trust band ---------- */
.about {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.about-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 48px -24px rgba(10, 30, 43, 0.45);
}
.about-photo img { width: 100%; }
.about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(10,30,43,0.35), transparent 55%);
}
.about-body h2 { margin-bottom: 0.6em; }
.about-body p { color: var(--ink-soft); font-size: 1.05rem; }
.about-signature {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.about-signature .name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy-900);
}
.about-signature .role {
  display: block;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ---------- Services grid (home preview) ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-card {
  background: var(--white);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service-card .icon {
  width: 44px;
  height: 44px;
  color: var(--navy-700);
}
.service-card h3 {
  font-size: 1.15rem;
}
.service-card p {
  color: var(--ink-soft);
  font-size: 0.96rem;
}
.service-card a.card-link {
  margin-top: auto;
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 600;
}

/* ---------- Zone band ---------- */
.zone-band {
  background: var(--teal-100);
}
.zone-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.zone-band h2 { margin-bottom: 0.3em; }
.zone-band p { color: var(--ink-soft); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  color: var(--white);
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--teal-100); font-size: 1.1rem; margin-bottom: 2em; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: var(--teal-100);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .brand-name { color: var(--white); }
.footer-brand p {
  margin-top: 14px;
  color: var(--teal-100);
  max-width: 34ch;
  font-size: 0.95rem;
}
.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.footer-col ul li { margin-bottom: 10px; font-size: 0.95rem; }
.footer-col a:hover { color: var(--white); }
.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 4px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.footer-social a:hover { border-color: var(--gold-soft); background: rgba(255,255,255,0.06); }
.footer-social svg { width: 16px; height: 16px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-size: 0.85rem;
  color: rgba(223, 243, 246, 0.6);
}

/* ---------- Inner page hero (services / contact) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero .container { position: relative; }
.page-hero .hero-pattern { opacity: 0.25; }
.page-hero-eyebrow {
  color: var(--teal-300);
  margin-bottom: 10px;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}
.page-hero h1 { color: var(--white); max-width: 20ch; }
.page-hero p { color: var(--teal-100); max-width: 56ch; font-size: 1.08rem; margin-top: 14px; }

/* ---------- Services page ---------- */
.service-category {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.service-category:last-child { border-bottom: none; }
.service-category-inner {
  display: grid;
  grid-template-columns: 0.9fr 2fr;
  gap: 48px;
}
.category-label {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.category-label .icon {
  width: 40px;
  height: 40px;
  color: var(--gold);
  flex-shrink: 0;
}
.category-label h2 {
  font-size: 1.4rem;
  margin-bottom: 0.2em;
}
.category-label p { color: var(--ink-soft); font-size: 0.95rem; }

.service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
}
.service-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 1.02rem;
}
.service-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  transform: translateY(-4px);
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.contact-method:last-child { border-bottom: none; }
.contact-method .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--teal-300);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-method .icon svg { width: 20px; height: 20px; }
.contact-method .label {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 2px;
}
.contact-method .value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy-900);
}
.contact-method a.value:hover { color: var(--gold); }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 48px -30px rgba(10, 30, 43, 0.5);
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}
.contact-note {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--teal-100);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .about-photo { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-category-inner { grid-template-columns: 1fr; gap: 20px; }
  .service-list { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .site-header .container { flex-wrap: wrap; row-gap: 10px; padding-top: 12px; padding-bottom: 12px; }
  .main-nav { width: 100%; justify-content: space-between; order: 3; }
  .main-nav ul { gap: 18px; }
  .main-nav a { font-size: 0.9rem; }
  .call-pill { padding: 8px 14px; }
  .hero .container { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 64px; }
  .hero-mark { order: -1; max-width: 220px; margin: 0 auto 8px; }
  section { padding: 60px 0; }
  .service-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .zone-band .container { flex-direction: column; align-items: flex-start; }
  .call-pill span.full { display: none; }
}
