/*
Theme Name: Le Chalet Automobile - Refonte Respect Identité
Theme URI: https://www.lechalet-auto.fr/
Author: OpenAI / ChatGPT
Description: Thème WordPress premium en français pour Le Chalet Automobile. Refonte respectant l'identité actuelle : vert-gris, rouge brique, blanc cassé, typographies proches du site existant, WooCommerce, véhicules, événements et formulaires de leads.
Version: 5.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: chalet-auto
*/

:root{
  --chalet-dark:#2F3E46;
  --chalet-secondary:#52796F;
  --chalet-light:#F6F4F4;
  --chalet-red:#C44536;
  --chalet-ink:#2B3439;
  --chalet-muted:#687279;
  --chalet-border:rgba(47,62,70,.16);
  --chalet-white:#fff;
  --chalet-shadow:0 18px 45px rgba(47,62,70,.10);
  --chalet-radius:22px;
  --chalet-container:1180px;
  --chalet-serif:'Big John Pro','Big John','Georgia',serif;
  --chalet-sans:'Poppins',Arial,sans-serif;
}

*{box-sizing:border-box} html{scroll-behavior:smooth} body{margin:0;background:var(--chalet-light);color:var(--chalet-ink);font-family:var(--chalet-sans);font-size:16px;line-height:1.72;-webkit-font-smoothing:antialiased} body.chalet-menu-open{overflow:hidden} img{max-width:100%;height:auto;display:block} a{color:inherit;text-decoration:none} a:hover{color:var(--chalet-red)} p{margin:0 0 1.2rem} h1,h2,h3,h4{font-family:var(--chalet-serif);letter-spacing:.015em;line-height:1.08;color:var(--chalet-dark);margin:0 0 1rem} h1{font-size:clamp(2.5rem,5vw,5.2rem);text-transform:uppercase} h2{font-size:clamp(2rem,3.5vw,4.1rem);text-transform:uppercase} h3{font-size:clamp(1.35rem,2vw,2rem)} .chalet-container{width:min(var(--chalet-container),calc(100% - 42px));margin-inline:auto}.chalet-eyebrow{display:inline-flex;align-items:center;gap:18px;font-family:var(--chalet-sans);font-weight:700;letter-spacing:.24em;text-transform:uppercase;font-size:.77rem;color:var(--chalet-red);margin-bottom:18px}.chalet-eyebrow:before{content:"";width:48px;height:2px;background:var(--chalet-red)}

.chalet-btn,.button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:14px 28px;border-radius:7px;border:1px solid var(--chalet-red);background:var(--chalet-red);color:#fff!important;font-family:var(--chalet-sans);font-size:.82rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;line-height:1.1;transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease;box-shadow:none;white-space:normal;text-align:center}.chalet-btn:hover,.button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{transform:translateY(-2px);background:#a93a2f;border-color:#a93a2f;color:#fff!important;box-shadow:0 10px 24px rgba(196,69,54,.23)}.chalet-btn--ghost{background:transparent;color:var(--chalet-dark)!important;border-color:var(--chalet-dark)}.chalet-btn--ghost:hover{background:var(--chalet-dark);color:#fff!important;border-color:var(--chalet-dark)}.chalet-btn--light{background:transparent;color:#fff!important;border-color:rgba(255,255,255,.7)}.chalet-btn--light:hover{background:#fff;color:var(--chalet-dark)!important;border-color:#fff}.chalet-btn-row{display:flex;gap:14px;flex-wrap:wrap;align-items:center;margin-top:28px}

.chalet-site-header{position:sticky;top:0;z-index:999;background:rgba(246,244,244,.96);backdrop-filter:blur(10px);border-bottom:1px solid var(--chalet-border)}.admin-bar .chalet-site-header{top:32px}.chalet-header-inner{height:86px;display:flex;align-items:center;justify-content:space-between;gap:26px}.chalet-logo{display:flex;align-items:center;gap:12px;min-width:max-content}.chalet-logo-mark{width:52px;height:52px;border:2px solid var(--chalet-red);border-radius:999px;display:grid;place-items:center;color:var(--chalet-red);font-weight:800;font-family:var(--chalet-serif);font-size:1.2rem}.chalet-logo-text strong{display:block;font-family:var(--chalet-serif);font-size:1.35rem;letter-spacing:.08em;color:var(--chalet-dark);line-height:1}.chalet-logo-text span{font-size:.72rem;letter-spacing:.28em;text-transform:uppercase;color:var(--chalet-secondary)}.chalet-primary-menu ul{display:flex;align-items:center;gap:24px;list-style:none;margin:0;padding:0}.chalet-primary-menu a{font-family:var(--chalet-sans);font-weight:800;letter-spacing:.12em;text-transform:uppercase;font-size:.72rem;color:var(--chalet-dark)}.chalet-header-cta{min-width:max-content}.chalet-menu-toggle{display:none;border:0;background:var(--chalet-dark);color:#fff;border-radius:8px;padding:11px 13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}

.chalet-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,rgba(47,62,70,.96),rgba(47,62,70,.90)),var(--chalet-dark);color:#fff}.chalet-hero:after{content:"";position:absolute;inset:auto -20% -45% -20%;height:70%;background:radial-gradient(circle,rgba(82,121,111,.36),transparent 60%);pointer-events:none}.chalet-hero-inner{position:relative;z-index:1;min-height:660px;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(330px,.75fr);gap:70px;align-items:center;padding:78px 0}.chalet-hero h1,.chalet-hero h2,.chalet-hero h3{color:#fff}.chalet-hero-subtitle{max-width:650px;font-size:1.25rem;color:rgba(255,255,255,.84)}.chalet-hero-card{background:rgba(246,244,244,.08);border:1px solid rgba(255,255,255,.18);border-radius:30px;padding:34px;box-shadow:0 30px 80px rgba(0,0,0,.16)}.chalet-proof-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.chalet-proof{min-height:130px;border-radius:18px;background:rgba(246,244,244,.94);color:var(--chalet-dark);padding:24px;display:flex;flex-direction:column;justify-content:center;gap:8px}.chalet-proof strong{font-family:var(--chalet-serif);font-size:1.1rem}.chalet-proof span{font-size:.88rem;color:var(--chalet-muted)}

.chalet-section{padding:92px 0}.chalet-section--light{background:var(--chalet-light)}.chalet-section--white{background:#fff}.chalet-section--dark{background:var(--chalet-dark);color:#fff}.chalet-section--dark h1,.chalet-section--dark h2,.chalet-section--dark h3{color:#fff}.chalet-section-head{max-width:850px;margin-bottom:44px}.chalet-section-head.center{text-align:center;margin-inline:auto}.chalet-section-head.center .chalet-eyebrow:before{display:none}.chalet-section-head.center .chalet-eyebrow:after{content:"";width:48px;height:2px;background:var(--chalet-red)}.chalet-lead{font-size:1.12rem;color:var(--chalet-muted)}.chalet-section--dark .chalet-lead{color:rgba(255,255,255,.78)}

.chalet-grid{display:grid;gap:24px}.chalet-grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}.chalet-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}.chalet-grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}.chalet-grid--5{grid-template-columns:repeat(5,minmax(0,1fr))}.chalet-card{background:#fff;border:1px solid var(--chalet-border);border-radius:var(--chalet-radius);padding:34px;box-shadow:var(--chalet-shadow);display:flex;flex-direction:column;min-height:100%;position:relative;overflow:hidden}.chalet-card:before{content:"";position:absolute;left:34px;right:34px;top:0;height:5px;background:var(--chalet-secondary);border-radius:0 0 6px 6px}.chalet-card--accent:before{background:var(--chalet-red)}.chalet-card h3{margin-top:28px}.chalet-card p,.chalet-card li{color:var(--chalet-ink)}.chalet-card ul{padding-left:1.1em;margin:0 0 22px}.chalet-card li{margin:.45em 0}.chalet-card .chalet-btn{margin-top:auto;align-self:flex-start}.chalet-card--dark{background:rgba(246,244,244,.045);border-color:rgba(246,244,244,.16);box-shadow:none}.chalet-card--dark p,.chalet-card--dark li{color:rgba(255,255,255,.84)}.chalet-card--dark h3{color:#fff}.chalet-card--dark:before{background:var(--chalet-red)}

.chalet-packs{align-items:stretch}.chalet-pack-card{padding:42px}.chalet-pack-label{display:flex;align-items:center;gap:14px;color:rgba(47,62,70,.42);font-size:.74rem;font-weight:800;letter-spacing:.26em;text-transform:uppercase;margin-bottom:24px}.chalet-pack-label:before{content:"";width:42px;height:2px;background:var(--chalet-red)}.chalet-pack-card h3{margin-top:0}.chalet-pack-card p{font-size:1.02rem}.chalet-pack-card ul{margin-top:12px;margin-bottom:28px}.chalet-pack-card .chalet-btn{margin-top:auto}.chalet-pack-card.featured{border-top:5px solid var(--chalet-red)}.chalet-comparison{width:100%;border-collapse:collapse;background:#fff;border-radius:18px;overflow:hidden;box-shadow:var(--chalet-shadow)}.chalet-comparison th,.chalet-comparison td{padding:18px;border-bottom:1px solid var(--chalet-border);text-align:center}.chalet-comparison th:first-child,.chalet-comparison td:first-child{text-align:left}.chalet-comparison th{background:var(--chalet-dark);color:#fff;text-transform:uppercase;letter-spacing:.12em;font-size:.78rem}.chalet-check{color:var(--chalet-secondary);font-weight:900}.chalet-cross{color:rgba(47,62,70,.25)}

.chalet-form{background:#fff;border:1px solid var(--chalet-border);border-radius:var(--chalet-radius);padding:34px;box-shadow:var(--chalet-shadow)}.chalet-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.chalet-field{display:flex;flex-direction:column;gap:8px}.chalet-field.full{grid-column:1/-1}.chalet-field label{font-weight:700;color:var(--chalet-dark);font-size:.88rem}.chalet-field input,.chalet-field select,.chalet-field textarea{width:100%;min-height:48px;border:1px solid var(--chalet-border);border-radius:8px;background:#fff;padding:12px 14px;font-family:var(--chalet-sans);color:var(--chalet-ink)}.chalet-field textarea{min-height:130px;resize:vertical}.chalet-form-note{font-size:.84rem;color:var(--chalet-muted);margin-top:14px}

.chalet-list-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.chalet-list-card{padding:24px;border-radius:16px;border:1px solid var(--chalet-border);background:rgba(255,255,255,.72)}.chalet-list-card strong{display:block;color:var(--chalet-dark);font-family:var(--chalet-serif);font-size:1.25rem;margin-bottom:6px}.chalet-steps{counter-reset:step}.chalet-step{position:relative;padding-left:72px}.chalet-step:after{counter-increment:step;content:counter(step);position:absolute;left:26px;top:30px;width:36px;height:36px;border-radius:999px;background:var(--chalet-red);color:#fff;display:grid;place-items:center;font-weight:800}

.chalet-vehicle-card,.chalet-event-card,.chalet-post-card,.woocommerce ul.products li.product{background:#fff;border:1px solid var(--chalet-border);border-radius:var(--chalet-radius);box-shadow:var(--chalet-shadow);overflow:hidden;display:flex!important;flex-direction:column;height:100%;padding:0!important}.chalet-card-media{aspect-ratio:16/10;background:linear-gradient(135deg,var(--chalet-secondary),var(--chalet-dark));display:grid;place-items:center;color:#fff;font-family:var(--chalet-serif);font-size:2rem}.chalet-card-body{padding:26px;display:flex;flex-direction:column;flex:1}.chalet-card-meta{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0 16px}.chalet-badge{display:inline-flex;align-items:center;min-height:28px;padding:6px 10px;border-radius:999px;background:rgba(82,121,111,.12);color:var(--chalet-secondary);font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.chalet-badge--red{background:rgba(196,69,54,.12);color:var(--chalet-red)}.chalet-card-body .chalet-btn{margin-top:auto;align-self:flex-start}.chalet-section--dark .chalet-event-card{background:rgba(246,244,244,.045);border-color:rgba(246,244,244,.16);box-shadow:none}.chalet-section--dark .chalet-event-card h3{color:#fff}.chalet-section--dark .chalet-event-card p{color:rgba(255,255,255,.82)}

.chalet-faq details{background:#fff;border:1px solid var(--chalet-border);border-radius:14px;margin-bottom:12px;padding:18px 20px}.chalet-faq summary{cursor:pointer;font-weight:800;color:var(--chalet-dark)}.chalet-faq p{padding-top:14px;color:var(--chalet-muted)}

.chalet-newsletter{background:var(--chalet-dark);color:#fff;padding:44px;border-radius:var(--chalet-radius);display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center}.chalet-newsletter h3{color:#fff;margin-bottom:8px}.chalet-newsletter p{color:rgba(255,255,255,.78);margin:0}.chalet-newsletter form{display:flex;gap:10px;flex-wrap:wrap}.chalet-newsletter input{min-height:48px;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.08);color:#fff;border-radius:8px;padding:12px 14px}.chalet-newsletter input::placeholder{color:rgba(255,255,255,.6)}

.chalet-site-footer{background:#fff;border-top:1px solid var(--chalet-border);padding-top:68px}.chalet-footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:36px;padding-bottom:54px}.chalet-footer-col h4{font-family:var(--chalet-serif);color:var(--chalet-dark);text-transform:uppercase;letter-spacing:.08em}.chalet-footer-col ul{list-style:none;margin:0;padding:0}.chalet-footer-col li{margin:.6em 0;color:var(--chalet-muted)}.chalet-footer-brand p{color:var(--chalet-muted);max-width:360px}.chalet-footer-bottom{border-top:1px solid var(--chalet-border);padding:20px 0;color:var(--chalet-muted);font-size:.85rem;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}

.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{margin-bottom:24px}.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:0!important;padding:0!important}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}.woocommerce ul.products li.product a img{width:100%;aspect-ratio:16/10;object-fit:cover;margin:0!important}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-family:var(--chalet-serif);font-size:1.35rem;color:var(--chalet-dark);padding:24px 24px 0!important}.woocommerce ul.products li.product .price{padding:0 24px;color:var(--chalet-secondary)!important;font-weight:800}.woocommerce ul.products li.product .button{margin:18px 24px 24px!important;align-self:flex-start}.woocommerce div.product{background:#fff;border-radius:var(--chalet-radius);padding:34px;box-shadow:var(--chalet-shadow)}.woocommerce div.product .product_title{font-family:var(--chalet-serif)}.woocommerce-message,.woocommerce-info{border-top-color:var(--chalet-secondary)}.woocommerce-message::before,.woocommerce-info::before{color:var(--chalet-secondary)}

@keyframes chaletFadeUp{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}.chalet-reveal{animation:chaletFadeUp .6s ease both}

@media(max-width:1100px){.chalet-primary-menu ul{gap:15px}.chalet-primary-menu a{font-size:.65rem}.chalet-grid--4,.chalet-grid--5{grid-template-columns:repeat(2,minmax(0,1fr))}.chalet-hero-inner{grid-template-columns:1fr;min-height:auto}.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:860px){.admin-bar .chalet-site-header{top:46px}.chalet-header-inner{height:74px}.chalet-menu-toggle{display:inline-flex}.chalet-primary-menu{position:fixed;inset:74px 0 auto 0;background:var(--chalet-light);border-bottom:1px solid var(--chalet-border);box-shadow:var(--chalet-shadow);transform:translateY(-130%);transition:transform .22s ease;padding:26px}.chalet-primary-menu.is-open{transform:translateY(0)}.chalet-primary-menu ul{display:grid;gap:18px}.chalet-header-cta{display:none}.chalet-grid--2,.chalet-grid--3,.chalet-grid--4,.chalet-grid--5,.chalet-list-cards{grid-template-columns:1fr}.chalet-hero-inner{padding:58px 0}.chalet-proof-grid{grid-template-columns:1fr}.chalet-section{padding:68px 0}.chalet-form-grid{grid-template-columns:1fr}.chalet-newsletter{grid-template-columns:1fr}.chalet-footer-grid{grid-template-columns:1fr 1fr}.chalet-comparison{display:block;overflow-x:auto;white-space:nowrap}.woocommerce ul.products{grid-template-columns:1fr}}
@media(max-width:560px){.chalet-container{width:min(100% - 28px,var(--chalet-container))}.chalet-logo-mark{width:44px;height:44px}.chalet-logo-text strong{font-size:1.05rem}.chalet-logo-text span{font-size:.58rem}.chalet-card,.chalet-pack-card,.chalet-form{padding:26px}.chalet-card:before{left:26px;right:26px}.chalet-footer-grid{grid-template-columns:1fr}.chalet-btn{width:100%}.chalet-btn-row{width:100%}.chalet-newsletter form input,.chalet-newsletter form button{width:100%}}
