/* ============================================
   Variables et Reset
   ============================================ */
:root {
    --primary-color: #1e3a8a; /* Bleu indigo foncé */
    --secondary-color: #3b82f6; /* Bleu vif */
    --accent-color: #f59e0b; /* Ambre/Orange */
    --blue-color: #2563eb; /* Bleu */
    --beige-color: #fef3c7; /* Jaune très clair/Ambre clair */
    --brown-color: #92400e; /* Marron/Ambre foncé */
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #F0F3F9; /* Gris clair bleuté RGB(240, 243, 249) */
    --white: #FBFBFD; /* Blanc très légèrement bleuté RGB(251, 251, 253) */
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light); /* Gris clair bleuté RGB(240, 243, 249) */
}

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

/* ============================================
   Navigation
   ============================================ */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}



.logo i {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
}

/* Lien actif (page courante) */
.nav-menu a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

.btn-contact {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
}

.btn-contact:hover {
    background: var(--secondary-color);
}

.btn-contact::after {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* ============================================
   Messages
   ============================================ */
.messages-container {
    padding: 1rem 0;
}

.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.close-alert {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: inherit;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,0 C150,80 350,80 500,40 C650,0 850,0 1000,40 C1100,60 1150,70 1200,80 L1200,120 L0,120 Z" fill="rgba(255,255,255,0.1)"/></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

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

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

.btn-whatsapp {
    background: #25d366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #20ba5a;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* ============================================
   Sections
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* ============================================
   Avantages
   ============================================ */
.avantages {
    padding: 4rem 0;
    background: var(--bg-light);
}

.avantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.avantage-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.avantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.avantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--beige-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
}

.avantage-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ============================================
   Terrains
   ============================================ */
.terrains-featured,
.terrains-liste {
    padding: 4rem 0;
}

.terrains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.terrain-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.terrain-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.terrain-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.terrain-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-reserve {
    background: #ffc107;
    color: var(--text-dark);
}

.terrain-content {
    padding: 1.5rem;
}

.terrain-content h3 {
    margin-bottom: 0.5rem;
}

.terrain-content h3 a {
    color: var(--primary-color);
    text-decoration: none;
}

.terrain-content h3 a:hover {
    text-decoration: underline;
}

.terrain-location {
    color: var(--text-light);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.terrain-specs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--text-light);
}

.terrain-features {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.feature-badge {
    background: var(--beige-color);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--primary-color);
}

.terrain-price {
    margin-bottom: 1rem;
}

.terrain-price strong {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.terrain-price small {
    color: var(--text-light);
    display: block;
    margin-top: 0.25rem;
}

/* ============================================
   Caractéristiques
   ============================================ */
.caracteristiques {
    padding: 4rem 0;
    background: var(--white);
}

.caracteristiques-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.caracteristique-item {
    text-align: center;
    padding: 2rem;
}

.caracteristique-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.caracteristique-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* ============================================
   Témoignages
   ============================================ */
.temoignages {
    padding: 4rem 0;
    background: var(--beige-color);
}

.temoignages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.temoignage-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.temoignage-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.temoignage-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.temoignage-photo-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--beige-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.temoignage-ville {
    color: var(--text-light);
    font-size: 0.9rem;
}

.temoignage-content {
    margin-bottom: 1rem;
    font-style: italic;
}

.temoignage-stars {
    color: #ffc107;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Page Header
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.breadcrumb {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--white);
}

/* ============================================
   Filtres
   ============================================ */
.filtres-section {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 3rem;
}

.filtres-form {
    width: 100%;
}

.filtres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    align-items: end;
}

.filtre-item {
    display: flex;
    flex-direction: column;
}

.filtre-item label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-control {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

/* ============================================
   Terrain Detail
   ============================================ */
.terrain-detail {
    padding: 3rem 0;
}

.terrain-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.terrain-gallery {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.gallery-main {
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
}

.gallery-main img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.thumb {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
    border: 2px solid transparent;
}

.thumb:hover,
.thumb.active {
    opacity: 1;
    border-color: var(--primary-color);
}

.no-image {
    background: var(--bg-light);
    padding: 4rem 2rem;
    text-align: center;
    color: var(--text-light);
}

.no-image i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.terrain-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.terrain-header h1 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.terrain-price-large {
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 1rem;
}

.price-m2 {
    font-size: 1rem;
    color: var(--text-light);
    display: block;
    margin-top: 0.5rem;
}

.terrain-specs-detail {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 5px;
}

.spec-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.spec-item strong {
    display: block;
    color: var(--text-dark);
}

.spec-item span {
    color: var(--text-light);
}

.status-disponible {
    color: #28a745;
    font-weight: 600;
}

.status-reserve {
    color: #ffc107;
    font-weight: 600;
}

.status-vendu {
    color: #dc3545;
    font-weight: 600;
}

.terrain-features-detail {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 5px;
}

.terrain-features-detail h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-item.active {
    color: var(--primary-color);
}

.feature-item:not(.active) {
    color: var(--text-light);
}

.paiement-info,
.documents-info {
    padding: 1.5rem;
    background: var(--beige-color);
    border-radius: 5px;
    border-left: 4px solid var(--primary-color);
}

.paiement-info h3,
.documents-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.terrain-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.terrain-description {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 10px;
}

.terrain-description h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.description-content {
    line-height: 1.8;
    overflow-wrap: break-word;  /* Coupe les mots trop longs */
    word-wrap: break-word;      /* Ancien nom, pour compatibilité */
    word-break: break-word;
}

.terrains-similaires {
    margin-top: 3rem;
}

.terrains-similaires h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

/* ============================================
   Pagination
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination-link {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
}

.pagination-link:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.pagination-link.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
}

.no-results i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* ============================================
   Confiance Page
   ============================================ */
.confiance-content {
    padding: 3rem 0;
}

.processus-section,
.securite-section,
.caracteristiques-section,
.temoignages-section {
    margin-bottom: 4rem;
}

.processus-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    padding-left: 2rem;
}

.processus-steps::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
}

.step {
    display: flex;
    gap: 2rem;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.step-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.securite-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.securite-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.securite-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.securite-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.securite-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.badges-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.badge-item {
    text-align: center;
    padding: 2rem;
    background: var(--beige-color);
    border-radius: 10px;
}

.badge-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.badge-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* ============================================
   À propos Page
   ============================================ */
.a-propos-content {
    padding: 3rem 0;
}

.about-section {
    margin-bottom: 3rem;
}

.about-text h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.mission-card,
.vision-card {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 10px;
    text-align: center;
}

.mission-card i,
.vision-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.mission-card h3,
.vision-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.valeurs-section {
    margin-bottom: 3rem;
}

.valeurs-section h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
}

.valeurs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.valeur-item {
    text-align: center;
    padding: 2rem;
}

.valeur-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.valeur-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.experience-section {
    margin-bottom: 3rem;
}

.experience-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.expertise-list {
    list-style: none;
    padding-left: 0;
}

.expertise-list li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.expertise-list i {
    color: var(--primary-color);
}

.cta-section-inner {
    text-align: center;
    padding: 3rem;
    background: var(--beige-color);
    border-radius: 10px;
}

.cta-section-inner h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-content {
    padding: 3rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: var(--text-dark);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-hours {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 5px;
}

.contact-hours h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.terrain-preview {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.terrain-preview img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.terrain-preview h3 {
    padding: 1rem;
    color: var(--primary-color);
}

.terrain-preview p {
    padding: 0 1rem;
    margin-bottom: 0.5rem;
}

.terrain-preview .terrain-price {
    padding: 0 1rem;
    margin-bottom: 1rem;
}

.terrain-preview .btn {
    margin: 1rem;
    width: calc(100% - 2rem);
}

.contact-form-wrapper h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Champs de formulaire responsives */
.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

.error {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

/* ============================================
   FAQ Page
   ============================================ */
.faq-content {
    padding: 3rem 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question h3 {
    color: var(--primary-color);
    margin: 0;
}

.faq-question i {
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    line-height: 1.8;
}

.faq-item.active .faq-question {
    background: var(--bg-light);
}

.faq-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 3rem;
    background: var(--beige-color);
    border-radius: 10px;
}

.faq-cta h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.no-faq {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
}

/* ============================================
   Conseils
   ============================================ */
.conseils-liste {
    padding: 3rem 0;
}

.conseils-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.conseil-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.conseil-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.conseil-image {
    height: 200px;
    overflow: hidden;
}

.conseil-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.conseil-content {
    padding: 1.5rem;
}

.conseil-date {
    color: var(--text-light);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

.conseil-content h2,
.conseil-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.conseil-content h2 a,
.conseil-content h3 a {
    color: var(--primary-color);
    text-decoration: none;
}

.conseil-content h2 a:hover,
.conseil-content h3 a:hover {
    text-decoration: underline;
}

.conseil-excerpt {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.conseil-detail {
    padding: 3rem 0;
}

.conseil-article {
    max-width: 800px;
    margin: 0 auto;
}

.conseil-header {
    margin-bottom: 2rem;
}

.conseil-header h1 {
    color: var(--primary-color);
    margin-top: 0.5rem;
}

.conseil-image-large {
    margin-bottom: 2rem;
    border-radius: 10px;
    overflow: hidden;
}

.conseil-image-large img {
    width: 100%;
    height: auto;
}

.conseil-content {
    line-height: 1.8;
    font-size: 1.1rem;
}

.conseils-recent {
    margin-top: 4rem;
}

.conseils-recent h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.no-conseils {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   WhatsApp & Call Float
   ============================================ */
.whatsapp-float,
.call-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-hover);
    z-index: 999;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover,
.call-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.call-float {
    bottom: 90px;
    background: var(--primary-color);
}

/* ============================================
   Responsive Design Amélioré
   ============================================ */

/* Tablettes et petits écrans */
@media (max-width: 768px) {
    /* Navigation */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow);
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    /* Hero */
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero {
        padding: 4rem 0;
    }

    /* Sections générales */
    .section-header h2 {
        font-size: 2rem;
    }

    /* Grilles */
    .terrain-detail-wrapper {
        grid-template-columns: 1fr;
    }

    .terrain-gallery {
        position: static;
    }

    /* Contact Page - Forcer la colonne */
    .contact-wrapper {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    /* Filtres */
    .filtres-grid {
        grid-template-columns: 1fr;
    }

    /* Processus */
    .processus-steps {
        padding-left: 0;
    }

    .processus-steps::before {
        display: none;
    }

    .step {
        flex-direction: column;
        gap: 1rem;
    }

    /* Boutons flottants */
    .whatsapp-float,
    .call-float {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .call-float {
        bottom: 80px;
    }
}

/* Petits mobiles (moins de 480px) */
@media (max-width: 480px) {
    .hero {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 1.5rem;
    }

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

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

    /* Ajustements page contact */
    .contact-content {
        padding: 2rem 0;
    }

    .contact-info h2,
    .contact-form-wrapper h2 {
        font-size: 1.5rem;
    }

    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .contact-item i {
        margin-bottom: 0.25rem;
    }

    .btn-large {
        width: 100%;
        padding: 1rem;
    }

    /* Réduire les espacements */
    .container {
        padding: 0 15px;
    }

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

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Très petits écrans (moins de 360px) */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.3rem;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .contact-form .form-group input,
    .contact-form .form-group select,
    .contact-form .form-group textarea {
        padding: 0.6rem;
    }
}