/*
Theme Name: COLMAR SOL GLOBAL
Theme URI: https://www.colmarsolglobal.com
Author: COLMAR SOL GLOBAL
Description: Thème vitrine multilingue (FR/EN/AR) pour l'entreprise d'import-export COLMAR SOL GLOBAL, avec boutons WhatsApp et appel rapide.
Version: 1.0
Text Domain: colmarsolglobal
*/

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  color: #0f172a;
  background-color: #f9fafb;
  line-height: 1.5;
}

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

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(249, 250, 251, 0.96);
  border-bottom: 1px solid #e5e7eb;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-wrap { display: flex; align-items: center; gap: 0.6rem; }
.logo-text {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f3b4c;
}
.logo-image { height: 48px; width: auto; }

nav ul { list-style: none; display: flex; gap: 1rem; font-size: 0.95rem; }
nav a { padding: 0.3rem 0.55rem; border-radius: 999px; }
nav a:hover { background: #e5e7eb; }

.btn-primary {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  background: #c28b2c;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
}

.btn-outline {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #0f172a;
  font-size: 0.9rem;
  cursor: pointer;
}

.floating-buttons {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 60;
}
.floating-buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #0f3b4c;
  color: #ffffff;
  font-size: 0.9rem;
}
.floating-buttons a.whatsapp { background: #22c55e; }
.floating-buttons a.call { background: #0f3b4c; }

.lang-switcher {
  display: flex;
  gap: 0.3rem;
  align-items: center;
  font-size: 0.8rem;
}
.lang-switcher button {
  border-radius: 999px;
  border: 1px solid #d1d5db;
  padding: 0.28rem 0.6rem;
  background: #ffffff;
  cursor: pointer;
  font-size: 0.8rem;
  min-width: 2.3rem;
}
.lang-switcher button.active {
  background: #0f3b4c;
  color: #ffffff;
  border-color: #0f3b4c;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem 1rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.6fr);
  align-items: center;
  gap: 2rem;
  padding: 2.5rem 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: #e0f2fe;
  color: #075985;
  margin-bottom: 1rem;
}
.hero-title {
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
  color: #0f172a;
}
.hero-title span { color: #c28b2c; }
.hero-text { font-size: 0.98rem; color: #4b5563; margin-bottom: 1.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.2rem; }
.hero-note { font-size: 0.8rem; color: #6b7280; }
.hero-card {
  background: #0f3b4c;
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  color: #f9fafb;
}
.hero-stats { display: flex; flex-wrap: wrap; gap: 1.25rem; font-size: 0.85rem; }
.hero-stat-value { font-weight: 700; font-size: 1.1rem; }
.hero-stat-label { color: #cbd5f5; font-size: 0.8rem; }

section { margin-top: 2.5rem; }
section h2 { font-size: 1.5rem; margin-bottom: 0.75rem; color: #0f172a; }
section p.section-intro { font-size: 0.95rem; color: #4b5563; margin-bottom: 1.5rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.service-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.25rem;
  border: 1px solid #e5e7eb;
}
.service-title { font-weight: 600; margin-bottom: 0.3rem; }
.service-desc { font-size: 0.9rem; color: #6b7280; margin-bottom: 0.75rem; }
.service-tag {
  font-size: 0.75rem;
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: #eef2ff;
  color: #4f46e5;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.5fr);
  gap: 2rem;
  align-items: center;
}
.about-highlight {
  background: #0f3b4c;
  color: #f9fafb;
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  font-size: 0.9rem;
}
.about-points {
  list-style: none;
  margin-top: 1rem;
  display: grid;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #d1d5db;
}
.about-points li::before { content: "• "; color: #c28b2c; }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
  gap: 2rem;
}

.contact-details { font-size: 0.9rem; color: #374151; margin-top: 0.5rem; }
.contact-details div { margin-bottom: 0.3rem; }
.contact-details span.label {
  font-weight: 600;
  width: 90px;
  display: inline-block;
}

form {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
}

.form-row { margin-bottom: 0.9rem; }
label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.3rem;
}
input, textarea {
  width: 100%;
  padding: 0.55rem 0.6rem;
  border-radius: 0.6rem;
  border: 1px solid #d1d5db;
  font-size: 0.9rem;
  background: #f9fafb;
}

footer {
  margin-top: 3rem;
  padding: 1.5rem 1rem 0.9rem 1rem;
  border-top: 1px solid #e5e7eb;
  font-size: 0.8rem;
  color: #6b7280;
  text-align: center;
}

.lang-section { display: none; }
.lang-section.active { display: block; }

.ar { direction: rtl; text-align: right; }
.ar .contact-details span.label { text-align: left; }

@media (max-width: 1024px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  nav ul { display: none; }
  .about-layout, .contact-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .services-grid { grid-template-columns: minmax(0, 1fr); }
}
