/* WooPlans v2 — Main CSS */
/* All non-critical styles */

/* ── CONCEPT ── */
#concept{background:var(--brun);padding:72px 6vw}
.concept-grid{max-width:1100px;margin:0 auto;display:grid;grid-template-columns:1fr 1px 1fr 1px 1fr;gap:0}
.concept-div{background:rgba(255,255,255,.1)}
.concept-step{padding:0 48px;display:flex;flex-direction:column;gap:14px}
.concept-step:first-child{padding-left:0}
.concept-step:last-child{padding-right:0}
.c-num{font-family:'Cormorant Garamond',serif;font-size:3rem;font-weight:400;color:rgba(212,168,83,.18);line-height:1}
.c-title{font-family:'Cormorant Garamond',serif;font-size:1.3rem;font-weight:500;color:var(--blanc)}
.c-desc{font-size:.9rem;line-height:1.7;color:rgba(255,255,255,.5)}
.c-tag{display:inline-flex;align-items:center;gap:6px;padding:5px 11px;font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;font-weight:600;width:fit-content}
.tag-instant{background:rgba(45,106,79,.25);color:#7DD3A8}
.tag-order{background:rgba(212,168,83,.18);color:var(--or)}
@media(max-width:768px){.concept-grid{grid-template-columns:1fr;gap:0}.concept-div{display:none}.concept-step{padding:28px 0;border-bottom:1px solid rgba(255,255,255,.07)}.concept-step:last-child{border-bottom:none}}

/* ── CATALOGUE ── */
#catalogue{padding:88px 5vw;max-width:1400px;margin:0 auto}
.sec-eyebrow{font-size:.8rem;letter-spacing:.14em;text-transform:uppercase;color:var(--terre);margin-bottom:10px;font-weight:500;cursor:default;user-select:none}
.sec-title{font-family:'Cormorant Garamond',serif;font-size:clamp(1.9rem,3.2vw,2.8rem);font-weight:500;color:var(--brun);line-height:1.2;margin-bottom:40px}
.filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:40px}
.f-btn{padding:10px 22px;font-size:.85rem;font-weight:500;border:1.5px solid var(--gris-clair);background:transparent;color:var(--gris);cursor:pointer;transition:all .25s;border-radius:100px}
.f-btn:hover{border-color:var(--brun);color:var(--brun)}
.f-btn.active{background:var(--brun);color:var(--or);border-color:var(--brun)}
.plans-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:28px;min-height:60vh}
.plans-grid.loaded{min-height:0}
@media(max-width:768px){.plans-grid{grid-template-columns:1fr}#catalogue{padding:60px 18px}}

/* ── CARD ── */
.plan-card{background:var(--blanc);text-decoration:none;transition:transform .35s cubic-bezier(.4,0,.2,1),box-shadow .35s;border:1px solid var(--creme-3);display:block}
.plan-card:hover{transform:translateY(-5px);box-shadow:0 14px 40px rgba(26,18,8,.11)}
.card-img-wrap{position:relative;overflow:hidden;aspect-ratio:4/3;background:var(--creme-2)}
.card-img{width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.4,0,.2,1)}
.plan-card:hover .card-img{transform:scale(1.05)}
.card-badge{position:absolute;top:14px;left:14px;padding:5px 12px;font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;font-weight:600}
.badge-villa{background:var(--brun);color:var(--or-pale)}
.badge-duplex{background:var(--terre);color:var(--blanc)}
.card-body{padding:22px 24px 24px}
.card-title{font-family:'Cormorant Garamond',serif;font-size:1.35rem;font-weight:500;color:var(--brun);margin-bottom:6px;line-height:1.3;transition:color .2s}
.plan-card:hover .card-title{color:var(--terre)}
.card-sub{font-size:.88rem;color:var(--gris);margin-bottom:16px;line-height:1.5}
.card-specs{display:flex;gap:18px;padding:14px 0;border-top:1px solid var(--creme-2);border-bottom:1px solid var(--creme-2);margin-bottom:18px}
.spec{display:flex;align-items:center;gap:7px;font-size:.85rem;color:var(--gris-fonce)}
.spec svg{width:15px;height:15px;stroke:var(--terre-clair);stroke-width:1.8;fill:none;flex-shrink:0}
.card-footer{display:flex;align-items:center;justify-content:space-between}
.price-lbl{font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:var(--gris);margin-bottom:3px}
.card-price{font-family:'Cormorant Garamond',serif;font-size:1.55rem;font-weight:600;color:var(--brun);line-height:1}
.card-price small{font-family:'DM Sans',sans-serif;font-size:.82rem;font-weight:400;color:var(--gris)}
.card-btn{background:var(--brun);color:var(--or);font-size:.78rem;font-weight:600;letter-spacing:.07em;text-transform:uppercase;padding:11px 20px;border:none;cursor:pointer;transition:background .25s,transform .2s;display:flex;align-items:center;gap:8px;white-space:nowrap}
.card-btn:hover{background:var(--terre);transform:translateY(-1px)}
.card-btn svg{width:12px;height:12px;stroke:currentColor;stroke-width:2;fill:none}

/* ── TESTIMONIALS ── */
#temoignages{padding:72px 5vw;background:var(--creme)}
.temo-header{text-align:center;margin-bottom:44px}
.temo-eyebrow{font-size:.78rem;letter-spacing:.16em;text-transform:uppercase;color:var(--terre);font-weight:500;margin-bottom:12px}
.temo-title{font-family:'Cormorant Garamond',serif;font-size:clamp(1.8rem,3.5vw,2.6rem);font-weight:500;color:var(--brun);line-height:1.15}
.temo-wrap{position:relative;max-width:900px;margin:0 auto;overflow:hidden}
.temo-track{display:flex;transition:transform .45s cubic-bezier(.25,.46,.45,.94)}
.temo-slide{min-width:100%;display:flex;justify-content:center;align-items:center;padding:0 10px}
.temo-slide img{width:100%;max-width:360px;border-radius:18px;box-shadow:0 12px 48px rgba(0,0,0,.14);object-fit:contain}
.temo-arrow{position:absolute;top:50%;transform:translateY(-50%);background:var(--or);border:none;cursor:pointer;width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 16px rgba(0,0,0,.15);z-index:2;transition:background .2s}
.temo-arrow:hover{background:var(--terre)}
.temo-arrow svg{width:20px;height:20px;stroke:var(--brun);stroke-width:2.5;fill:none}
.temo-prev{left:0}
.temo-next{right:0}
.temo-dots{display:flex;justify-content:center;gap:8px;margin-top:28px}
.temo-dot{width:8px;height:8px;border-radius:50%;background:var(--gris-clair);border:none;cursor:pointer;padding:0;transition:background .2s,transform .2s}
.temo-dot.active{background:var(--terre);transform:scale(1.3)}
@media(max-width:640px){#temoignages{padding:52px 18px}.temo-slide img{max-width:290px}.temo-arrow{width:36px;height:36px}}

/* ── PLAN PAGE ── */
.breadcrumb{padding:140px 5vw 20px;font-size:.82rem;color:var(--gris);max-width:1400px;margin:0 auto}
.breadcrumb a{color:var(--terre);text-decoration:none}
.breadcrumb a:hover{text-decoration:underline}

.det-gallery{background:var(--brun);position:relative}
.gal-main{position:relative;aspect-ratio:16/10;overflow:hidden;cursor:pointer;min-height:400px}
.gal-img-container{width:100%;height:100%;position:relative}
.gal-img{width:100%;height:100%;object-fit:cover;position:absolute;top:0;left:0;opacity:0;transition:opacity .35s ease}
.gal-img:first-child,.gal-img[data-index="0"]{opacity:1!important;position:relative}
.gal-counter{position:absolute;bottom:14px;right:14px;background:rgba(0,0,0,.45);color:rgba(255,255,255,.9);font-size:.78rem;padding:5px 11px;letter-spacing:.06em}
.gal-nav{position:absolute;top:50%;transform:translateY(-50%);width:100%;display:flex;justify-content:space-between;padding:0 12px;pointer-events:none}
.gal-btn{width:42px;height:42px;background:rgba(250,247,242,.15);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.2);cursor:pointer;pointer-events:all;display:flex;align-items:center;justify-content:center;transition:background .2s;border-radius:4px}
.gal-btn:hover{background:rgba(250,247,242,.3)}
.gal-btn svg{width:18px;height:18px;stroke:white;stroke-width:2;fill:none}
@media(max-width:768px){.gal-btn{width:54px;height:54px}.gal-btn svg{width:22px;height:22px}.gal-main{aspect-ratio:4/3;min-height:280px}}
.gal-thumbs{display:flex;gap:3px;padding:3px;overflow-x:auto;scrollbar-width:none}
.gal-thumbs::-webkit-scrollbar{display:none}
.gal-thumb{flex-shrink:0;width:78px;height:58px;overflow:hidden;cursor:pointer;opacity:.45;transition:opacity .2s;border:2px solid transparent}
.gal-thumb:hover{opacity:.75}
.gal-thumb.active{opacity:1;border-color:var(--or)}
.gal-thumb img{width:100%;height:100%;object-fit:cover}

/* Mobile pricing card (inside main content, after description) */
.det-sidebar-mobile{display:none}
@media(max-width:768px){
  .det-sidebar-mobile{display:block}
  .det-sidebar{display:none}
}

.det-content{padding:28px;display:grid;grid-template-columns:1fr 300px;gap:28px}
@media(max-width:768px){.det-content{grid-template-columns:1fr;gap:20px}}
.det-type-row{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.det-type-pill{font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;padding:5px 12px;font-weight:600}
.det-type-villa{background:var(--brun);color:var(--or-pale)}
.det-type-duplex{background:var(--terre);color:var(--blanc)}
.det-stars{display:flex;align-items:center;gap:4px;font-size:.85rem;color:var(--gris);cursor:default;user-select:none}
.det-stars svg{width:14px;height:14px;fill:var(--or);stroke:none}
.det-title{font-family:'Cormorant Garamond',serif;font-size:1.9rem;font-weight:500;color:var(--brun);margin-bottom:8px;line-height:1.2}
.det-subtitle{font-size:.95rem;color:var(--gris-fonce);margin-bottom:24px;line-height:1.6}
.det-specs-row{display:flex;gap:20px;flex-wrap:wrap;padding:18px 0;border-top:1px solid var(--creme-2);border-bottom:1px solid var(--creme-2);margin-bottom:22px}
.det-spec-lbl{font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:var(--gris);margin-bottom:3px;display:flex;align-items:center;gap:5px}
.det-spec-val{font-family:'Cormorant Garamond',serif;font-size:1.15rem;font-weight:500;color:var(--brun)}
.tooltip-wrap{position:relative;display:inline-flex;align-items:center}
.tooltip-icon{width:14px;height:14px;border-radius:50%;border:1.5px solid var(--gris-clair);color:var(--gris);font-size:.6rem;font-weight:700;display:inline-flex;align-items:center;justify-content:center;cursor:default;line-height:1;font-family:'DM Sans',sans-serif;flex-shrink:0}
.tooltip-box{position:absolute;bottom:calc(100% + 7px);left:50%;transform:translateX(-50%);background:var(--brun);color:var(--or-pale);font-size:.72rem;font-weight:400;line-height:1.5;padding:8px 12px;border-radius:4px;white-space:nowrap;max-width:220px;white-space:normal;width:200px;z-index:50;pointer-events:none;opacity:0;transition:opacity .2s}
.tooltip-wrap:hover .tooltip-box{opacity:1}
.det-desc{font-size:.93rem;line-height:1.8;color:var(--gris-fonce);margin-bottom:22px}
.det-features{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:10px}
@media(max-width:640px){.det-features{grid-template-columns:1fr}}
.det-features li{display:flex;align-items:flex-start;gap:8px;font-size:.88rem;color:var(--gris-fonce);line-height:1.5}
.det-features li svg{width:15px;height:15px;stroke:var(--vert);stroke-width:2.5;fill:none;flex-shrink:0;margin-top:2px}

.det-sidebar{}
.purchase-box{position:sticky;top:74px;display:flex;flex-direction:column;gap:12px}
@media(max-width:768px){.purchase-box{position:static}}
.pbox-total{background:linear-gradient(135deg,#fdf6e3,#f5e9c4);border:1.5px solid var(--or);padding:14px 16px;margin-bottom:4px}
.pbox-total-tag{display:inline-block;background:var(--or);color:var(--brun);font-size:.63rem;font-weight:700;letter-spacing:.08em;padding:2px 8px;text-transform:uppercase;margin-bottom:7px}
.pbox-total-label{font-size:.67rem;letter-spacing:.1em;text-transform:uppercase;color:var(--gris);margin-bottom:5px}
.pbox-total-val{font-family:'Cormorant Garamond',serif;font-size:2rem;font-weight:700;color:var(--brun);line-height:1;margin-bottom:5px}
.pbox-total-sub{font-size:.72rem;color:var(--gris-fonce);line-height:1.6}
.opt-card{border:2px solid var(--creme-3);background:var(--blanc);padding:20px;transition:border-color .25s,box-shadow .25s;position:relative}
.opt-card:hover{border-color:var(--gris-clair)}
.opt-card.featured{border-color:var(--or)}
.opt-promo-badge{position:absolute;top:-1px;right:16px;background:#e63946;color:#fff;font-size:.62rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:3px 10px}
.opt-card-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:10px;gap:10px}
.opt-card-name{font-size:.95rem;font-weight:600;color:var(--brun);margin-bottom:5px}
.opt-card-sub{font-size:.8rem;color:var(--gris);margin-top:3px;line-height:1.4}
.opt-card-price{text-align:right;flex-shrink:0}
.opt-price-old{font-size:.75rem;color:var(--gris);text-decoration:line-through;margin-bottom:2px;line-height:1;text-align:right}
.opt-price-val{font-family:'Cormorant Garamond',serif;font-size:1.7rem;font-weight:600;color:var(--brun);line-height:1}
.opt-price-cur{font-family:'DM Sans',sans-serif;font-size:.78rem;font-weight:400;color:var(--gris)}
.opt-card-tag{display:inline-flex;align-items:center;gap:5px;font-size:.68rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;padding:3px 8px}
.tag-inst{background:var(--vert-bg);color:var(--vert)}
.tag-ord{background:var(--orange-bg);color:var(--terre)}
.opt-card-items{list-style:none;display:flex;flex-direction:column;gap:7px;margin-top:12px;padding-top:12px;border-top:1px solid var(--creme-2)}
.opt-card-items li{display:flex;align-items:center;gap:8px;font-size:.88rem;color:var(--gris-fonce)}
.opt-card-items li svg{width:14px;height:14px;stroke:var(--vert);stroke-width:2.5;fill:none;flex-shrink:0}
.cta-main{width:100%;background:var(--brun);color:var(--or);font-size:.9rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;padding:17px;border:none;cursor:pointer;transition:background .25s,transform .2s;display:flex;align-items:center;justify-content:center;gap:10px;text-decoration:none}
.cta-main:hover{background:var(--terre);transform:translateY(-1px)}
.cta-main svg{width:15px;height:15px;stroke:currentColor;stroke-width:2;fill:none}
.cta-secondary{width:100%;background:transparent;color:var(--brun);font-size:.88rem;font-weight:500;letter-spacing:.06em;padding:14px;border:1.5px solid var(--brun);cursor:pointer;transition:background .25s,color .25s;display:flex;align-items:center;justify-content:center;gap:10px;text-decoration:none}
.cta-secondary:hover{background:var(--brun);color:var(--or)}
.cta-secondary svg{width:14px;height:14px;stroke:currentColor;stroke-width:2;fill:none}
.trust-note{display:flex;align-items:center;justify-content:center;gap:6px;font-size:.74rem;color:var(--gris)}
.trust-note svg{width:12px;height:12px;stroke:var(--vert);fill:none;stroke-width:2}

/* ── FAQ ── */
.faq-section{margin-top:40px;padding-top:36px;border-top:1px solid var(--creme-3)}
.faq-section-title{font-family:'Cormorant Garamond',serif;font-size:1.35rem;font-weight:600;color:var(--brun);margin-bottom:20px;letter-spacing:.01em}
.faq-item{border-bottom:1px solid var(--creme-2)}
.faq-item summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 0;cursor:pointer;font-size:.9rem;font-weight:600;color:var(--brun);user-select:none}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary .faq-icon{flex-shrink:0;width:20px;height:20px;border-radius:50%;border:1.5px solid var(--or);display:flex;align-items:center;justify-content:center;transition:background .2s,transform .25s}
.faq-item summary .faq-icon svg{width:10px;height:10px;stroke:var(--or);stroke-width:2.5;fill:none;transition:transform .25s}
.faq-item[open] summary .faq-icon{background:var(--or)}
.faq-item[open] summary .faq-icon svg{stroke:var(--brun);transform:rotate(45deg)}
.faq-item[open] summary{color:var(--terre)}
.faq-answer{padding:0 0 18px;font-size:.875rem;color:var(--gris-fonce);line-height:1.75;max-width:560px}
.faq-whatsapp-wrap{margin-top:28px}
.whatsapp-btn{display:flex;align-items:center;justify-content:center;gap:9px;padding:14px 20px;background:#25D366;color:#fff;font-size:.86rem;font-weight:600;text-decoration:none;border-radius:4px;transition:background .2s,transform .2s}
.whatsapp-btn:hover{background:#1da851;transform:translateY(-1px)}
.whatsapp-btn svg{width:20px;height:20px;flex-shrink:0}

/* ── SHARE ── */
.share-row{display:flex;align-items:center;gap:8px;margin-top:16px;padding-top:16px;border-top:1px solid var(--creme-3)}
.share-label{font-size:.72rem;letter-spacing:.09em;text-transform:uppercase;color:var(--gris);font-weight:500;margin-right:4px;white-space:nowrap}
.share-btn{width:38px;height:38px;display:flex;align-items:center;justify-content:center;border-radius:50%;border:1.5px solid var(--creme-3);background:var(--blanc);cursor:pointer;transition:background .2s,border-color .2s,transform .18s;text-decoration:none;color:var(--brun);flex-shrink:0}
.share-btn:hover{transform:translateY(-2px);border-color:var(--or);background:var(--orange-bg)}
.share-btn svg{width:16px;height:16px;flex-shrink:0;fill:currentColor}
.share-btn.share-wa{color:#25D366}
.share-btn.share-fb{color:#1877F2}
.share-btn.share-x{color:#000}

/* ── SIMILAR PLANS ── */
.similar-title{font-family:'Cormorant Garamond',serif;font-size:1.3rem;font-weight:500;color:var(--brun);margin:32px 0 16px}
.similar-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px;margin-bottom:32px}
.similar-card{display:block;text-decoration:none;border:1px solid var(--creme-3);transition:transform .25s,box-shadow .25s}
.similar-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px rgba(26,18,8,.1)}
.similar-card img{width:100%;aspect-ratio:4/3;object-fit:cover}
.similar-info{padding:12px}
.similar-type{font-size:.68rem;letter-spacing:.1em;text-transform:uppercase;color:var(--terre);font-weight:600;margin-bottom:4px}
.similar-name{font-family:'Cormorant Garamond',serif;font-size:1rem;font-weight:500;color:var(--brun)}
.similar-specs{font-size:.78rem;color:var(--gris);margin-top:4px}

/* ── CATEGORY PAGE ── */
.cat-header{padding:140px 5vw 60px;background:var(--brun);text-align:center}
.cat-header-inner{max-width:800px;margin:0 auto}
.cat-title{font-family:'Cormorant Garamond',serif;font-size:clamp(2rem,4vw,3rem);font-weight:500;color:var(--blanc);margin:16px 0;line-height:1.2}
.cat-title em{color:var(--or)}
.cat-desc{font-size:1rem;color:rgba(255,255,255,.6);max-width:600px;margin:0 auto 24px;line-height:1.7}
.cat-stats{font-size:.88rem;color:rgba(255,255,255,.5)}
.cat-stats strong{color:var(--or)}
.cat-filters{padding:24px 5vw;background:var(--creme-2);border-bottom:1px solid var(--creme-3)}
.cat-filters .filters{margin-bottom:0}
.cat-grid{padding:40px 5vw;max-width:1400px;margin:0 auto}
.cat-seo{padding:40px 5vw;max-width:800px;margin:0 auto}
.cat-seo h2{font-family:'Cormorant Garamond',serif;font-size:1.5rem;font-weight:500;color:var(--brun);margin-bottom:16px}
.cat-seo p{font-size:.9rem;line-height:1.8;color:var(--gris-fonce);margin-bottom:16px}
.cat-seo ul{margin:0 0 16px 20px}
.cat-seo li{font-size:.9rem;line-height:1.8;color:var(--gris-fonce)}
@media(max-width:768px){.cat-header{padding:120px 5vw 40px}}

/* ── SEO SECTION ── */
#seo-section{padding:60px 5vw;max-width:800px;margin:0 auto}
#seo-section h2{font-family:'Cormorant Garamond',serif;font-size:1.8rem;font-weight:500;color:var(--brun);margin-bottom:20px}
#seo-section p{font-size:.95rem;line-height:1.8;color:var(--gris-fonce);margin-bottom:16px}
