/* ============================================
   ALIMMO08 — "Ardennes Nature" Design
   Forest green, warm wood, cream tones
   ============================================ */

/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #2d5a27;
  --primary-dark: #1a3a15;
  --secondary: #8b6914;
  --bg: #faf6f0;
  --white: #ffffff;
  --text: #3d2b1f;
  --text-light: #6b5545;
  --cta: #d4772c;
  --cta-hover: #b8621f;
  --sage: #7d9b76;
  --green-light: #e8f0e6;
  --border-green: #c5d8c2;
  --shadow: 0 2px 12px rgba(45,90,39,0.08);
  --shadow-lg: 0 8px 30px rgba(45,90,39,0.12);
  --radius: 10px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--sage) var(--green-light);
}

html::-webkit-scrollbar {
  width: 10px;
}
html::-webkit-scrollbar-track {
  background: var(--green-light);
}
html::-webkit-scrollbar-thumb {
  background: var(--sage);
  border-radius: 5px;
}
html::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--cta);
}

h1, h2, h3, h4 {
  color: var(--primary-dark);
  line-height: 1.3;
  font-weight: 700;
}
h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.35rem; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === SECTION DIVIDER (wave SVG) === */
.section-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.section-divider svg {
  display: block;
  width: 100%;
  height: 50px;
}

/* === NATURE DECORATIVE ELEMENTS === */
.nature-dot::before {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(125,155,118,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.nature-dot-right::before {
  right: -60px;
  top: 20px;
}
.nature-dot-left::before {
  left: -60px;
  bottom: 20px;
}

/* === HEADER === */
.site-header {
  background: rgba(26,58,21,0.96);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--sage);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
  height: 70px;
}
.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}
.logo span {
  color: var(--cta);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 6px;
}
.main-nav a {
  color: rgba(255,255,255,0.88);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 500;
  transition: all var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
  color: #fff;
  background: rgba(125,155,118,0.25);
}

/* Mobile menu button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
  transition: var(--transition);
}

/* === HERO === */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--sage) 100%);
  color: #fff;
  padding: 100px 20px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,119,44,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(125,155,118,0.2) 0%, transparent 70%);
  border-radius: 50%;
}
.hero h1 {
  color: #fff;
  font-size: 2.8rem;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.hero .subtitle {
  font-size: 1.25rem;
  opacity: 0.92;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-align: center;
}
.btn-primary {
  background: var(--cta);
  color: #fff;
}
.btn-primary:hover {
  background: var(--cta-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212,119,44,0.35);
}
.btn-secondary {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.25);
  color: #fff;
}
.btn-green {
  background: var(--primary);
  color: #fff;
}
.btn-green:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
}

/* === SECTIONS === */
section {
  padding: 70px 0;
  position: relative;
}
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  position: relative;
  display: inline-block;
}
.section-title h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--cta);
  margin: 12px auto 0;
  border-radius: 2px;
}
.section-title p {
  color: var(--text-light);
  max-width: 600px;
  margin: 12px auto 0;
}

.bg-green-light {
  background: var(--green-light);
}
.bg-white {
  background: var(--white);
}

/* === PROPERTY CARDS === */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.property-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
  transition: all var(--transition);
}
.property-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.property-img {
  height: 200px;
  position: relative;
  overflow: hidden;
}
.property-img-placeholder {
  width: 100%;
  height: 100%;
}
.property-img-placeholder.house-1 {
  background: linear-gradient(135deg, #5a8f54 0%, #3d6b37 30%, #8b6914 70%, #c4a35a 100%);
}
.property-img-placeholder.house-2 {
  background: linear-gradient(135deg, #7d9b76 0%, #4a7a43 40%, #6b5545 80%, #8b7355 100%);
}
.property-img-placeholder.house-3 {
  background: linear-gradient(135deg, #a0b89a 0%, #5a8f54 50%, #3d2b1f 100%);
}
.property-img-placeholder.house-4 {
  background: linear-gradient(135deg, #c4a35a 0%, #8b6914 40%, #5a8f54 80%, #2d5a27 100%);
}
.property-img-placeholder.house-5 {
  background: linear-gradient(135deg, #6b8f64 0%, #2d5a27 50%, #8b6914 100%);
}
.property-img-placeholder.house-6 {
  background: linear-gradient(135deg, #8b7355 0%, #5a8f54 50%, #1a3a15 100%);
}
.property-img-placeholder.house-7 {
  background: linear-gradient(135deg, #2d5a27 0%, #7d9b76 50%, #c4a35a 100%);
}
.property-img-placeholder.house-8 {
  background: linear-gradient(135deg, #4a7a43 0%, #8b6914 50%, #3d6b37 100%);
}
.property-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-exclu {
  background: var(--cta);
  color: #fff;
}
.badge-new {
  background: var(--primary);
  color: #fff;
}
.property-info {
  padding: 20px;
}
.property-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 6px;
}
.property-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}
.property-details {
  display: flex;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 10px;
}
.property-details span::before {
  margin-right: 4px;
}
.property-location {
  font-size: 0.85rem;
  color: var(--sage);
  font-weight: 600;
}

/* === SERVICE CARDS === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  padding: 36px 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--primary);
  transition: all var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-icon {
  width: 64px;
  height: 64px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
}
.service-card h3 {
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.92rem;
  color: var(--text-light);
}

/* === STATS / COUNTERS === */
.stats-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 60px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}
.stat-item h3 {
  color: var(--cta);
  font-size: 2.8rem;
  margin-bottom: 8px;
}
.stat-item p {
  font-size: 1.05rem;
  opacity: 0.9;
}

/* === TESTIMONIALS === */
.testimonials-wrapper {
  position: relative;
  overflow: hidden;
}
.testimonials-track {
  display: flex;
  transition: transform 0.5s ease;
}
.testimonial-card {
  min-width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .testimonial-card {
    min-width: 50%;
  }
}
@media (min-width: 1024px) {
  .testimonial-card {
    min-width: 33.333%;
  }
}
.testimonial-inner {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  border: 1px solid var(--border-green);
  height: 100%;
}
.testimonial-inner::before {
  content: '\201C';
  position: absolute;
  top: -8px;
  left: 20px;
  font-size: 4rem;
  color: var(--sage);
  opacity: 0.3;
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial-stars {
  color: var(--cta);
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 16px;
  font-style: italic;
}
.testimonial-author {
  font-weight: 700;
  color: var(--primary-dark);
}
.testimonial-date {
  font-size: 0.82rem;
  color: var(--text-light);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-green);
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}
.carousel-dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* === FAQ ACCORDION === */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  border-left: 3px solid var(--sage);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--sage);
  transition: transform var(--transition);
}
.faq-item.active .faq-question::after {
  content: '-';
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-light);
  line-height: 1.7;
}

/* === FORMS === */
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 0.92rem;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border-green);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45,90,39,0.1);
}
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232d5a27' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* === TEAM CARDS === */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all var(--transition);
}
.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.team-photo {
  height: 200px;
  background: linear-gradient(135deg, var(--sage), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-photo .initials {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255,255,255,0.7);
}
.team-info {
  padding: 24px;
}
.team-info h3 {
  margin-bottom: 4px;
}
.team-role {
  color: var(--cta);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.team-info p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 8px;
}
.team-zone {
  font-size: 0.82rem;
  color: var(--sage);
  font-weight: 600;
}

/* === TIMELINE === */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--border-green);
}
.timeline-step {
  position: relative;
  padding-left: 72px;
  margin-bottom: 36px;
}
.timeline-number {
  position: absolute;
  left: 10px;
  top: 0;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  z-index: 1;
}
.timeline-step h3 {
  margin-bottom: 6px;
}
.timeline-step p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* === PRICE TABLE === */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.price-table th {
  background: var(--primary);
  color: #fff;
  padding: 14px 20px;
  text-align: left;
  font-weight: 600;
}
.price-table td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--green-light);
}
.price-table tr:last-child td {
  border-bottom: none;
}
.price-table tr:hover td {
  background: var(--green-light);
}

/* === FILTER SECTION === */
.filters-bar {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 36px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: end;
}
.filter-group {
  flex: 1;
  min-width: 150px;
}
.filter-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 4px;
}
.filter-group select {
  width: 100%;
}

/* === MAP PLACEHOLDER === */
.map-placeholder {
  height: 350px;
  background: linear-gradient(135deg, var(--green-light), var(--sage));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-size: 1.1rem;
  font-weight: 600;
}

/* === CONTACT INFO === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
}
.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-info-item h4 {
  margin-bottom: 2px;
  font-size: 1rem;
}
.contact-info-item p {
  color: var(--text-light);
  font-size: 0.92rem;
}

/* === BREADCRUMB === */
.breadcrumb {
  padding: 14px 0;
  font-size: 0.88rem;
}
.breadcrumb a {
  color: var(--sage);
}
.breadcrumb span {
  color: var(--text-light);
  margin: 0 8px;
}

/* === PAGE HERO (inner pages) === */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 60px 20px 50px;
  text-align: center;
}
.page-hero h1 {
  color: #fff;
  font-size: 2.2rem;
  margin-bottom: 10px;
}
.page-hero p {
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* === VALUES === */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.value-card {
  text-align: center;
  padding: 28px;
}
.value-card .value-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
}
.value-card h3 {
  margin-bottom: 8px;
}
.value-card p {
  color: var(--text-light);
  font-size: 0.92rem;
}

/* === FOOTER === */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 50px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--cta);
  border-radius: 2px;
}
.footer-col p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 8px;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}
.footer-col ul a:hover {
  color: var(--cta);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
}

/* === 404 === */
.error-page {
  text-align: center;
  padding: 100px 20px;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.error-page h1 {
  font-size: 6rem;
  color: var(--sage);
  margin-bottom: 10px;
}
.error-page h2 {
  margin-bottom: 16px;
}
.error-page p {
  color: var(--text-light);
  margin-bottom: 30px;
}

/* === FADE IN ANIMATION === */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === CONTENT ARTICLE === */
.content-article {
  max-width: 800px;
  margin: 0 auto;
}
.content-article h2 {
  margin-top: 36px;
}
.content-article p {
  margin-bottom: 16px;
}
.content-article ul {
  margin: 12px 0 20px 24px;
  color: var(--text-light);
}
.content-article li {
  margin-bottom: 6px;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .properties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .menu-toggle {
    display: block;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    padding: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .main-nav.open {
    display: block;
  }
  .main-nav ul {
    flex-direction: column;
  }
  .main-nav a {
    display: block;
    padding: 12px 16px;
  }

  .hero {
    padding: 70px 20px 60px;
  }
  .hero h1 {
    font-size: 2rem;
  }

  .properties-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .filters-bar {
    flex-direction: column;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
}
