/* ═══════════════════════════════════════════════════
   JARDIMAISONS — MAIN CSS
   Palette : Green Nature — greens, earthy tones
   ═══════════════════════════════════════════════════ */

:root {
  --leaf:   #2E7D4F;
  --deep:   #1A3A2A;
  --frost:  #F0F7F2;
  --earth:  #8B6914;
  --text:   #1C2E22;
  --muted:  #5A7A62;
  --white:  #FAFFF9;
  --sand:   #C8DCC0;
  --shadow: 0 2px 20px rgba(26,58,42,0.10);
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'DM Sans',sans-serif;color:var(--text);background:var(--white);line-height:1.7;font-size:16px}
a{color:var(--leaf);text-decoration:none}
a:hover{color:var(--earth)}
img{max-width:100%;height:auto;display:block}

#site-nav{background:var(--deep);position:sticky;top:0;z-index:100;box-shadow:0 2px 12px rgba(26,58,42,.30)}
.nav-inner{max-width:1160px;margin:0 auto;padding:0 2rem;height:64px;display:flex;align-items:center;justify-content:space-between;gap:1.5rem}
.logo{font-family:'DM Serif Display',serif;font-size:1.4rem;color:#fff;white-space:nowrap;flex-shrink:0;display:flex;align-items:center;gap:.4rem}
.logo span{color:#90D4A0}
.nav-links{display:flex;gap:1.25rem;list-style:none;flex:1;justify-content:center;flex-wrap:wrap}
.nav-links a{color:rgba(255,255,255,.75);font-size:.83rem;font-weight:500;transition:color .2s;white-space:nowrap}
.nav-links a:hover{color:#90D4A0}
.nav-cta{background:var(--leaf);color:#fff !important;padding:9px 18px;border-radius:22px;font-size:.8rem;font-weight:700;white-space:nowrap;flex-shrink:0;transition:background .2s}
.nav-cta:hover{background:#235F3C;color:#fff !important}

.nav-toggle{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:4px}
.nav-toggle span{display:block;width:24px;height:2px;background:#fff;border-radius:2px;transition:all .3s}
@media(max-width:900px){
  .nav-toggle{display:flex}
  .nav-links{display:none;position:absolute;top:64px;left:0;right:0;background:var(--deep);flex-direction:column;padding:1rem 2rem 1.5rem;gap:.75rem;z-index:99}
  .nav-links.open{display:flex}
  .nav-links a{font-size:.95rem}
}

.site-hero{background:linear-gradient(135deg,#1A3A2A 0%,#2E6B45 50%,#3A8A5A 100%);padding:5rem 2rem 4rem;text-align:center;position:relative;overflow:hidden}
.site-hero::before{content:'';position:absolute;inset:0;background:url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 0 L50 100 M0 50 L100 50' stroke='%23ffffff' stroke-opacity='0.03' stroke-width='1'/%3E%3C/svg%3E")}
.hero-inner{max-width:720px;margin:0 auto;position:relative;z-index:1}
.hero-tag{display:inline-block;background:rgba(46,125,79,.4);color:#90D4A0;font-size:.72rem;font-weight:700;padding:4px 14px;border-radius:20px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:1.25rem}
.site-hero h1{font-family:'DM Serif Display',serif;font-size:clamp(2rem,5vw,3rem);color:#fff;line-height:1.2;margin-bottom:1rem}
.site-hero h1 span{color:#90D4A0}
.site-hero p{color:rgba(255,255,255,.78);font-size:1.05rem;max-width:540px;margin:0 auto 2rem;line-height:1.7}
.hero-btns{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}
.hero-btn-primary{background:var(--leaf);color:#fff !important;padding:13px 26px;border-radius:10px;font-size:.9rem;font-weight:700;transition:background .2s,transform .15s}
.hero-btn-primary:hover{background:#235F3C;transform:translateY(-1px)}
.hero-btn-secondary{background:rgba(255,255,255,.12);color:#fff !important;padding:13px 26px;border-radius:10px;font-size:.9rem;font-weight:600;border:1.5px solid rgba(255,255,255,.3);transition:background .2s}
.hero-btn-secondary:hover{background:rgba(255,255,255,.2)}

.cat-pills{background:var(--frost);border-bottom:1px solid var(--sand);padding:.75rem 2rem;overflow-x:auto;white-space:nowrap;-webkit-overflow-scrolling:touch}
.cat-pills-inner{max-width:1160px;margin:0 auto;display:flex;gap:.6rem}
.cat-pill{display:inline-block;background:#fff;border:1.5px solid var(--sand);color:var(--deep);font-size:.78rem;font-weight:600;padding:5px 14px;border-radius:20px;transition:all .2s;white-space:nowrap}
.cat-pill:hover,.cat-pill.active{background:var(--leaf);border-color:var(--leaf);color:#fff}

.wrap{max-width:1160px;margin:0 auto;padding:3rem 2rem 5rem}
.section-title{font-family:'DM Serif Display',serif;font-size:1.6rem;color:var(--deep);margin-bottom:.35rem}
.section-sub{color:var(--muted);font-size:.88rem;margin-bottom:2rem}

.latest-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem;margin-bottom:3rem}
.latest-card{background:#fff;border:1.5px solid var(--sand);border-radius:16px;overflow:hidden;box-shadow:var(--shadow);transition:transform .2s,box-shadow .2s}
.latest-card:hover{transform:translateY(-3px);box-shadow:0 8px 30px rgba(26,58,42,.14)}
.latest-thumb{display:block;width:100%;aspect-ratio:16/9;overflow:hidden;background:var(--frost)}
.latest-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.latest-card:hover .latest-thumb img{transform:scale(1.03)}
.thumb-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:3rem;background:linear-gradient(135deg,var(--frost),#DDF0E0)}
.latest-body{padding:1.2rem 1.4rem 1.4rem}
.tag{display:inline-block;background:#E8F5EC;color:var(--leaf);font-size:.65rem;font-weight:700;padding:3px 9px;border-radius:4px;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.6rem}
.tag.earth{background:#FBF3E0;color:var(--earth)}
.latest-body h3{font-family:'DM Serif Display',serif;font-size:1.05rem;color:var(--deep);margin-bottom:.5rem;line-height:1.35}
.latest-body h3 a{color:inherit}
.latest-body h3 a:hover{color:var(--leaf)}
.latest-body p{font-size:.85rem;color:var(--muted);line-height:1.6;margin-bottom:.85rem}
.latest-meta{display:flex;align-items:center;justify-content:space-between;font-size:.75rem;color:var(--muted)}

.pagination{text-align:center;margin:2rem 0}
.pagination .nav-links{justify-content:center}
.pagination a,.pagination span{display:inline-block;padding:8px 14px;margin:0 3px;border-radius:8px;font-size:.84rem;font-weight:600;border:1.5px solid var(--sand);color:var(--deep);transition:all .2s}
.pagination a:hover,.pagination .current{background:var(--leaf);border-color:var(--leaf);color:#fff}

.article-wrap{max-width:1160px;margin:0 auto;padding:3rem 2rem 5rem;display:grid;grid-template-columns:1fr 300px;gap:3rem;align-items:start}
@media(max-width:900px){.article-wrap{grid-template-columns:1fr}.article-sidebar{display:none}}
.article-header{margin-bottom:2rem}
.article-cats{margin-bottom:.75rem}
.article-header h1{font-family:'DM Serif Display',serif;font-size:clamp(1.6rem,4vw,2.2rem);color:var(--deep);line-height:1.25;margin-bottom:.75rem}
.article-meta{display:flex;gap:1.25rem;font-size:.78rem;color:var(--muted);flex-wrap:wrap;margin-bottom:1.5rem}
.article-featured{width:100%;border-radius:14px;overflow:hidden;margin-bottom:2rem;aspect-ratio:16/9;background:var(--frost)}
.article-featured img{width:100%;height:100%;object-fit:cover}
.article-body{font-size:.97rem;line-height:1.8;color:var(--text)}
.article-body h2{font-family:'DM Serif Display',serif;font-size:1.55rem;color:var(--deep);margin:2.5rem 0 .75rem;padding-top:1.5rem;border-top:2px solid var(--frost)}
.article-body h2:first-child{border-top:none;padding-top:0;margin-top:0}
.article-body h3{font-size:1.05rem;font-weight:600;color:var(--deep);margin:1.5rem 0 .5rem}
.article-body p{margin-bottom:1.2rem}
.article-body ul,.article-body ol{margin:0 0 1.2rem 1.5rem}
.article-body li{margin-bottom:.35rem;font-size:.95rem}
.article-body strong{color:var(--deep);font-weight:600}
.article-body a{color:var(--leaf)}
.article-body a:hover{color:var(--earth)}
.article-body blockquote{border-left:4px solid var(--leaf);background:var(--frost);padding:1rem 1.5rem;border-radius:0 10px 10px 0;margin:1.5rem 0;font-style:italic;color:var(--muted)}
.article-body img{border-radius:10px;margin:1.5rem 0}

.disclosure-box{background:#F0F7F2;border:1px solid #C8DCC0;border-radius:10px;padding:12px 16px;font-size:.78rem;color:var(--muted);line-height:1.6;margin-bottom:2rem}
.disclosure-box strong{color:var(--leaf)}

.article-sidebar{display:flex;flex-direction:column;gap:1.5rem}
.sidebar-widget{background:#fff;border:1.5px solid var(--sand);border-radius:14px;padding:1.3rem;box-shadow:var(--shadow)}
.widget-title{font-family:'DM Serif Display',serif;font-size:1rem;color:var(--deep);margin-bottom:1rem;padding-bottom:.6rem;border-bottom:2px solid var(--frost)}

.article-body details{border:1px solid var(--sand);border-radius:10px;margin-bottom:.6rem;overflow:hidden}
.article-body summary{padding:.85rem 1.15rem;cursor:pointer;background:var(--frost);font-size:.88rem;font-weight:600;color:var(--deep);list-style:none;display:flex;justify-content:space-between;align-items:center;transition:background .2s}
.article-body summary::-webkit-details-marker{display:none}
.article-body summary::after{content:'＋';color:var(--leaf);font-size:.95rem;flex-shrink:0;margin-left:1rem}
.article-body details[open] summary::after{content:'－'}
.article-body details[open] summary{background:#DDF0E4;border-bottom:1px solid var(--sand)}
.article-body details p{padding:.9rem 1.15rem;margin:0 !important;font-size:.86rem;color:var(--muted);line-height:1.7}

.article-body table{width:100%;border-collapse:collapse;font-size:.84rem;margin:1.5rem 0;border-radius:12px;overflow:hidden;box-shadow:var(--shadow)}
.article-body thead tr{background:var(--deep);color:#fff}
.article-body th{padding:10px 13px;text-align:left;font-weight:600;font-size:.76rem}
.article-body td{padding:10px 13px;border-bottom:1px solid var(--sand);vertical-align:middle}
.article-body tr:last-child td{border-bottom:none}
.article-body tr:nth-child(even) td{background:var(--frost)}

#site-footer{background:var(--deep);color:rgba(255,255,255,.55);padding:3.5rem 2rem 2rem;margin-top:4rem}
.foot-inner{max-width:1100px;margin:0 auto;display:grid;grid-template-columns:2fr 1fr 1fr;gap:2.5rem}
@media(max-width:640px){.foot-inner{grid-template-columns:1fr}}
.foot-brand h3{font-family:'DM Serif Display',serif;color:#fff;font-size:1.25rem;margin-bottom:.6rem;display:flex;align-items:center;gap:.4rem}
.foot-brand p{font-size:.8rem;line-height:1.65;max-width:280px}
.foot-col h4{color:#fff;font-size:.78rem;font-weight:700;margin-bottom:.9rem;text-transform:uppercase;letter-spacing:.06em}
.foot-col ul{list-style:none;display:flex;flex-direction:column;gap:7px}
.foot-col ul li a{color:rgba(255,255,255,.5);font-size:.79rem;transition:color .2s}
.foot-col ul li a:hover{color:#90D4A0}
.disclosure{max-width:1100px;margin:2rem auto 0;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:10px;padding:12px 16px;font-size:.72rem;line-height:1.65}
.disclosure strong{color:rgba(255,255,255,.8)}
.foot-bar{max-width:1100px;margin:1.75rem auto 0;padding-top:1.25rem;border-top:1px solid rgba(255,255,255,.1);display:flex;justify-content:space-between;font-size:.72rem;flex-wrap:wrap;gap:.5rem}

.page-hero{background:linear-gradient(135deg,var(--frost),#DDF0E4);border-bottom:1px solid var(--sand);padding:2.5rem 2rem}
.page-hero-inner{max-width:760px;margin:0 auto}
.page-tag{font-size:.72rem;font-weight:700;color:var(--leaf);text-transform:uppercase;letter-spacing:.08em;display:block;margin-bottom:.5rem}
.page-hero h1{font-family:'DM Serif Display',serif;font-size:2.1rem;color:var(--deep);line-height:1.2;margin:0}
.page-wrap{max-width:760px;margin:0 auto;padding:3rem 2rem 5rem}
.page-wrap h2{font-family:'DM Serif Display',serif;font-size:1.5rem;color:var(--deep);margin:2.5rem 0 .75rem;padding-top:1.5rem;border-top:2px solid var(--frost)}
.page-wrap h2:first-of-type{border-top:none;padding-top:0;margin-top:0}
.page-wrap h3{font-size:1rem;font-weight:600;color:var(--deep);margin:1.5rem 0 .4rem}
.page-wrap p{color:var(--text);font-size:.97rem;line-height:1.8;margin-bottom:1.1rem}
.page-wrap ul{margin:0 0 1.2rem 1.5rem}
.page-wrap li{font-size:.93rem;line-height:1.75;color:var(--text);margin-bottom:.3rem}
.page-wrap strong{color:var(--deep);font-weight:600}
.page-wrap a{color:var(--leaf)}
.highlight-box{background:var(--frost);border-left:4px solid var(--leaf);border-radius:0 12px 12px 0;padding:1.2rem 1.5rem;margin:0 0 2rem}
.highlight-box p{margin:0;font-size:.93rem;color:var(--text);line-height:1.7}
.contact-form{display:flex;flex-direction:column;gap:1rem;margin-top:1.5rem}
.contact-form label{font-size:.85rem;font-weight:600;color:var(--deep);display:block;margin-bottom:.25rem}
.contact-form input,.contact-form textarea{width:100%;padding:10px 14px;border:1.5px solid var(--sand);border-radius:8px;font-family:'DM Sans',sans-serif;font-size:.91rem;color:var(--text);background:#fff;transition:border-color .2s}
.contact-form input:focus,.contact-form textarea:focus{outline:none;border-color:var(--leaf)}
.contact-form textarea{min-height:140px;resize:vertical}
.contact-form .fm-btn{background:var(--leaf);color:#fff;border:none;padding:12px 26px;border-radius:8px;font-size:.9rem;font-weight:700;cursor:pointer;transition:opacity .2s;width:fit-content}
.contact-form .fm-btn:hover{opacity:.85}
