/*
Theme Name: Mon Expert Immo
Theme URI: https://www.monexpert-immo.fr/
Author: Mon Expert Immo
Description: Thème sur-mesure — expertise et estimation immobilière dans l'Uzège (sombre & or).
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: mon-expert-immo
*/
/* theme.css — styles partagés pour les pages de service Mon Expert Immo
   (sombre & or). Importé par les pages dédiées : expertise immobilière,
   foncière, judiciaire, bancaire, VEFA… */

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

:root {
  --gold: #B8955A;
  --gold-light: #D4B07A;
  --dark: #1A1A18;
  --dark-2: #242420;
  --stone: #F0EBE3;
  --stone-2: #E8E1D7;
  --text: #3A3A36;
  --text-light: #7A7A72;
  --white: #FAFAF8;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
}

/* ── Nav ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4rem; height: 72px;
  background: rgba(26,26,24,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184,149,90,0.2);
}
.nav-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 400; color: var(--white); text-decoration: none; letter-spacing: 0.08em; }
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a { font-size: 0.78rem; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(250,250,248,0.75); text-decoration: none; transition: color 0.25s; }
.nav-links a:hover { color: var(--gold-light); }
.nav-cta { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dark) !important; background: var(--gold); padding: 0.55rem 1.4rem; text-decoration: none; transition: background 0.25s; }
.nav-cta:hover { background: var(--gold-light) !important; }

/* ── Buttons ── */
.btn-primary { display: inline-block; background: var(--gold); color: var(--dark); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; padding: 0.9rem 2.2rem; transition: background 0.25s, transform 0.2s; }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline { display: inline-block; background: transparent; color: rgba(250,250,248,0.8); font-size: 0.78rem; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; padding: 0.9rem 2.2rem; border: 1px solid rgba(250,250,248,0.25); transition: border-color 0.25s, color 0.25s; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ── Section helpers ── */
.section-label { font-size: 0.68rem; font-weight: 400; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem; }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.2rem, 3vw, 3.5rem); font-weight: 300; line-height: 1.2; color: var(--dark); margin-bottom: 2rem; }
.section-title em { font-style: italic; color: var(--gold); }
.section-body { font-size: 0.95rem; font-weight: 300; line-height: 1.9; color: var(--text); margin-bottom: 1.5rem; }
.section-body strong { font-weight: 500; color: var(--dark); }

/* ── Breadcrumb ── */
.crumb { max-width: 1100px; margin: 0 auto; padding: 6.5rem 6rem 0; font-size: 0.75rem; letter-spacing: 0.06em; color: var(--text-light); }
.crumb a { color: var(--gold); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }

/* ── Service hero ── */
.svc-hero { position: relative; padding: 3rem 6rem 5rem; max-width: 1100px; margin: 0 auto; }
.svc-hero .eyebrow { font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.4rem; }
.svc-hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.6rem, 4.5vw, 4.6rem); font-weight: 300; line-height: 1.08; color: var(--dark); margin-bottom: 1.6rem; }
.svc-hero h1 em { font-style: italic; color: var(--gold); }
.svc-hero .lede { font-size: 1.05rem; font-weight: 300; line-height: 1.8; color: var(--text); max-width: 640px; margin-bottom: 2.4rem; }
.svc-hero .actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.svc-hero .actions .btn-outline { color: var(--dark); border-color: rgba(26,26,24,0.25); }
.svc-hero .actions .btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ── Generic content band ── */
.svc-band { padding: 5rem 6rem; }
.svc-band.dark { background: var(--dark); }
.svc-band.stone { background: var(--stone); }
.svc-wrap { max-width: 1100px; margin: 0 auto; }
.svc-band.dark .section-title { color: var(--white); }
.svc-band.dark .section-body { color: rgba(250,250,248,0.65); }
.svc-band.dark .section-body strong { color: var(--white); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.two-col.narrow { grid-template-columns: 0.8fr 1.2fr; }

/* Use-case / bullet cards */
.use-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.use-card { background: var(--white); border: 1px solid var(--stone-2); padding: 2rem 2.2rem; }
.svc-band.dark .use-card { background: var(--dark-2); border-color: rgba(250,250,248,0.08); }
.use-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 400; color: var(--dark); margin-bottom: 0.7rem; }
.svc-band.dark .use-card h3 { color: var(--white); }
.use-card p { font-size: 0.9rem; font-weight: 300; line-height: 1.75; color: var(--text-light); }
.svc-band.dark .use-card p { color: rgba(250,250,248,0.55); }

.check-list { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 0.9rem; align-items: start; font-size: 0.95rem; font-weight: 300; line-height: 1.6; color: var(--text); }
.svc-band.dark .check-list li { color: rgba(250,250,248,0.7); }
.check-list svg { color: var(--gold); margin-top: 3px; }

/* ── FAQ ── */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--stone-2); background: var(--white); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem 2rem; background: none; border: none; cursor: pointer; font-family: 'Jost', sans-serif; font-size: 0.95rem; font-weight: 400; color: var(--dark); text-align: left; }
.faq-q:hover { color: var(--gold); }
.faq-icon { color: var(--gold); flex-shrink: 0; transition: transform 0.3s; font-size: 1.2rem; line-height: 1; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-a-inner { padding: 0 2rem 1.8rem; font-size: 0.92rem; font-weight: 300; line-height: 1.85; color: var(--text); }

/* ── CTA ── */
.cta-section { background: var(--dark); padding: 8rem 6rem; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(184,149,90,0.07) 0%, transparent 70%); pointer-events: none; }
.cta-eyebrow { font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem; }
.cta-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.5rem, 4vw, 4.5rem); font-weight: 300; color: var(--white); line-height: 1.15; margin-bottom: 1.5rem; }
.cta-title em { font-style: italic; color: var(--gold-light); }
.cta-sub { font-size: 0.95rem; font-weight: 300; color: rgba(250,250,248,0.55); margin: 0 auto 3rem; max-width: 520px; line-height: 1.8; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Footer ── */
footer { background: #111110; padding: 2.5rem 6rem; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(184,149,90,0.15); flex-wrap: wrap; gap: 1rem; }
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 1rem; color: rgba(250,250,248,0.5); letter-spacing: 0.08em; }
.footer-logo span { color: var(--gold); }
.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(250,250,248,0.35); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }

/* ── Reveal ── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s, transform 0.7s; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  nav { padding: 0 2rem; }
  .nav-links { display: none; }
  .crumb { padding: 6rem 2.5rem 0; }
  .svc-hero { padding: 2rem 2.5rem 3rem; }
  .svc-band { padding: 4rem 2.5rem; }
  .two-col, .two-col.narrow { grid-template-columns: 1fr; gap: 2.5rem; }
  .use-grid { grid-template-columns: 1fr; }
  .cta-section { padding: 6rem 2.5rem; }
  footer { padding: 2rem 2.5rem; flex-direction: column; text-align: center; }
}

/* ── Menu mobile ── */
.nav-toggle{display:none;flex-direction:column;justify-content:center;gap:5px;width:44px;height:44px;background:transparent;border:none;cursor:pointer;padding:0;z-index:101;}
.nav-toggle span{display:block;width:24px;height:2px;background:var(--gold);transition:transform .3s,opacity .3s;}
.nav-toggle.open span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.nav-toggle.open span:nth-child(2){opacity:0;}
.nav-toggle.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}
@media (max-width:1024px){
 .nav-toggle{display:flex;}
 .nav-links.open{display:flex !important;position:fixed;top:72px;left:0;right:0;z-index:99;flex-direction:column;align-items:flex-start;gap:1.5rem;background:rgba(26,26,24,0.98);backdrop-filter:blur(12px);border-bottom:1px solid rgba(184,149,90,0.2);padding:1.8rem 2.5rem 2.2rem;margin:0;}
 .nav-links.open .nav-cta{display:inline-block;margin-top:0.4rem;}
}

/* ── Actualités (liste) ── */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 1180px; margin: 0 auto; }
.news-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--stone-2); text-decoration: none; transition: box-shadow .25s, transform .2s; }
.news-card:hover { box-shadow: 0 16px 44px rgba(26,26,24,0.10); transform: translateY(-3px); }
.news-thumb { aspect-ratio: 3 / 2; background: repeating-linear-gradient(135deg,#e7e1d4,#e7e1d4 12px,#ece7dc 12px,#ece7dc 24px); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-thumb span { font-family: ui-monospace, monospace; font-size: 0.7rem; letter-spacing: 0.05em; color: #928979; }
.news-body { padding: 1.8rem 1.8rem 2rem; display: flex; flex-direction: column; flex: 1; }
.news-meta { display: flex; align-items: center; gap: 0.7rem; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-light); margin-bottom: 1rem; }
.news-cat { color: var(--gold); font-weight: 500; }
.news-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-light); }
.news-card h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.55rem; font-weight: 400; line-height: 1.25; color: var(--dark); margin-bottom: 0.8rem; }
.news-card p { font-size: 0.9rem; font-weight: 300; line-height: 1.7; color: var(--text); margin: 0 0 1.4rem; }
.news-more { margin-top: auto; font-size: 0.74rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.news-pagination { text-align: center; margin-top: 3rem; }
.news-pagination .page-numbers { display: inline-block; padding: 0.5rem 0.9rem; margin: 0 0.2rem; color: var(--text); text-decoration: none; border: 1px solid var(--stone-2); }
.news-pagination .page-numbers.current { background: var(--dark); color: var(--gold); border-color: var(--dark); }
/* ── Article (single) ── */
.article { max-width: 760px; margin: 0 auto; padding: 1rem 6rem 0; }
.article-meta { display: flex; align-items: center; gap: 0.7rem; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-light); margin-bottom: 1.4rem; flex-wrap: wrap; }
.article-cat { color: var(--gold); font-weight: 500; }
.article-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-light); }
.article h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.4rem, 4vw, 3.6rem); font-weight: 300; line-height: 1.12; color: var(--dark); margin-bottom: 1.4rem; }
.article-lede { font-size: 1.15rem; font-weight: 300; line-height: 1.7; color: var(--text); }
.article-cover { max-width: 1100px; margin: 2.5rem auto 0; padding: 0 6rem; }
.article-cover img { width: 100%; border-radius: 2px; display: block; }
.prose { max-width: 760px; margin: 0 auto; padding: 3rem 6rem 1rem; }
.prose h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.9rem; font-weight: 400; color: var(--dark); margin: 2.4rem 0 1rem; }
.prose h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 400; color: var(--dark); margin: 2rem 0 0.8rem; }
.prose p { font-size: 1rem; font-weight: 300; line-height: 1.9; color: var(--text); margin-bottom: 1.3rem; }
.prose strong { font-weight: 500; color: var(--dark); }
.prose a { color: var(--gold); }
.prose ul, .prose ol { margin: 0 0 1.3rem 1.1rem; }
.prose li { font-size: 1rem; font-weight: 300; line-height: 1.8; color: var(--text); margin-bottom: 0.5rem; }
.prose img { max-width: 100%; height: auto; border-radius: 2px; margin: 1rem 0; }
.prose blockquote { border-left: 2px solid var(--gold); padding: 0.4rem 0 0.4rem 1.5rem; margin: 2rem 0; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.3rem; line-height: 1.5; color: var(--dark); }
.article-back { max-width: 760px; margin: 0 auto; padding: 1rem 6rem 0; }
.article-back a { font-size: 0.76rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); text-decoration: none; }
@media (max-width: 1024px) {
  .news-grid { grid-template-columns: 1fr 1fr; }
  .article, .prose, .article-back, .article-cover { padding-left: 2.5rem; padding-right: 2.5rem; }
}
@media (max-width: 640px) { .news-grid { grid-template-columns: 1fr; } }
