/* ===========================
   OsoClean — styles
   Palette : noir/blanc + accent bleu
=========================== */

/* Police Inter hébergée localement (pas de requête vers fonts.googleapis.com,
   pour éviter l'envoi de l'IP du visiteur à Google sans consentement). */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('inter-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('inter-800.woff2') format('woff2');
}

:root {
  --ink: #0F172A;
  --ink-soft: #475569;
  --line: #E2E8F0;
  --bg: #FFFFFF;
  --bg-alt: #F8FAFC;
  --bg-dark: #0F172A;
  --accent: #2563EB;
  --accent-dark: #1D4ED8;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --max-width: 1160px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

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

h1, h2, h3 { font-weight: 800; line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.15rem; margin-bottom: 8px; }
p { margin: 0 0 12px; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-small { padding: 9px 18px; font-size: 0.85rem; }
.btn-large { padding: 16px 32px; font-size: 1.02rem; margin-top: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.logo span { color: var(--accent); }

.main-nav { display: flex; gap: 28px; }
.main-nav a { font-weight: 500; font-size: 0.95rem; color: var(--ink-soft); }
.main-nav a:hover { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.lang-btn {
  border: none;
  background: transparent;
  padding: 6px 11px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.lang-btn.active { background: var(--ink); color: var(--white); }

.header-cta { display: inline-flex; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px; height: 34px;
  background: none; border: none; cursor: pointer;
}
.burger span { width: 100%; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 56px; background: var(--bg-alt); }
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.eyebrow, .section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.hero-sub { font-size: 1.08rem; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 22px 0 26px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-points li {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding-left: 18px;
}
.hero-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
}
.hero-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

/* ---------- Trust strip ---------- */
.trust-strip { border-bottom: 1px solid var(--line); }
.trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 26px 24px;
}
.trust-item { text-align: center; font-size: 0.92rem; color: var(--ink-soft); }
.trust-item strong { color: var(--ink); font-weight: 700; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-lead { max-width: 60ch; font-size: 1.05rem; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.service-icon svg { width: 22px; height: 22px; stroke: var(--accent); }
.services-note {
  margin-top: 32px;
  padding: 18px 22px;
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  font-size: 0.95rem;
}

/* ---------- About ---------- */
.about-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: center;
}
.about-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%;
}
.about-list { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 10px; }
.about-list li {
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding-left: 18px;
}
.about-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
}
.about-story {
  padding-left: 16px;
  border-left: 2px solid var(--line);
  font-size: 1.03rem;
  color: var(--ink);
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery-item img { aspect-ratio: 4/3; object-fit: cover; transition: transform .3s ease; }
.gallery-item:hover img { transform: scale(1.05); }

/* ---------- Contact ---------- */
.section-dark { background: var(--bg-dark); color: var(--white); }
.section-dark p { color: #CBD5E1; }
.section-dark .section-eyebrow { color: #60A5FA; }
.section-dark h2 { color: var(--white); }
.contact-inner { max-width: 760px; }
.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 30px 0 34px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 18px;
  transition: background .2s ease, transform .2s ease;
}
a.contact-card:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.contact-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-icon svg { width: 19px; height: 19px; stroke: #93C5FD; }
.contact-card strong { display: block; font-size: 0.82rem; color: #94A3B8; font-weight: 600; margin-bottom: 2px; }
.contact-value { font-size: 1rem; font-weight: 700; color: var(--white); }

/* ---------- Contact form ---------- */
.contact-form {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
  max-width: 480px;
}
.contact-form-title { font-size: 1.1rem; color: var(--white); margin-bottom: 18px; }
.form-row { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 0.85rem; font-weight: 600; color: #CBD5E1; }
.form-row input,
.form-row select,
.form-row textarea {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
  outline: none;
  transition: border-color .2s ease, background .2s ease;
  resize: vertical;
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: #64748B; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus { border-color: var(--accent); background: rgba(255,255,255,0.1); }
.form-row select option { color: var(--ink); background: var(--white); }
.contact-form .btn { margin-top: 4px; }
.contact-form-note { font-size: 0.82rem; color: #94A3B8; margin-top: 12px; margin-bottom: 0; }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.3);
  z-index: 60;
  transition: transform .2s ease;
  animation: whatsappPulse 2.4s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.07); }
.whatsapp-float svg { width: 30px; height: 30px; }
@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 10px 24px rgba(15, 23, 42, 0.3), 0 0 0 0 rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 10px 24px rgba(15, 23, 42, 0.3), 0 0 0 10px rgba(37, 211, 102, 0); }
}
@media (max-width: 720px) {
  .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}

/* ---------- Legal / Impressum ---------- */
.legal-section { padding-top: 56px; }
.legal-container { max-width: 720px; }
.legal-tmg { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 32px; }
.legal-list { margin: 0 0 40px; }
.legal-list dt {
  font-weight: 700;
  color: var(--ink);
  margin-top: 22px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.legal-list dt:first-child { margin-top: 0; }
.legal-list dd {
  margin: 4px 0 0;
  font-size: 1.02rem;
  color: var(--ink);
  line-height: 1.6;
}
.legal-list dd a { color: var(--accent); }
.legal-subhead { font-size: 1.1rem; margin-top: 36px; }
.legal-back {
  display: inline-block;
  margin-top: 40px;
  font-weight: 600;
  color: var(--accent);
}
.footer-copy a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: #94A3B8; padding: 36px 0 30px; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-inner { text-align: center; }
.footer-logo { font-weight: 800; font-size: 1.2rem; color: var(--white); margin-bottom: 10px; }
.footer-logo span { color: #60A5FA; }
.footer-copy { font-size: 0.82rem; margin-top: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner, .about-inner { grid-template-columns: 1fr; }
  .about-media { order: -1; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .burger { display: flex; }
  .header-cta { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 60px 0; }
  .hero { padding: 48px 0 40px; }
}

/* Mobile nav (open state) */
.main-nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 20px 24px;
  gap: 16px;
}
