/* Domoria Habitat — CSS spécifique à zone-intervention-paca.html */

a { text-decoration: none; color: inherit; transition: var(--transition); }
.container { padding: 0 1.5rem; }
.text-center { text-align: center; }
.section { padding: 6rem 0; }

.section-label { display: inline-block; font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--color-accent-1); margin-bottom: 1rem; }
.section-title { font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3rem); color: var(--color-text-main); margin-bottom: 1.5rem; line-height: 1.2; }
.section-subtitle { font-size: 1.125rem; color: var(--color-text-light); max-width: 700px; margin: 0 auto 3rem auto; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.75rem 1.5rem; font-weight: 600; border-radius: 8px; cursor: pointer; transition: var(--transition); border: none; font-size: 1rem; }
.btn-primary { background-color: var(--color-accent-1); color: var(--color-white); box-shadow: 0 4px 15px rgba(193, 122, 80, 0.3); }
.btn-primary:hover { background-color: var(--color-accent-2); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(193, 122, 80, 0.4); color: var(--color-white); }
.btn-lg { padding: 1rem 2rem; font-size: 1.1rem; }

.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }

/* Delta vs. domoria-style.css : menu mobile avec plafond de hauteur + items plus compacts (markup .nav-links propre à cette page et protection-habitat.html) */
@media (max-width: 1024px) {
    .nav-links.active { max-height: 80vh; overflow-y: auto; }
    .nav-links.active > a, .nav-links.active .nav-dropdown-toggle { font-size: 1.1rem; padding: 0.5rem 0; }
}

.page-hero { position: relative; padding: 180px 0 100px; min-height: 45vh; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--color-white); overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; z-index: -1; }
.page-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(61,43,31,0.85), rgba(61,43,31,0.5)); }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }

.page-hero-content { position: relative; z-index: 1; max-width: 800px; padding: 0 1rem; }
.breadcrumb { margin-bottom: 1.5rem; font-size: 0.9rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.breadcrumb a { color: var(--color-accent-light); transition: var(--transition); }
.breadcrumb a:hover { color: var(--color-white); }
.breadcrumb .sep { margin: 0 10px; opacity: 0.5; }
.page-hero h1 { font-family: var(--font-serif); font-size: clamp(2.5rem, 5vw, 4.5rem); margin-bottom: 1rem; line-height: 1.1; }
.page-hero h1 .highlight { color: var(--color-accent-1); font-style: italic; }
.page-hero p { font-size: clamp(1.1rem, 2vw, 1.3rem); opacity: 0.9; font-weight: 300; }

/* Map and Zones Styles */
.region-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; margin-bottom: 4rem; }
.region-grid .region-card { flex: 1 1 300px; max-width: 340px; }
.region-card { background: var(--color-bg-card); border-radius: var(--radius-md); padding: 2rem; box-shadow: var(--shadow-sm); border-top: 4px solid var(--color-accent-1); transition: var(--transition); }
.region-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.region-card .dept-num { font-family: var(--font-serif); font-size: 3rem; color: var(--color-bg-darker); font-weight: bold; line-height: 1; margin-bottom: -15px; text-align: right; }
.region-card h3 { font-family: var(--font-serif); font-size: 1.5rem; color: var(--color-text-main); margin-bottom: 1rem; position: relative; z-index: 1; }
.region-card ul { list-style: none; }
.region-card ul li { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--color-text-light); font-size: 0.95rem; }
.region-card li.more-cities { font-style: italic; color: var(--color-accent-1); font-size: 0.9rem; margin-top: 4px; align-items: flex-start; }
.region-card li.more-cities::before { content: '+'; }

.commune-search { max-width: 520px; margin: 0 auto 3.5rem auto; position: relative; z-index: 10; }
.commune-search-box { display: flex; align-items: center; gap: 12px; background: var(--color-white); border: 2px solid var(--color-bg-darker); border-radius: 50px; padding: 14px 22px; transition: var(--transition); }
.commune-search-box:focus-within { border-color: var(--color-accent-1); box-shadow: var(--shadow-sm); }
.commune-search-box svg { color: var(--color-text-light); flex-shrink: 0; }
.commune-search-box input { border: none; outline: none; flex: 1; font-family: var(--font-sans); font-size: 1rem; color: var(--color-text-main); background: transparent; }
.commune-suggestions { position: absolute; top: 100%; left: 0; right: 0; background: var(--color-white); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); margin-top: 8px; max-height: 260px; overflow-y: auto; z-index: 50; display: none; }
.commune-suggestions.active { display: block; }
.commune-suggestion-item { padding: 12px 22px; cursor: pointer; font-size: 0.95rem; border-bottom: 1px solid var(--color-bg-darker); }
.commune-suggestion-item:last-child { border-bottom: none; }
.commune-suggestion-item:hover { background: var(--color-bg-main); color: var(--color-accent-1); }
.commune-suggestion-item .dept-tag { color: var(--color-text-light); font-size: 0.85rem; margin-left: 6px; }
.commune-result { margin-top: 1rem; padding: 1.5rem; border-radius: var(--radius-md); text-align: center; display: none; }
.commune-result.show { display: block; }
.commune-result.found { background: #E8F5E9; border: 1px solid #4CAF50; }
.commune-result h4 { font-family: var(--font-serif); margin-bottom: 0.5rem; color: var(--color-text-main); }
.commune-result p { color: var(--color-text-light); margin-bottom: 1rem; }

.map-section { background: var(--color-bg-darker); border-radius: var(--radius-lg); padding: 3rem; text-align: center; position: relative; overflow: hidden; box-shadow: inset 0 0 20px rgba(0,0,0,0.02); }
.map-icon { width: 80px; height: 80px; background: var(--color-white); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem auto; box-shadow: var(--shadow-md); }
.map-icon svg { width: 40px; height: 40px; color: var(--color-accent-1); }
.map-section h3 { font-family: var(--font-serif); font-size: 2rem; margin-bottom: 1rem; color: var(--color-text-main); }
.map-section p { font-size: 1.1rem; color: var(--color-text-light); max-width: 600px; margin: 0 auto; }
.free-travel-badge { display: inline-block; background: #2E7D32; color: white; font-weight: bold; padding: 8px 20px; border-radius: 30px; margin-top: 1.5rem; text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; }

.cta-section { background: var(--color-bg-main); padding: 6rem 0; }
.cta-content { background: linear-gradient(135deg, var(--color-text-main) 0%, #1a120d 100%); color: var(--color-white); text-align: center; padding: 4rem 2rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.cta-content h2 { font-family: var(--font-serif); font-size: 2.5rem; margin-bottom: 1rem; }
.cta-content p { font-size: 1.15rem; max-width: 600px; margin: 0 auto 2.5rem auto; opacity: 0.9; }

.footer { background: var(--color-text-main); color: var(--color-white); padding: 5rem 0 2rem 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; margin-bottom: 4rem; }
.footer-brand p { color: #AFA59E; margin: 1.5rem 0; font-size: 0.95rem; }
.footer-col h4 { font-family: var(--font-serif); font-size: 1.3rem; margin-bottom: 1.5rem; position: relative; padding-bottom: 0.5rem; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 2px; background: var(--color-accent-1); }
.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col ul a { color: #AFA59E; transition: var(--transition); }
.footer-col ul a:hover { color: var(--color-accent-light); padding-left: 5px; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); color: #AFA59E; font-size: 0.9rem; }
.footer-bottom a { margin: 0 10px; color: #AFA59E; }
.footer-bottom a:hover { color: var(--color-white); }

/* Footer crème uniforme + texte foncé lisible */
.footer{background:#FAF6EF;color:#3D2B1F;}
.footer-col ul a,.footer-bottom,.footer-bottom a,.footer-brand p{color:#6B5D4F;}
.footer-bottom{border-top-color:rgba(0,0,0,0.08);}
.footer-bottom a:hover{color:#C17A50;}
