/* ══════════════════════════════════════════════
   Web Région — Shared Styles
   ══════════════════════════════════════════════ */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --forest: #1a3a2a;
  --cream: #f5f0e8;
  --terracotta: #c4654a;
  --sage: #7a9e7e;
  --warm-white: #faf8f4;
  --text: #2c2c2c;
  --text-light: #6b6b6b;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text);
  background: var(--warm-white);
  overflow-x: hidden;
}

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

/* ── NAV ─────────────────────────────────────── */
nav {
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}
.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--forest);
  letter-spacing: -0.5px;
}
.logo span { color: var(--terracotta); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--forest);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--terracotta);
  border-radius: 2px;
}
.nav-cta {
  background: var(--terracotta) !important;
  color: white !important;
  padding: 0.55rem 1.2rem;
  border-radius: 8px;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  transition: background 0.2s !important;
}
.nav-cta:hover {
  background: #b35840 !important;
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--forest);
}

/* ── PAGE HEADER ─────────────────────────────── */
.page-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
}
.page-header .section-label {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--terracotta);
  margin-bottom: 0.8rem;
}
.page-header h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--forest);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.page-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 600px;
}

/* ── BUTTONS ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-primary {
  background: var(--terracotta);
  color: white;
}
.btn-primary:hover {
  background: #b35840;
  transform: translateY(-1px);
}
.btn-secondary {
  background: var(--cream);
  color: var(--forest);
}
.btn-secondary:hover {
  background: #ede7db;
}
.btn-outline {
  background: transparent;
  color: var(--forest);
  border: 2px solid var(--sage);
}
.btn-outline:hover {
  background: var(--sage);
  color: white;
}

/* ── SECTOR BADGE ────────────────────────────── */
.sector-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}
.sector-badge.agriculture {
  background: #e8f0e9;
  color: #2d5016;
}
.sector-badge.commerce {
  background: #fde8e2;
  color: #8b3a3a;
}
.sector-badge.artisanat {
  background: #e8edf5;
  color: #3d4a6b;
}

/* ── SHOWCASE CARDS ──────────────────────────── */
.showcase-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem 5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.showcase-card {
  border-radius: 16px;
  border: 1px solid rgba(122, 158, 126, 0.15);
  overflow: hidden;
  transition: all 0.3s ease;
  background: white;
}
.showcase-card:hover {
  border-color: var(--sage);
  box-shadow: 0 12px 40px rgba(26, 58, 42, 0.1);
  transform: translateY(-4px);
}

.card-preview {
  height: 240px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card-preview-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(0,0,0,0.15);
}
.card-preview-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
}
.card-preview-dot:first-child { background: #ff5f57; }
.card-preview-dot:nth-child(2) { background: #febc2e; }
.card-preview-dot:nth-child(3) { background: #28c840; }
.card-preview-url {
  flex: 1;
  text-align: center;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
  font-family: monospace;
}

.card-preview-content {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.card-preview-content .mock-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.card-preview-content .mock-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: white;
}
.card-preview-content .mock-links {
  display: flex;
  gap: 0.8rem;
}
.card-preview-content .mock-link {
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.3);
}
.card-preview-content .mock-hero-text {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: white;
  line-height: 1.3;
  margin-top: 0.5rem;
}
.card-preview-content .mock-subtitle {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
}
.card-preview-content .mock-btn {
  display: inline-block;
  padding: 0.35rem 0.8rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  color: white;
  width: fit-content;
  margin-top: 0.3rem;
}
.card-preview-content .mock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: auto;
}
.card-preview-content .mock-grid-item {
  height: 28px;
  border-radius: 4px;
  background: rgba(255,255,255,0.1);
}

.card-body {
  padding: 1.5rem;
}
.card-body h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--forest);
  margin-bottom: 0.3rem;
}
.card-body .card-tagline {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(122, 158, 126, 0.1);
}
.card-location {
  font-size: 0.85rem;
  color: var(--text-light);
}
.card-tier {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--terracotta);
}

/* ── SITE DETAIL ─────────────────────────────── */
.detail-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2rem 5rem;
}
.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  transition: color 0.2s;
}
.detail-back:hover { color: var(--forest); }

.detail-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.detail-preview {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(26, 58, 42, 0.12);
  height: 360px;
  display: flex;
  flex-direction: column;
}
.detail-preview .card-preview-bar {
  padding: 14px 18px;
}
.detail-preview .card-preview-content {
  flex: 1;
  padding: 2rem;
}
.detail-preview .mock-hero-text {
  font-size: 1.5rem !important;
}
.detail-preview .mock-subtitle {
  font-size: 0.85rem !important;
  max-width: 300px;
}
.detail-preview .mock-btn {
  padding: 0.5rem 1.2rem !important;
  font-size: 0.8rem !important;
}
.detail-preview .mock-grid {
  grid-template-columns: repeat(4, 1fr);
}
.detail-preview .mock-grid-item {
  height: 40px;
}

.detail-info h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--forest);
  margin-bottom: 0.5rem;
}
.detail-info .detail-tagline {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.detail-info .detail-location {
  font-size: 0.9rem;
  color: var(--sage);
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.detail-info .detail-description {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* Features list */
.features-section {
  margin-bottom: 3rem;
}
.features-section h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--forest);
  margin-bottom: 1.5rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1rem;
  border-radius: 10px;
  background: white;
  border: 1px solid rgba(122, 158, 126, 0.1);
}
.feature-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--sage);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}
.feature-item span {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
}

/* Pricing box on detail page */
.detail-pricing {
  background: var(--forest);
  border-radius: 16px;
  padding: 2.5rem;
  color: white;
}
.detail-pricing h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.detail-pricing .price {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--sage);
  margin-bottom: 0.3rem;
}
.detail-pricing .price-suffix {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
}
.detail-pricing .pricing-features {
  list-style: none;
  margin: 1.5rem 0;
}
.detail-pricing .pricing-features li {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.detail-pricing .pricing-features li::before {
  content: '\2713';
  color: var(--sage);
  font-weight: 700;
}

/* ── PRICING PAGE ────────────────────────────── */
.pricing-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem 5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}
.pricing-card {
  background: white;
  border-radius: 16px;
  border: 1px solid rgba(122, 158, 126, 0.15);
  overflow: hidden;
  transition: all 0.3s;
}
.pricing-card:hover {
  box-shadow: 0 12px 40px rgba(26, 58, 42, 0.1);
}
.pricing-card.featured {
  border-color: var(--terracotta);
  position: relative;
}
.pricing-card.featured::before {
  content: 'Populaire';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
  background: var(--terracotta);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem;
  letter-spacing: 0.5px;
}
.pricing-card-header {
  padding: 2.5rem 2rem 1.5rem;
  text-align: center;
}
.pricing-card.featured .pricing-card-header {
  padding-top: 3.5rem;
}
.pricing-card-header h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--forest);
  margin-bottom: 0.5rem;
}
.pricing-card-header .price {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 3rem;
  color: var(--forest);
}
.pricing-card-header .price sup {
  font-size: 1.2rem;
  font-weight: 600;
  top: -1rem;
}
.pricing-card-header .price-sub {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 0.2rem;
}
.pricing-card-header .price-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 0.8rem;
  line-height: 1.5;
}
.pricing-card-features {
  padding: 0 2rem;
  list-style: none;
}
.pricing-card-features li {
  padding: 0.6rem 0;
  font-size: 0.9rem;
  color: var(--text);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.pricing-card-features li::before {
  content: '\2713';
  color: var(--sage);
  font-weight: 700;
  font-size: 0.85rem;
}
.pricing-card-footer {
  padding: 1.5rem 2rem 2rem;
  text-align: center;
}
.pricing-card-footer .btn {
  width: 100%;
  justify-content: center;
}

/* ── CONTACT FORM ────────────────────────────── */
.contact-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.contact-form {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid rgba(122, 158, 126, 0.15);
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--forest);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(122, 158, 126, 0.2);
  border-radius: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--warm-white);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sage);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-success {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
}
.form-success .success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--sage);
  color: white;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.form-success h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 0.5rem;
}
.form-success p {
  color: var(--text-light);
}

.contact-info {
  padding: 1rem 0;
}
.contact-info h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--forest);
  margin-bottom: 1rem;
}
.contact-info p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-detail-text h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--forest);
  margin-bottom: 0.2rem;
}
.contact-detail-text p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.5;
}

/* ── CAL.COM BOOKING SECTION ─────────────────── */
.cal-booking-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}
.cal-booking-section h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--forest);
  margin-bottom: 0.5rem;
}
.cal-booking-section > p {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}
.cal-embed-container {
  width: 100%;
  min-height: 450px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--cream);
  background: #fff;
}

/* ── FOOTER ──────────────────────────────────── */
footer {
  background: var(--cream);
  padding: 3rem 2rem;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
footer .logo {
  margin-bottom: 0;
}
.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--text-light);
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--forest);
}
footer .footer-copy {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ── FILTER TABS ─────────────────────────────── */
.filter-tabs {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 1.5rem;
  display: flex;
  gap: 0.5rem;
}
.filter-tab {
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1.5px solid rgba(122, 158, 126, 0.2);
  background: transparent;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.filter-tab:hover {
  border-color: var(--sage);
  color: var(--forest);
}
.filter-tab.active {
  background: var(--forest);
  border-color: var(--forest);
  color: white;
}

/* ── LOADING ─────────────────────────────────── */
.loading {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-light);
}
.loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--cream);
  border-top-color: var(--sage);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1rem;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── MOBILE ──────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--warm-white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    z-index: 100;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    font-size: 1.2rem;
  }
  .nav-mobile-toggle {
    display: block;
    z-index: 101;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .detail-hero {
    grid-template-columns: 1fr;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .filter-tabs {
    overflow-x: auto;
    padding-bottom: 1rem;
  }
  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
