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

:root {
  --vert-foret: #1E3A2F;
  --or-patine: #B89148;
  --encre: #1C1814;
  --creme: #FAF8F2;
  --lin: #E2D9C8;
  --pierre: #7A7268;
  --mousse: #D4E8DC;
  --white: #FFFFFF;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--encre);
  background-color: var(--creme);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

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

/* ============================
   TOP BAR (Home only)
   ============================ */
.topbar {
  background-color: var(--vert-foret);
  color: var(--white);
  font-size: 0.85rem;
  padding: 10px 0;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topbar a {
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.topbar a:hover {
  opacity: 1;
}

.topbar-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ============================
   HEADER / NAV
   ============================ */
.header {
  background-color: var(--white);
  border-bottom: 1px solid var(--lin);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo img,
.logo svg {
  height: 48px;
  width: auto;
}

.nav-list {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-list a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--encre);
  position: relative;
  padding: 4px 0;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--or-patine);
  transition: width 0.3s ease;
}

.nav-list a:hover::after,
.nav-list a.active::after {
  width: 100%;
}

.nav-list a:hover {
  color: var(--or-patine);
}

.nav-list .btn-nav {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 5px;
  background-color: var(--vert-foret);
  color: var(--white);
  transition: background-color 0.3s ease;
}

.nav-list .btn-nav::after {
  display: none;
}

.nav-list .btn-nav:hover {
  background-color: #152d23;
  color: var(--white);
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--or-patine);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #a17e3a;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--or-patine);
  color: var(--or-patine);
}

.btn-outline:hover {
  background-color: var(--or-patine);
  color: var(--white);
}

.btn-white {
  background-color: var(--white);
  color: var(--vert-foret);
}

.btn-white:hover {
  background-color: var(--creme);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--encre);
  margin: 5px 0;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================
   HERO
   ============================ */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--vert-foret);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  color: var(--white);
  padding: 80px 0;
}

.hero-tag {
  display: inline-block;
  background-color: var(--or-patine);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: 4px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================
   STATS BAR
   ============================ */
.stats {
  background-color: var(--white);
  padding: 48px 0;
  border-bottom: 1px solid var(--lin);
}

.stats .container {
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--or-patine);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--pierre);
}

/* ============================
   SECTIONS
   ============================ */
.section {
  padding: 80px 0;
}

.section-dark {
  background-color: var(--vert-foret);
  color: var(--white);
}

.section-white {
  background-color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--or-patine);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-dark .section-header h2 {
  color: var(--white);
}

.section-header p {
  color: var(--pierre);
  font-size: 1.05rem;
  line-height: 1.7;
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.75);
}

/* ============================
   SERVICES GRID
   ============================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background-color: var(--white);
  border: 1px solid var(--lin);
  border-radius: 12px;
  padding: 40px 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.service-icon {
  width: 56px;
  height: 56px;
  background-color: var(--mousse);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--vert-foret);
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--pierre);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================
   IMAGE CARDS
   ============================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.image-card {
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--white);
  border: 1px solid var(--lin);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.image-card-img {
  height: 220px;
  overflow: hidden;
}

.image-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.image-card:hover .image-card-img img {
  transform: scale(1.05);
}

.image-card-body {
  padding: 24px;
}

.image-card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--vert-foret);
  background-color: var(--mousse);
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.image-card-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.image-card-body p {
  color: var(--pierre);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============================
   CTA SECTION
   ============================ */
.cta-section {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.cta-section .container {
  display: flex;
  align-items: center;
  gap: 48px;
}

.cta-text {
  flex: 1;
}

.cta-text h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--white);
}

.cta-text p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

.cta-image {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  max-height: 400px;
}

.cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* ============================
   TESTIMONIAL / QUOTE
   ============================ */
.quote-section {
  padding: 80px 0;
  background-color: var(--white);
}

.quote-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.quote-mark {
  font-size: 4rem;
  color: var(--or-patine);
  line-height: 1;
  margin-bottom: 16px;
}

.quote-content blockquote {
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--encre);
  margin-bottom: 24px;
}

.quote-author {
  font-weight: 600;
  font-size: 0.95rem;
}

.quote-role {
  color: var(--pierre);
  font-size: 0.85rem;
  margin-top: 4px;
}

/* ============================
   SPLIT LAYOUT
   ============================ */
.split {
  display: flex;
  align-items: center;
  gap: 64px;
}

.split-text {
  flex: 1;
}

.split-image {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
}

.split-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.split-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.split-text p {
  color: var(--pierre);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.split-text p:last-of-type {
  margin-bottom: 24px;
}

/* ============================
   FOOTER
   ============================ */
.footer {
  background-color: var(--vert-foret);
  color: var(--white);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo img,
.footer-brand .logo svg {
  height: 40px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 300px;
}

.footer h4 {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--or-patine);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--or-patine);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  fill: var(--or-patine);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

/* ============================
   PAGE HEADER (inner pages)
   ============================ */
.page-header {
  background-color: var(--vert-foret);
  padding: 64px 0;
  text-align: center;
  color: var(--white);
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.page-header p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
}

/* ============================
   PROSE (legal, about)
   ============================ */
.prose {
  max-width: 800px;
  margin: 0 auto;
  padding: 64px 24px;
}

.prose h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--encre);
}

.prose h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
}

.prose p {
  color: var(--pierre);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.prose ul {
  margin-bottom: 16px;
  padding-left: 20px;
}

.prose ul li {
  color: var(--pierre);
  font-size: 1rem;
  line-height: 1.8;
  list-style: disc;
  margin-bottom: 4px;
}

.prose a {
  color: var(--or-patine);
}

.prose a:hover {
  text-decoration: underline;
}

/* ============================
   CONTACT PAGE
   ============================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background-color: var(--mousse);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--vert-foret);
}

.contact-info-text h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-info-text p {
  color: var(--pierre);
  font-size: 0.95rem;
}

.contact-info-text a {
  color: var(--or-patine);
}

.contact-info-text a:hover {
  text-decoration: underline;
}

.contact-form h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--encre);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--lin);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  background-color: var(--white);
  color: var(--encre);
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--or-patine);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-map {
  margin-top: 48px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--lin);
}

.contact-map iframe {
  width: 100%;
  height: 350px;
  border: 0;
}

/* ============================
   ABOUT PAGE VALUES
   ============================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-card {
  text-align: center;
  padding: 40px 24px;
}

.value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background-color: var(--mousse);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--vert-foret);
}

.value-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.value-card p {
  color: var(--pierre);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.4rem;
  }

  .services-grid,
  .cards-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .split {
    flex-direction: column;
    gap: 40px;
  }

  .cta-section .container {
    flex-direction: column;
    text-align: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .stats .container {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .topbar .container {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .topbar-left,
  .topbar-right {
    gap: 16px;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--lin);
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  }

  .nav.open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .hero {
    min-height: 480px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-content {
    padding: 48px 0;
  }

  .section {
    padding: 56px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .services-grid,
  .cards-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .page-header {
    padding: 48px 0;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.7rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .stats .container {
    flex-direction: column;
    gap: 24px;
  }
}
