:root {
    --bg-color: #f1ebd9;
    --text-dark: #2c2925;
    --green-dark: #3a5336;
    --green-light: #7b8e6a;
    --green-card: #dde3cf;
    --accent-color: #5a4b3d;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
    background-image: url('data:image/svg+xml;utf8,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><path d="M20 20.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z" fill="rgba(0,0,0,0.03)"/></svg>');
    padding-top: 70px;
}

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

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--green-dark);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
}

.navbar-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.navbar-logo {
    font-family: 'Alfa Slab One', cursive;
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 20px;
}

.navbar-menu a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.navbar-menu a:hover {
    color: var(--green-card);
}

/* --- Header Section --- */
header {
    text-align: center;
    margin-bottom: 30px;
    padding-top: 20px;
}

.logo-title h1 {
    font-family: 'Alfa Slab One', cursive;
    font-size: 4rem;
    color: var(--green-dark);
    letter-spacing: 2px;
    margin-bottom: -15px;
    text-transform: uppercase;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.1);
}

.logo-title h2 {
    font-family: 'Caveat', cursive;
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.subtitle {
    background-color: var(--green-dark);
    color: white;
    display: inline-block;
    padding: 10px 30px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
    box-shadow: 2px 4px 10px rgba(0,0,0,0.2);
}

.catchphrase {
    font-family: 'Caveat', cursive;
    font-size: 1.8rem;
    color: var(--text-dark);
}

/* --- EDITO SECTION --- */
.edito-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    border: 2px solid var(--green-card);
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.edito-header {
    font-family: 'Alfa Slab One', cursive;
    color: var(--green-dark);
    font-size: 1.6rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.edito-content p {
    margin-bottom: 15px;
    font-size: 1.05rem;
    text-align: justify;
    color: #3a3530;
}

.edito-content p:last-child {
    margin-bottom: 0;
}

.highlight {
    color: var(--green-dark);
    font-weight: 700;
}

/* --- CAROUSEL SECTION --- */
.carousel-section {
    position: relative;
    max-width: 900px;
    margin: 30px auto;
    padding: 0 10px;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
}

.carousel-slide img {
    width: 100%;
    height: 750px;
    object-fit: cover;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    z-index: 10;
}

.carousel-btn.prev {
    left: 25px;
}

.carousel-btn.next {
    right: 25px;
}

/* --- SERVICES & CARDS --- */
.services {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.card {
    flex: 1;
    min-width: calc(50% - 10px);
    border-radius: 15px;
    border: 2px solid var(--accent-color);
    background-color: var(--green-card);
    padding: 20px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--green-dark);
}

.card-icon {
    background-color: var(--green-dark);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 15px;
}

.card-title {
    font-family: 'Alfa Slab One', cursive;
    font-size: 1.4rem;
    color: var(--green-dark);
    text-transform: uppercase;
    line-height: 1.2;
}

.price-item {
    display: flex;
    align-items: flex-end;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 600;
}

.price-dots {
    flex-grow: 1;
    border-bottom: 2px dotted var(--accent-color);
    margin: 0 10px;
    position: relative;
    top: -5px;
}

.price-val {
    font-size: 1.3rem;
    color: var(--text-dark);
}

.features {
    list-style: none;
    margin-top: 20px;
}

.features li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    font-size: 0.95rem;
    font-weight: 600;
}

.features li i {
    color: var(--green-dark);
    margin-right: 10px;
    margin-top: 4px;
}

/* Style global de la carte pour correspondre au design du site */
.card {
  background-color: #e2e8d5; /* Fond vert clair pastel */
  border: 2px solid #556b2f; /* Bordure vert foncé */
  border-radius: 16px;
  padding: 24px;
  max-width: 450px;
  font-family: 'Arial', sans-serif;
  color: #2c3518;
}

/* En-tête avec l'icône sombre */
.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 2px solid #556b2f;
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.icon-box {
  background-color: #4a3b32; /* Fond marron/sombre de l'icône */
  color: #ffffff;
  padding: 10px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-header h2 {
  font-family: 'Impact', 'Arial Black', sans-serif; /* Typographie stencil/épaisse */
  font-size: 1.5rem;
  color: #384224;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Alignement des prix avec la ligne pointillée */
.price-row {
  display: flex;
  align-items: baseline;
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.dots {
  flex-grow: 1;
  border-bottom: 2px dotted #8b9b71;
  margin: 0 8px;
}

.price {
  font-weight: bold;
  font-size: 1.2rem;
  color: #2c3518;
}

/* Liste des avantages avec coche */
.features-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.check-icon {
  background-color: #384224;
  color: #ffffff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
}

/* Variantes de couleurs pour alterner les cartes */
.card-mid {
    background-color: #f1ebd9;
    border-color: var(--green-light);
}
.card-mid .card-icon { background-color: var(--accent-color); }
.card-mid .card-title { color: var(--accent-color); }

.sub-section { margin-top: 15px; }
.sub-header {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--accent-color);
}
.sub-header i { margin-right: 10px; font-size: 1.5rem; }

/* --- Banner Values --- */
.values-banner {
    background-color: var(--green-dark);
    color: white;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 40px;
    position: relative;
}
.values-banner h3 {
    font-family: 'Open Sans', sans-serif;
    letter-spacing: 2px;
    font-size: 1.3rem;
    margin-bottom: 10px;
}
.values-banner p {
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
}

/* ---  Values --- */
.values {
    background-color: var(--green-dark);
    color: white;
    text-align: center;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 40px;
    position: relative;
}
.values h3 {
    font-family: 'Open Sans', sans-serif;
    letter-spacing: 10px;
    font-size: 1.3rem;
    margin-bottom: 50px;
}
.values p {
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
}

/* --- Contact & Area Section --- */
.contact-area {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    border: 1px dashed var(--green-dark);
}

.contact-info, .service-area {
    flex: 1;
    min-width: 300px;
}

.contact-header {
    font-family: 'Alfa Slab One', cursive;
    color: var(--green-dark);
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.contact-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.contact-list li {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 1rem;
}

.contact-list li a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-list li a:hover {
    color: var(--green-dark);
    text-decoration: underline;
}

.contact-list li i {
    width: 30px;
    font-size: 1.2rem;
    color: var(--text-dark);
}

.service-area-box {
    display: flex;
    align-items: flex-start;
    background-color: var(--bg-color);
    padding: 20px;
    border-radius: 10px;
}

.service-area-box i {
    font-size: 2rem;
    color: var(--green-dark);
    margin-right: 15px;
}

.service-area-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.service-area-text p {
    font-size: 0.95rem;
}

/* --- BACK TO TOP BUTTON --- */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: var(--accent-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    background-color: var(--green-dark);
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 900px) {
    .card { min-width: 100%; }
}

@media (max-width: 768px) {
    .logo-title h1 { font-size: 2.5rem; }
    .logo-title h2 { font-size: 2.5rem; }
    .contact-list { grid-template-columns: 1fr; }
    .navbar-menu { display: none; }
    .carousel-slide img { height: 30ch; }
    .carousel-btn { width: 38px; height: 38px; font-size: 16px; }
    .carousel-btn.prev { left: 15px; }
    .carousel-btn.next { right: 15px; }
}