/*
Theme Name: Artisan Lucas
Theme URI: https://artisan-lucas.fr
Author: Artisan Lucas Simone
Author URI: https://artisan-lucas.fr
Description: Thème WordPress sur mesure pour Artisan Lucas, plombier-chauffagiste à Paris 2e et en Île-de-France. Pages Accueil, Services, Dépannage, Zone d'intervention, À propos, Devis/Contact, Mentions légales.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: artisan-lucas
Tags: business, one-column, custom-menu, custom-logo, featured-images, full-width-template
*/

/* ==========================================================================
   1. Variables & reset
   ========================================================================== */
:root {
  --al-navy: #0b2545;
  --al-navy-2: #13315c;
  --al-blue: #1e6fd9;
  --al-blue-light: #e8f1fd;
  --al-orange: #f5801c;
  --al-orange-dark: #d96a0a;
  --al-ink: #1f2937;
  --al-muted: #5b6475;
  --al-line: #e5e9f0;
  --al-bg: #ffffff;
  --al-bg-soft: #f6f8fb;
  --al-green: #16a34a;
  --al-radius: 14px;
  --al-shadow: 0 10px 30px rgba(11, 37, 69, 0.08);
  --al-font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --al-font-title: "Montserrat", "Inter", "Segoe UI", system-ui, sans-serif;
  --al-max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--al-font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--al-ink);
  background: var(--al-bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--al-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--al-font-title); color: var(--al-navy); line-height: 1.2; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.al-container { width: min(100% - 2rem, var(--al-max)); margin-inline: auto; }
.al-section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.al-section--soft { background: var(--al-bg-soft); }
.al-section--navy { background: var(--al-navy); color: #fff; }
.al-section--navy h2, .al-section--navy h3 { color: #fff; }
.al-section__head { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.al-eyebrow { display: inline-block; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--al-orange); margin-bottom: .6rem; }
.al-section__head p { color: var(--al-muted); font-size: 1.05rem; }
.al-section--navy .al-section__head p { color: rgba(255,255,255,.8); }

/* ==========================================================================
   2. Buttons
   ========================================================================== */
.al-btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.5rem; border-radius: 999px;
  font-weight: 700; font-size: 1rem; line-height: 1;
  border: 2px solid transparent; cursor: pointer; transition: all .2s ease;
  text-decoration: none !important;
}
.al-btn--primary { background: var(--al-orange); color: #fff; border-color: var(--al-orange); box-shadow: 0 8px 22px rgba(245,128,28,.35); }
.al-btn--primary:hover { background: var(--al-orange-dark); border-color: var(--al-orange-dark); transform: translateY(-1px); }
.al-btn--outline { background: transparent; color: var(--al-navy); border-color: var(--al-navy); }
.al-btn--outline:hover { background: var(--al-navy); color: #fff; }
.al-btn--light { background: #fff; color: var(--al-navy); border-color: #fff; }
.al-btn--light:hover { background: var(--al-blue-light); }
.al-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.al-btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.al-btn svg { width: 18px; height: 18px; }

/* ==========================================================================
   3. Topbar & header
   ========================================================================== */
.al-topbar { background: var(--al-navy); color: #fff; font-size: .9rem; }
.al-topbar .al-container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .45rem 0; flex-wrap: wrap; }
.al-topbar a { color: #fff; font-weight: 600; }
.al-topbar__items { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.al-topbar__items span { display: inline-flex; align-items: center; gap: .4rem; }
.al-topbar svg { width: 15px; height: 15px; fill: var(--al-orange); }
.al-badge-24 { background: var(--al-orange); color: #fff; padding: .15rem .6rem; border-radius: 999px; font-weight: 800; font-size: .78rem; letter-spacing: .04em; }

.al-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--al-line); }
.al-header .al-container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 78px; }
.al-brand { display: flex; align-items: center; gap: .7rem; color: var(--al-navy); text-decoration: none !important; }
.al-brand__mark { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--al-blue), var(--al-navy)); display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.al-brand__mark svg { width: 26px; height: 26px; }
.al-brand__name { font-family: var(--al-font-title); font-weight: 800; font-size: 1.2rem; line-height: 1.05; }
.al-brand__tag { display: block; font-size: .72rem; font-weight: 600; color: var(--al-muted); letter-spacing: .06em; text-transform: uppercase; }
.al-brand img.custom-logo { max-height: 56px; width: auto; }

.al-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .2rem; align-items: center; }
.al-nav a { display: block; padding: .6rem .85rem; font-weight: 600; color: var(--al-navy); border-radius: 8px; }
.al-nav a:hover, .al-nav .current-menu-item > a, .al-nav .current_page_item > a { background: var(--al-blue-light); color: var(--al-blue); text-decoration: none; }
.al-nav .sub-menu { display: none; position: absolute; background: #fff; box-shadow: var(--al-shadow); border-radius: 12px; padding: .5rem; min-width: 220px; flex-direction: column; gap: 0; }
.al-nav li { position: relative; }
.al-nav li:hover > .sub-menu, .al-nav li:focus-within > .sub-menu { display: flex; }
.al-header__cta { display: flex; align-items: center; gap: .75rem; }
.al-header__phone { font-weight: 800; color: var(--al-navy); font-size: 1.05rem; white-space: nowrap; }
.al-header__phone small { display: block; font-size: .72rem; font-weight: 600; color: var(--al-muted); }
.al-burger { display: none; width: 44px; height: 44px; border: 1px solid var(--al-line); background: #fff; border-radius: 10px; cursor: pointer; }
.al-burger span { display: block; width: 20px; height: 2px; background: var(--al-navy); margin: 4px auto; transition: .2s; }

@media (max-width: 980px) {
  .al-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--al-line); box-shadow: var(--al-shadow); padding: 1rem; }
  .al-nav.is-open { display: block; }
  .al-nav ul { flex-direction: column; align-items: stretch; }
  .al-nav .sub-menu { position: static; display: flex; box-shadow: none; padding-left: 1rem; }
  .al-burger { display: block; }
  .al-header__cta .al-btn { display: none; }
  .al-topbar__items span:nth-child(n+3) { display: none; }
}

/* ==========================================================================
   4. Hero
   ========================================================================== */
.al-hero { position: relative; background: radial-gradient(1200px 600px at 85% -10%, #1e6fd9 0%, transparent 60%), linear-gradient(135deg, var(--al-navy) 0%, var(--al-navy-2) 100%); color: #fff; overflow: hidden; }
.al-hero::after { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'><circle cx='1' cy='1' r='1' fill='rgba(255,255,255,0.08)'/></svg>"); pointer-events: none; }
.al-hero .al-container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; padding: clamp(3rem, 8vw, 6rem) 0; }
.al-hero h1 { color: #fff; margin-bottom: 1rem; }
.al-hero h1 em { font-style: normal; color: var(--al-orange); }
.al-hero__lead { font-size: 1.15rem; color: rgba(255,255,255,.85); max-width: 560px; }
.al-hero__actions { display: flex; gap: .9rem; flex-wrap: wrap; margin: 1.6rem 0 1.8rem; }
.al-hero__trust { display: flex; gap: 1.5rem; flex-wrap: wrap; font-size: .92rem; color: rgba(255,255,255,.85); }
.al-hero__trust span { display: inline-flex; align-items: center; gap: .45rem; }
.al-hero__trust svg { width: 18px; height: 18px; fill: var(--al-green); }
.al-hero__card { background: #fff; color: var(--al-ink); border-radius: 20px; padding: 1.8rem; box-shadow: 0 30px 60px rgba(0,0,0,.3); }
.al-hero__card h3 { margin-bottom: .3rem; }
.al-hero__card p.small { color: var(--al-muted); font-size: .92rem; margin-bottom: 1.2rem; }
@media (max-width: 900px) { .al-hero .al-container { grid-template-columns: 1fr; } }

/* ==========================================================================
   5. Forms
   ========================================================================== */
.al-form { display: grid; gap: .9rem; }
.al-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
@media (max-width: 560px) { .al-form__row { grid-template-columns: 1fr; } }
.al-form label { font-size: .85rem; font-weight: 700; color: var(--al-navy); display: block; margin-bottom: .3rem; }
.al-form input, .al-form select, .al-form textarea {
  width: 100%; padding: .8rem .95rem; border: 1.5px solid var(--al-line); border-radius: 10px; font: inherit; font-size: .98rem; background: #fff; color: var(--al-ink);
}
.al-form input:focus, .al-form select:focus, .al-form textarea:focus { outline: none; border-color: var(--al-blue); box-shadow: 0 0 0 4px rgba(30,111,217,.15); }
.al-form textarea { min-height: 120px; resize: vertical; }
.al-form .al-btn { justify-content: center; width: 100%; }
.al-form__consent { font-size: .82rem; color: var(--al-muted); display: flex; gap: .5rem; align-items: flex-start; }
.al-form__consent input { width: auto; margin-top: .25rem; }
.al-form__hp { position: absolute; left: -9999px; }
.al-notice { padding: 1rem 1.2rem; border-radius: 12px; margin-bottom: 1.2rem; font-weight: 600; }
.al-notice--success { background: #e9f9ee; color: #14532d; border: 1px solid #bbf7d0; }
.al-notice--error { background: #fdecec; color: #7f1d1d; border: 1px solid #fecaca; }

/* ==========================================================================
   6. Services grid
   ========================================================================== */
.al-grid { display: grid; gap: 1.4rem; }
.al-grid--3 { grid-template-columns: repeat(3, 1fr); }
.al-grid--4 { grid-template-columns: repeat(4, 1fr); }
.al-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .al-grid--3, .al-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .al-grid--2, .al-grid--3, .al-grid--4 { grid-template-columns: 1fr; } }

.al-card { background: #fff; border: 1px solid var(--al-line); border-radius: var(--al-radius); padding: 1.7rem; box-shadow: 0 2px 6px rgba(11,37,69,.04); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.al-card:hover { transform: translateY(-4px); box-shadow: var(--al-shadow); }
.al-card__icon { width: 54px; height: 54px; border-radius: 14px; background: var(--al-blue-light); color: var(--al-blue); display: grid; place-items: center; margin-bottom: 1.1rem; }
.al-card__icon svg { width: 28px; height: 28px; }
.al-card--orange .al-card__icon { background: #fff1e6; color: var(--al-orange); }
.al-card h3 { margin-bottom: .5rem; }
.al-card p { color: var(--al-muted); font-size: .97rem; flex: 1; }
.al-card__link { font-weight: 700; margin-top: .6rem; display: inline-flex; align-items: center; gap: .35rem; }
.al-card__link svg { width: 16px; height: 16px; }
svg { max-width: 100%; }
.al-card ul { color: var(--al-muted); font-size: .95rem; margin: 0 0 1rem; }

/* ==========================================================================
   7. Why us / steps / numbers
   ========================================================================== */
.al-why { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 900px) { .al-why { grid-template-columns: 1fr; } }
.al-why__list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.al-why__list li { display: flex; gap: .9rem; align-items: flex-start; }
.al-check { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--al-green); color: #fff; display: grid; place-items: center; }
.al-check svg { width: 16px; height: 16px; }
.al-why__list strong { display: block; color: var(--al-navy); }
.al-why__list span { color: var(--al-muted); font-size: .95rem; }
.al-numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 760px) { .al-numbers { grid-template-columns: repeat(2, 1fr); } }
.al-number { text-align: center; padding: 1.5rem 1rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--al-radius); }
.al-number strong { display: block; font-family: var(--al-font-title); font-size: 2.4rem; color: var(--al-orange); line-height: 1; }
.al-number span { font-size: .92rem; color: rgba(255,255,255,.85); }

.al-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: step; }
@media (max-width: 900px) { .al-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .al-steps { grid-template-columns: 1fr; } }
.al-why .al-steps { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 560px) { .al-why .al-steps { grid-template-columns: 1fr; } }
.al-step { position: relative; padding: 1.5rem 1.4rem 1.4rem; background: #fff; border-radius: var(--al-radius); border: 1px solid var(--al-line); }
.al-step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--al-font-title); font-size: 2.2rem; font-weight: 800; color: var(--al-blue-light); position: absolute; top: .6rem; right: 1rem; line-height: 1; }
.al-step h3 { font-size: 1.05rem; }
.al-step p { color: var(--al-muted); font-size: .94rem; margin: 0; }

/* ==========================================================================
   8. Reviews, zones, FAQ, CTA band
   ========================================================================== */
.al-review { background: #fff; border-radius: var(--al-radius); padding: 1.6rem; border: 1px solid var(--al-line); }
.al-stars { color: #f59e0b; letter-spacing: .1em; font-size: 1.05rem; margin-bottom: .6rem; }
.al-review p { font-style: italic; color: var(--al-ink); }
.al-review footer { font-size: .9rem; color: var(--al-muted); font-weight: 600; }

.al-zones { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.al-zones span { background: #fff; border: 1px solid var(--al-line); padding: .45rem .9rem; border-radius: 999px; font-size: .92rem; font-weight: 600; color: var(--al-navy); }
.al-zones span.is-main { background: var(--al-navy); color: #fff; border-color: var(--al-navy); }

.al-faq details { background: #fff; border: 1px solid var(--al-line); border-radius: 12px; padding: 1rem 1.3rem; margin-bottom: .8rem; }
.al-faq summary { cursor: pointer; font-weight: 700; color: var(--al-navy); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.al-faq summary::after { content: "+"; font-size: 1.4rem; color: var(--al-orange); }
.al-faq details[open] summary::after { content: "–"; }
.al-faq details p { margin: .8rem 0 0; color: var(--al-muted); }

.al-cta-band { background: linear-gradient(135deg, var(--al-orange) 0%, #ff9a3d 100%); color: #fff; }
.al-cta-band .al-container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2.5rem 0; flex-wrap: wrap; }
.al-cta-band h2 { color: #fff; margin: 0 0 .3rem; }
.al-cta-band p { margin: 0; color: rgba(255,255,255,.92); }
.al-cta-band .al-btn--light { color: var(--al-orange-dark); }

/* ==========================================================================
   9. Inner pages
   ========================================================================== */
.al-page-hero { background: linear-gradient(135deg, var(--al-navy) 0%, var(--al-navy-2) 100%); color: #fff; padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.al-page-hero h1 { color: #fff; margin-bottom: .4rem; }
.al-page-hero p { color: rgba(255,255,255,.82); max-width: 700px; margin: 0; font-size: 1.08rem; }
.al-breadcrumb { font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 1rem; }
.al-breadcrumb a { color: #fff; }
.al-content { max-width: 820px; }
.al-content h2 { margin-top: 2.2rem; font-size: 1.6rem; }
.al-content h3 { margin-top: 1.6rem; }
.al-content ul li { margin-bottom: .35rem; }
.al-content table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: .95rem; }
.al-content th, .al-content td { border: 1px solid var(--al-line); padding: .7rem .9rem; text-align: left; vertical-align: top; }
.al-content th { background: var(--al-bg-soft); color: var(--al-navy); }
.al-content blockquote { border-left: 4px solid var(--al-orange); margin: 1.5rem 0; padding: .5rem 1.2rem; background: var(--al-bg-soft); color: var(--al-muted); font-style: italic; }
.al-two-col { display: grid; grid-template-columns: 1.3fr .9fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .al-two-col { grid-template-columns: 1fr; } }
.al-aside { position: sticky; top: 100px; display: grid; gap: 1.2rem; }
.al-aside .al-card { padding: 1.4rem; }
.al-contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.al-contact-list li { display: flex; gap: .8rem; align-items: flex-start; }
.al-contact-list svg { width: 22px; height: 22px; fill: var(--al-blue); flex-shrink: 0; margin-top: .15rem; }
.al-contact-list strong { display: block; color: var(--al-navy); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.al-map { border-radius: var(--al-radius); overflow: hidden; border: 1px solid var(--al-line); }
.al-map iframe { width: 100%; height: 320px; border: 0; display: block; }
.al-legal { font-size: .95rem; }
.al-legal dl { display: grid; grid-template-columns: 220px 1fr; gap: .4rem 1rem; }
.al-legal dt { font-weight: 700; color: var(--al-navy); }
.al-legal dd { margin: 0; }
@media (max-width: 600px) { .al-legal dl { grid-template-columns: 1fr; } .al-legal dd { margin-bottom: .6rem; } }
.wp-block-image img, .al-content figure img { border-radius: var(--al-radius); }
.alignwide { width: min(100% - 2rem, 1180px); margin-inline: auto; }
.alignfull { width: 100%; }

/* Blog */
.al-post-card { display: flex; flex-direction: column; }
.al-post-card time { font-size: .82rem; color: var(--al-muted); font-weight: 600; }
.al-post-card h3 a { color: var(--al-navy); }
.al-pagination { display: flex; gap: .4rem; justify-content: center; margin-top: 2rem; }
.al-pagination a, .al-pagination span { padding: .5rem .9rem; border: 1px solid var(--al-line); border-radius: 8px; font-weight: 600; }
.al-pagination .current { background: var(--al-navy); color: #fff; }

/* ==========================================================================
   10. Footer & sticky call
   ========================================================================== */
.al-footer { background: var(--al-navy); color: rgba(255,255,255,.85); padding: 3.5rem 0 1.5rem; font-size: .95rem; }
.al-footer a { color: #fff; }
.al-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
@media (max-width: 900px) { .al-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .al-footer__grid { grid-template-columns: 1fr; } }
.al-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.al-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.al-footer .al-brand { color: #fff; margin-bottom: 1rem; }
.al-footer .al-brand__tag { color: rgba(255,255,255,.65); }
.al-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.3rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: rgba(255,255,255,.6); }
.al-footer__bottom ul { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.al-footer__legal { font-size: .8rem; color: rgba(255,255,255,.55); margin-top: 1rem; line-height: 1.5; }

.al-sticky-call { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--al-orange); color: #fff; padding: .8rem 1rem; text-align: center; font-weight: 800; font-size: 1.05rem; box-shadow: 0 -6px 20px rgba(0,0,0,.2); }
.al-sticky-call a { color: #fff; display: inline-flex; align-items: center; gap: .6rem; }
.al-sticky-call svg { width: 20px; height: 20px; fill: #fff; }
@media (max-width: 980px) { .al-sticky-call { display: block; } body { padding-bottom: 60px; } }
