:root {
  --primary: #0b6b3a;
  --primary-dark: #064326;
  --accent: #f4b400;
  --bg: #f7f7f7;
  --text: #222;
  --muted: #666;
  --white: #ffffff;
  --border: #e0e0e0;
  --max-width: 1100px;
  --radius: 8px;
  --shadow-soft: 0 8px 20px rgba(0,0,0,0.06);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

header {
  background: var(--white);
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  cursor: pointer;
  transition: opacity 0.2s;
  min-width: fit-content;
}

.nav-left:hover {
  opacity: 0.8;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #f4b400, #0b6b3a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text span:first-child {
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.brand-text span:last-child {
  font-size: 0.75rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.nav-links a {
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover {
  background: var(--primary);
  color: var(--white);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 0.15rem 0.5rem;
  background: var(--white);
}

.lang-switch button {
  border: none;
  background: transparent;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--muted);
}

.lang-switch button.active {
  background: var(--primary);
  color: var(--white);
}

main {
  max-width: var(--max-width);
  margin: 1.5rem auto 3rem;
  padding: 0 1.5rem;
}

section {
  margin-bottom: 2.5rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-soft);
}

section h1,
section h2 {
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

section h1 {
  font-size: 1.7rem;
}

section h2 {
  font-size: 1.3rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
  gap: 1.5rem;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: rgba(11, 107, 58, 0.06);
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.hero-tag span {
  font-weight: 600;
}

.hero h1 {
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.btn-primary,
.btn-outline {
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: rgba(11, 107, 58, 0.06);
}

.hero-card {
  background: linear-gradient(135deg, #0b6b3a, #064326);
  border-radius: var(--radius);
  padding: 1.25rem;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 0 0, rgba(244, 180, 0, 0.35), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

.hero-card-inner {
  position: relative;
  z-index: 1;
}

.hero-card h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.hero-card p {
  font-size: 0.85rem;
  opacity: 0.95;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-pill span {
  font-weight: 600;
}

.hero-list {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  list-style: none;
}

.hero-list li::before {
  content: "• ";
  color: var(--accent);
}

.two-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr);
  gap: 1.5rem;
}

.muted {
  color: var(--muted);
  font-size: 0.9rem;
}

ul {
  padding-left: 1.1rem;
  margin-top: 0.5rem;
  font-size: 0.92rem;
}

ul li {
  margin-bottom: 0.25rem;
}

.card-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin-top: 0.75rem;
}

.card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1rem;
  background: #fcfcfc;
}

.card h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
  color: var(--primary-dark);
}

.card p {
  font-size: 0.9rem;
  color: var(--muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(11, 107, 58, 0.06);
  color: var(--primary-dark);
  margin-bottom: 0.4rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr);
  gap: 1.5rem;
}

form {
  display: grid;
  gap: 0.75rem;
}

label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

input,
textarea {
  width: 100%;
  padding: 0.55rem 0.6rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  font-size: 0.9rem;
  font-family: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-info p {
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.contact-info strong {
  color: var(--primary-dark);
}

footer {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  padding: 1.5rem 1rem 2rem;
}

.main-footer {
  background: var(--primary);
  margin-top: 3rem;
  padding: 2rem 1.5rem 1.5rem;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.footer-section h3 {
  font-size: 1.1rem;
}

.footer-section p,
.footer-section a {
  color: var(--white);
  font-size: 0.9rem;
  line-height: 1.6;
  text-decoration: none;
}

.footer-section a {
  transition: opacity 0.2s;
}

.footer-section a:hover {
  opacity: 0.8;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Multilingue */
[data-lang-block] {
  display: none;
}

[data-lang-block].active {
  display: block;
}

/* Menu mobile */
.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--primary-dark);
}

.menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--primary-dark);
  margin: 5px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Slider */
.slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.slider-container {
  display: flex;
  position: relative;
  height: 400px;
}

.slide {
  min-width: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 2rem;
  text-align: center;
  animation: slideIn 0.5s ease-in;
  flex-direction: column;
  gap: 1rem;
}

.slide h2 {
  font-size: 2rem;
  margin: 0;
  font-weight: 700;
}

.slide p {
  font-size: 1.1rem;
  opacity: 0.95;
  margin: 0;
}

.slide.active {
  display: flex;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  z-index: 10;
  transition: background 0.2s;
}

.slider-prev:hover,
.slider-next:hover {
  background: var(--white);
}

.slider-prev {
  left: 15px;
}

.slider-next {
  right: 15px;
}

/* Animations */
.fade-in {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 800px) {
  .hero,
  .two-cols,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .nav {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
  }

  .nav-left {
    order: 1;
    flex: 1;
    min-width: 150px;
  }

  .nav-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    order: 2;
  }

  .nav-links {
    order: 3;
    width: 100%;
    position: absolute;
    top: 55px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }

  .nav-links.active {
    max-height: 500px;
  }

  .nav-links a {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    display: block;
  }

  .menu-btn {
    display: block;
  }

  .lang-switch {
    border: none;
    padding: 0.15rem 0.5rem;
    gap: 0.15rem;
  }

  section {
    padding: 1.25rem 1rem;
  }

  main {
    padding: 0 1rem;
  }

  .slider-container {
    height: 250px;
  }

  .slider-prev,
  .slider-next {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .slider-prev {
    left: 10px;
  }

  .slider-next {
    right: 10px;
  }
}
