/* ===== CAPDO ESPACES VERTS HOSSEGOR ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --forest: #0a2e14;
  --green: #22c55e;
  --green-light: #4ade80;
  --sandy: #fef3c7;
  --white: #ffffff;
  --dark: #061a0c;
  --gray: #6b7280;
  --text: #1f2937;
}

html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', Arial, sans-serif; color: var(--text); background: #fff; line-height: 1.7; }

/* NAV */
.navbar { position: fixed; top: 0; width: 100%; background: rgba(10,46,20,0.97); backdrop-filter: blur(8px); z-index: 1000; box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; height: 70px; }
.nav-logo img { height: 48px; display: block; }
.nav-menu { display: flex; list-style: none; gap: 8px; }
.nav-menu a { color: #e5e7eb; text-decoration: none; padding: 8px 14px; border-radius: 6px; font-size: 0.9rem; font-weight: 500; transition: background 0.2s, color 0.2s; }
.nav-menu a:hover, .nav-menu a.active { background: var(--green); color: #fff; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-toggle span { width: 25px; height: 2px; background: #fff; border-radius: 2px; }

/* HERO SPLIT */
.hero-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.hero-video-half { position: relative; overflow: hidden; background: #0a2e14; }
.hero-split-video { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.hero-text-half { display: flex; flex-direction: column; justify-content: center; padding: 60px; background: #0a2e14; color: #fff; }
@media(max-width:768px) { .hero-split { grid-template-columns: 1fr; } .hero-video-half { height: 300px; } }

.hero-text-half h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.hero-text-half h1 span { color: var(--green); }
.hero-text-half p { font-size: 1.1rem; color: #d1fae5; margin-bottom: 32px; max-width: 480px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.badge { background: rgba(34,197,94,0.15); border: 1px solid var(--green); color: var(--green-light); padding: 6px 14px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }
.btn { display: inline-block; padding: 14px 32px; border-radius: 8px; font-weight: 700; text-decoration: none; font-size: 1rem; transition: all 0.2s; cursor: pointer; border: none; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: #16a34a; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(34,197,94,0.4); }
.btn-outline { background: transparent; border: 2px solid var(--green); color: var(--green); }
.btn-outline:hover { background: var(--green); color: #fff; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* CSS BG HERO */
.hero-bg { min-height: 60vh; display: flex; align-items: center; position: relative; color: #fff; }
.hero-bg-content { max-width: 1200px; margin: 0 auto; padding: 120px 24px 80px; }
.hero-bg h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 16px; }
.hero-bg p { font-size: 1.1rem; color: #d1fae5; max-width: 600px; margin-bottom: 28px; }

/* SECTIONS */
section { padding: 80px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--green); margin-bottom: 12px; }
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; color: var(--forest); margin-bottom: 16px; line-height: 1.2; }
.section-desc { font-size: 1.05rem; color: var(--gray); max-width: 620px; margin-bottom: 48px; }
.text-center { text-align: center; }

/* CARDS */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.08); transition: transform 0.2s; }
.card:hover { transform: translateY(-6px); }
.card img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 24px; }
.card-body h3 { font-size: 1.15rem; color: var(--forest); margin-bottom: 10px; font-weight: 700; }
.card-body p { color: var(--gray); font-size: 0.95rem; margin-bottom: 16px; }

/* 2-COL */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.two-col img { width: 100%; border-radius: 16px; object-fit: cover; height: 420px; }
.two-col-text h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; color: var(--forest); margin-bottom: 16px; }
.two-col-text p { color: var(--gray); margin-bottom: 16px; }
.feature-list { list-style: none; margin: 20px 0 28px; }
.feature-list li { padding: 8px 0; color: var(--gray); display: flex; align-items: flex-start; gap: 10px; }
.feature-list li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 2px; }

/* BANNER */
.banner { background: linear-gradient(rgba(10,46,20,0.88), rgba(10,46,20,0.88)), url('/images/vue-hossegor.jpg') center/cover no-repeat; padding: 80px 0; text-align: center; color: #fff; }
.banner h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; margin-bottom: 16px; }
.banner p { font-size: 1.1rem; color: #d1fae5; margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* BG */
.bg-forest { background: var(--forest); }
.bg-light { background: #f0fdf4; }
.bg-sandy { background: var(--sandy); }

/* STATS */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; }
.stat-item { text-align: center; padding: 32px 20px; background: rgba(34,197,94,0.08); border-radius: 12px; border: 1px solid rgba(34,197,94,0.2); }
.stat-num { font-size: 2.5rem; font-weight: 900; color: var(--green); display: block; }
.stat-label { font-size: 0.9rem; color: #9ca3af; margin-top: 4px; }

/* SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.service-card { padding: 32px 28px; border-radius: 16px; background: #fff; box-shadow: 0 4px 20px rgba(0,0,0,0.06); border-top: 4px solid var(--green); transition: transform 0.2s; }
.service-card:hover { transform: translateY(-4px); }
.service-icon { font-size: 2.5rem; margin-bottom: 16px; }
.service-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--forest); margin-bottom: 10px; }
.service-card p { color: var(--gray); font-size: 0.95rem; }

/* BLOG */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.blog-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.08); transition: transform 0.2s; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-6px); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-cat { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--green); margin-bottom: 8px; }
.blog-card-body h3 { font-size: 1.1rem; font-weight: 700; color: var(--forest); margin-bottom: 10px; line-height: 1.4; }
.blog-card-body p { color: var(--gray); font-size: 0.9rem; flex: 1; margin-bottom: 16px; }
.blog-meta { font-size: 0.8rem; color: #9ca3af; margin-bottom: 12px; }
.read-more { color: var(--green); font-weight: 600; text-decoration: none; font-size: 0.9rem; }
.read-more:hover { color: #16a34a; }

/* ARTICLE */
.article-hero { background: linear-gradient(rgba(10,46,20,0.82), rgba(10,46,20,0.82)), center/cover no-repeat; min-height: 50vh; display: flex; align-items: flex-end; padding: 60px 0; color: #fff; }
.article-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; max-width: 800px; }
.article-body { max-width: 820px; margin: 60px auto; padding: 0 24px; }
.article-body h2 { font-size: 1.7rem; font-weight: 700; color: var(--forest); margin: 40px 0 16px; }
.article-body h3 { font-size: 1.3rem; font-weight: 700; color: var(--forest); margin: 28px 0 12px; }
.article-body p { color: #374151; margin-bottom: 18px; font-size: 1.05rem; }
.article-body img { width: 100%; border-radius: 12px; margin: 28px 0; }
.article-body a { color: var(--green); }
.article-body ul { margin: 16px 0 18px 24px; }
.article-body ul li { margin-bottom: 8px; color: #374151; }
.article-meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: 0.85rem; color: #9ca3af; margin: 16px 0 0; }
.article-tag { background: rgba(34,197,94,0.12); color: var(--green); padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; color: var(--forest); font-size: 0.9rem; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 16px; border: 2px solid #e5e7eb; border-radius: 8px; font-size: 1rem; font-family: inherit; transition: border-color 0.2s; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--green); outline: none; }
.form-group textarea { height: 140px; resize: vertical; }
.contact-info h3 { font-size: 1.4rem; font-weight: 700; color: var(--forest); margin-bottom: 20px; }
.contact-item { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-icon { font-size: 1.4rem; flex-shrink: 0; }

/* BREADCRUMB */
.breadcrumb { background: #f0fdf4; padding: 14px 0; border-bottom: 1px solid #d1fae5; }
.breadcrumb nav { max-width: 1200px; margin: 0 auto; padding: 0 24px; font-size: 0.85rem; color: var(--gray); }
.breadcrumb a { color: var(--green); text-decoration: none; }

/* SITEMAP */
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.sitemap-col h3 { font-size: 1rem; font-weight: 700; color: var(--forest); border-bottom: 2px solid var(--green); padding-bottom: 10px; margin-bottom: 14px; }
.sitemap-col ul { list-style: none; }
.sitemap-col ul li { margin-bottom: 8px; }
.sitemap-col ul li a { color: var(--gray); text-decoration: none; font-size: 0.95rem; }
.sitemap-col ul li a:hover { color: var(--green); }

/* 404 */
.error-page { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; background: var(--forest); color: #fff; }
.error-num { font-size: 8rem; font-weight: 900; color: var(--green); line-height: 1; }
.error-page h2 { font-size: 2rem; margin: 16px 0; }
.error-page p { color: #9ca3af; margin-bottom: 32px; }

/* FOOTER */
.footer { background: #030f06; color: #9ca3af; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand img { height: 44px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: 0.95rem; font-weight: 700; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #9ca3af; text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--green); }
.footer-bottom { border-top: 1px solid #0a2e14; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.85rem; }
.footer-bottom a { color: #6b7280; text-decoration: none; }
.footer-bottom a:hover { color: var(--green); }

/* RESPONSIVE */
@media(max-width: 992px) { .footer-grid { grid-template-columns: 1fr 1fr; } .two-col { grid-template-columns: 1fr; } .two-col img { height: 300px; } .contact-grid { grid-template-columns: 1fr; } }
@media(max-width: 768px) { .nav-menu { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; width: 100%; background: rgba(10,46,20,0.98); padding: 20px; gap: 4px; } .nav-menu.open { display: flex; } .nav-toggle { display: flex; } section { padding: 60px 0; } .footer-grid { grid-template-columns: 1fr; } .stats-grid { grid-template-columns: repeat(2,1fr); } .two-col.reverse { direction: ltr; } }
