/*
Theme Name: SherSam — Élégance naturelle
Theme URI: https://shersam.ca/
Author: SherSam / OpenAI
Description: Thème WordPress personnalisé, responsive et léger pour un élevage familial de Samoyèdes. Palette forêt et ivoire, grandes photos et typographie élégante.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: shersam
*/
:root{--forest:#244532;--ivory:#f7f4ec;--beige:#d8d0c1;--charcoal:#292a27;--muted:#686960;--white:#fff;--line:rgba(36,69,50,.18);--serif:Georgia,'Times New Roman',serif;--sans:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;--radius:14px;--shadow:0 14px 40px rgba(35,45,35,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--ivory);color:var(--charcoal);font-family:var(--sans);font-size:16px;line-height:1.7}img{display:block;max-width:100%;height:auto}a{color:var(--forest);text-decoration-thickness:1px;text-underline-offset:4px}a:hover{color:#42684f}button,input,textarea{font:inherit}.container{width:min(1180px,calc(100% - 44px));margin-inline:auto}.site-header{position:relative;z-index:10;background:rgba(247,244,236,.96);border-bottom:1px solid rgba(36,69,50,.08)}.header-inner{min-height:94px;display:flex;align-items:center;justify-content:space-between;gap:30px}.brand{display:flex;flex-direction:column;text-decoration:none;color:var(--forest);line-height:1}.brand-name{font-family:var(--serif);font-size:clamp(2rem,3vw,2.65rem);letter-spacing:-.06em;font-weight:700}.brand-tag{margin-top:8px;font-size:.62rem;letter-spacing:.17em;text-transform:uppercase;color:var(--muted)}.main-nav ul{display:flex;align-items:center;gap:clamp(14px,2.4vw,32px);list-style:none;margin:0;padding:0}.main-nav a{color:var(--charcoal);text-decoration:none;font-family:var(--serif);font-size:1.03rem}.main-nav a:hover,.main-nav .current-menu-item>a{color:var(--forest);text-decoration:underline;text-underline-offset:8px}.header-cta,.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:13px 22px;background:var(--forest);color:#fff;border:1px solid var(--forest);border-radius:11px;text-decoration:none;font-family:var(--serif);transition:transform .2s,background .2s}.header-cta:hover,.button:hover{background:#183624;color:white;transform:translateY(-1px)}.menu-toggle{display:none;background:transparent;border:1px solid var(--line);border-radius:8px;padding:9px 12px;color:var(--forest)}.hero{min-height:590px;display:grid;grid-template-columns: .92fr 1.08fr;align-items:stretch;overflow:hidden;background:#eee9df}.hero-copy{padding:clamp(48px,7vw,100px) max(28px,calc((100vw - 1180px)/2)) clamp(48px,7vw,90px) max(22px,calc((100vw - 1180px)/2));padding-right:clamp(24px,4vw,64px);align-self:center}.eyebrow{display:flex;align-items:center;gap:13px;color:var(--forest);font-size:.75rem;letter-spacing:.17em;text-transform:uppercase;font-weight:650}.eyebrow:before{content:'';width:28px;height:1px;background:var(--forest)}h1,h2,h3{font-family:var(--serif);font-weight:500;letter-spacing:-.04em;line-height:1.08;margin:0 0 20px}h1{font-size:clamp(3rem,5.6vw,5.5rem)}h2{font-size:clamp(2.2rem,4vw,3.6rem)}h3{font-size:1.65rem}.hero p{font-family:var(--serif);font-size:clamp(1.1rem,1.5vw,1.35rem);line-height:1.5;color:#56574f;max-width:520px;margin:0 0 28px}.hero-actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap}.text-link{color:var(--forest);font-family:var(--serif);text-decoration:none;border-bottom:1px solid var(--forest);padding-bottom:4px}.hero-media{position:relative;min-height:520px;background:linear-gradient(135deg,#c8c9b6,#8c9a7b 48%,#d8d0c1);overflow:hidden}.hero-media img{width:100%;height:100%;min-height:520px;object-fit:cover}.image-placeholder{display:flex;align-items:center;justify-content:center;text-align:center;padding:28px;color:var(--forest);font-family:var(--serif);font-size:1.2rem;background:linear-gradient(140deg,#d8d0c1,#f7f4ec 45%,#a8b49b);min-height:260px}.intro{padding:66px 0 32px;text-align:center}.section-kicker{display:flex;align-items:center;justify-content:center;gap:22px;color:#5d654e;letter-spacing:.15em;text-transform:uppercase;font-size:.75rem}.section-kicker:before,.section-kicker:after{content:'';width:clamp(30px,12vw,130px);height:1px;background:var(--beige)}.intro p{max-width:790px;margin:20px auto 0;color:#56574f;font-family:var(--serif);font-size:1.12rem}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;padding:26px 0 76px}.feature-card{background:rgba(255,255,255,.78);border:1px solid rgba(36,69,50,.08);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}.feature-card img{width:100%;height:220px;object-fit:cover}.feature-card .image-placeholder{height:220px;min-height:220px}.card-body{padding:25px 26px 28px}.card-body p{color:var(--muted);margin:0 0 20px}.card-body a{font-family:var(--serif);font-size:1.02rem}.split-section{display:grid;grid-template-columns:1fr 1fr;background:#eee9df}.split-image{min-height:430px;background:linear-gradient(135deg,#a7b29b,#d8d0c1)}.split-image img{width:100%;height:100%;min-height:430px;object-fit:cover}.split-copy{align-self:center;padding:clamp(36px,6vw,88px)}.split-copy p{color:var(--muted);max-width:520px}.split-copy .button{margin-top:10px}.content-section{padding:70px 0}.content-section h2{max-width:800px}.page-header{padding:74px 0 48px;background:#eee9df}.page-header p{max-width:700px;color:var(--muted);font-family:var(--serif);font-size:1.15rem}.entry-content{max-width:850px;margin:0 auto;padding:55px 22px 80px}.entry-content h2,.entry-content h3{margin-top:1.5em}.entry-content img{border-radius:var(--radius)}.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;padding:50px 0}.post-card{background:#fff;border-radius:var(--radius);overflow:hidden;border:1px solid var(--line)}.post-card img{width:100%;height:210px;object-fit:cover}.post-card .card-body{padding:22px}.contact-panel{background:var(--forest);color:#fff;border-radius:var(--radius);padding:clamp(30px,5vw,60px);display:flex;justify-content:space-between;align-items:center;gap:30px}.contact-panel h2{max-width:650px}.contact-panel p{color:rgba(255,255,255,.78);max-width:620px}.contact-panel .button{background:var(--ivory);border-color:var(--ivory);color:var(--forest);white-space:nowrap}.site-footer{background:#202d23;color:#f7f4ec;padding:48px 0 22px;margin-top:70px}.footer-inner{display:flex;justify-content:space-between;gap:30px;align-items:flex-start}.footer-brand{font-family:var(--serif);font-size:2rem}.site-footer p,.site-footer a{color:rgba(247,244,236,.76)}.footer-bottom{border-top:1px solid rgba(255,255,255,.16);margin-top:32px;padding-top:18px;font-size:.8rem;color:rgba(255,255,255,.6)}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.alignwide{max-width:1100px;margin-inline:auto}.alignfull{width:100%;max-width:none}.wp-block-button__link{background:var(--forest);border-radius:10px}.wp-block-image img{border-radius:10px}
@media(max-width:900px){.header-inner{min-height:78px}.header-cta{display:none}.menu-toggle{display:block}.main-nav{display:none;position:absolute;top:100%;left:0;right:0;padding:18px 22px 24px;background:var(--ivory);border-bottom:1px solid var(--line)}.main-nav.is-open{display:block}.main-nav ul{flex-direction:column;align-items:flex-start;gap:14px}.hero{grid-template-columns:1fr}.hero-copy{padding:55px 7vw 42px}.hero-media,.hero-media img{min-height:390px;max-height:560px}.feature-grid{grid-template-columns:repeat(2,1fr)}.split-section{grid-template-columns:1fr}.split-image,.split-image img{min-height:330px;max-height:480px}.post-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.container{width:min(100% - 30px,1180px)}.brand-name{font-size:2rem}.brand-tag{font-size:.52rem}.hero-copy{padding:44px 22px 36px}h1{font-size:clamp(2.8rem,13vw,4.2rem)}.hero-media,.hero-media img{min-height:320px}.intro{padding:48px 0 20px}.feature-grid,.post-grid{grid-template-columns:1fr;gap:18px;padding-bottom:48px}.feature-card img{height:230px}.split-copy{padding:42px 24px}.contact-panel,.footer-inner{flex-direction:column;align-items:flex-start}.contact-panel .button{white-space:normal}.content-section{padding:48px 0}.site-footer{margin-top:48px}}

/*Personnalisation Notre élevage*/
/* Styles du modèle SherSam — Notre élevage */
.shersam-elevage{--ne-green:#244532;--ne-cream:#f7f4ec;--ne-beige:#d8d0c1;--ne-ink:#292a27;color:var(--ne-ink);background:var(--ne-cream)}
.shersam-elevage *{box-sizing:border-box}
.shersam-elevage .ne-wrap{width:min(1120px,calc(100% - 40px));margin-inline:auto}
.shersam-elevage .ne-hero{min-height:310px;position:relative;display:flex;align-items:center;background:linear-gradient(90deg,rgba(247,244,236,.96),rgba(247,244,236,.68) 48%,rgba(36,69,50,.08)),var(--ne-hero-image,linear-gradient(120deg,#d9dfd2,#b5c1ac));background-size:cover;background-position:center 42%;overflow:hidden}
.shersam-elevage .ne-hero__inner{position:relative;z-index:1;padding-block:58px}
.shersam-elevage .ne-hero h1{max-width:650px;margin:0;font:clamp(2.5rem,5vw,4.5rem)/1.05 Georgia,'Times New Roman',serif;letter-spacing:-.035em;color:#20231f}
.shersam-elevage .ne-hero__intro{font-size:1.12rem;max-width:520px;margin:18px 0 0}
.shersam-elevage .ne-eyebrow{text-transform:uppercase;letter-spacing:.22em;font-size:.72rem;font-weight:600;color:var(--ne-green);margin:0 0 10px}
.shersam-elevage .ne-section{padding:58px 0}
.shersam-elevage .ne-section--soft,.shersam-elevage .ne-values{background:#efefe6}
.shersam-elevage .ne-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);gap:38px;align-items:center}
.shersam-elevage .ne-split--reverse .ne-copy{order:1}.shersam-elevage .ne-split--reverse .ne-photo{order:2}
.shersam-elevage .ne-photo{min-height:270px;border-radius:9px;overflow:hidden;background:#e6e2d7}
.shersam-elevage .ne-photo img{display:block;width:100%;height:100%;min-height:270px;object-fit:cover}
.shersam-elevage .ne-placeholder{min-height:270px;display:grid;place-items:center;padding:25px;text-align:center;color:#566653;background:linear-gradient(135deg,#e8e8de,#d5ddcf);font-size:.9rem}
.shersam-elevage .ne-copy h2,.shersam-elevage .ne-values h2,.shersam-elevage .ne-closing h2{font:clamp(1.8rem,3vw,2.8rem)/1.12 Georgia,'Times New Roman',serif;letter-spacing:-.025em;margin:0 0 15px;color:#20231f}
.shersam-elevage .ne-copy p{margin:0 0 13px;line-height:1.7}
.shersam-elevage .ne-values{text-align:center;padding:55px 0}
.shersam-elevage .ne-values h2{margin-bottom:34px}
.shersam-elevage .ne-values__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}
.shersam-elevage .ne-value{padding:12px 24px;border-right:1px solid #d1d3c8}
.shersam-elevage .ne-value:last-child{border-right:0}
.shersam-elevage .ne-value__icon{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;margin:0 auto 13px;background:#dce2d5;color:var(--ne-green);font-size:1.8rem}
.shersam-elevage .ne-value h3{font:1.35rem Georgia,'Times New Roman',serif;margin:0 0 8px}
.shersam-elevage .ne-value p{font-size:.94rem;line-height:1.55;margin:0}
.shersam-elevage .ne-check-list{padding:0;margin:18px 0 0;list-style:none}
.shersam-elevage .ne-check-list li{position:relative;padding:0 0 9px 28px;line-height:1.5}
.shersam-elevage .ne-check-list li:before{content:"✓";position:absolute;left:0;top:1px;background:var(--ne-green);color:white;width:18px;height:18px;border-radius:50%;display:grid;place-items:center;font-size:.72rem;font-weight:700}
.shersam-elevage .ne-closing{position:relative;isolation:isolate;color:#fff;background:linear-gradient(90deg,rgba(20,39,29,.9),rgba(20,39,29,.45)),var(--ne-hero-image,#244532);background-size:cover;background-position:center 55%;padding:65px 0}
.shersam-elevage .ne-closing__inner{position:relative;z-index:1}
.shersam-elevage .ne-closing .ne-eyebrow,.shersam-elevage .ne-closing h2{color:#fff}
.shersam-elevage .ne-closing h2{max-width:650px}
.shersam-elevage .ne-closing p:not(.ne-eyebrow){max-width:660px;line-height:1.65}
.shersam-elevage .ne-button{display:inline-flex;align-items:center;gap:14px;margin-top:14px;padding:13px 22px;border-radius:8px;background:#fff;color:var(--ne-green);text-decoration:none;font-weight:600}
.shersam-elevage .ne-button:hover{background:#e9eee5;color:#172f20}
@media(max-width:760px){.shersam-elevage .ne-wrap{width:min(100% - 30px,600px)}.shersam-elevage .ne-hero{min-height:260px;background-position:60% center}.shersam-elevage .ne-hero__inner{padding-block:45px}.shersam-elevage .ne-section{padding:38px 0}.shersam-elevage .ne-split{grid-template-columns:1fr;gap:22px}.shersam-elevage .ne-split--reverse .ne-copy,.shersam-elevage .ne-split--reverse .ne-photo{order:initial}.shersam-elevage .ne-photo,.shersam-elevage .ne-photo img{min-height:220px;max-height:360px}.shersam-elevage .ne-values{padding:40px 0}.shersam-elevage .ne-values__grid{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:22px}.shersam-elevage .ne-value{padding:10px 14px;border-right:0}.shersam-elevage .ne-value:nth-child(odd){border-right:1px solid #d1d3c8}.shersam-elevage .ne-closing{padding:45px 0}}

