/* ============================================
   SPECIALISTE HUMIDITE - PREMIUM THEME CSS
   Aesthetic: Industrial Precision + Authoritative Trust
   System fonts only / Zero gradient / Zero fade
   Zero emoji / Zero lazy / Zero sticky
   ============================================ */

:root {
    --primary: #1B6B93;
    --primary-deep: #145980;
    --dark: #0F2A3D;
    --darker: #091C2A;
    --accent: #E8822A;
    --accent-hover: #D4741E;
    --accent-soft: #FEF3E8;
    --bg-light: #F7F9FC;
    --bg-warm: #F4F1ED;
    --white: #FFFFFF;
    --text: #1A1A2E;
    --text-mid: #3D4F5F;
    --text-soft: #6B7C8D;
    --text-on-dark: #FFFFFF;
    --border: #DCE3EA;
    --border-light: #EDF0F4;
    --shadow-sm: 0 1px 3px rgba(15, 42, 61, 0.06);
    --shadow-md: 0 4px 16px rgba(15, 42, 61, 0.08);
    --shadow-lg: 0 12px 40px rgba(15, 42, 61, 0.12);
    --shadow-xl: 0 20px 60px rgba(15, 42, 61, 0.16);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background-color: var(--white);
    overflow-x: hidden;
    overflow-wrap: break-word;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, video, iframe, svg, canvas { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--primary); text-decoration: none; transition: color 0.15s ease; }
a:hover, a:focus { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 2px; }

/* ========================================
   BUTTONS - Bold, confident
   ======================================== */
.sh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
    white-space: nowrap;
    line-height: 1.4;
}
.sh-btn:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.sh-btn--accent {
    background-color: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    box-shadow: 0 4px 14px rgba(232, 130, 42, 0.3);
}
.sh-btn--accent:hover, .sh-btn--accent:focus {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(232, 130, 42, 0.4);
}
.sh-btn--outline-white {
    background-color: rgba(255,255,255,0.08);
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
}
.sh-btn--outline-white:hover, .sh-btn--outline-white:focus {
    background-color: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.5);
    color: var(--white);
}
.sh-btn--lg { padding: 16px 32px; font-size: 16px; }
.sh-btn--full { width: 100%; }

/* ========================================
   SECTION TYPOGRAPHY
   ======================================== */
.sh-section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}
.sh-section-label--light { color: rgba(255,255,255,0.7); }
.sh-section-label__line {
    display: inline-block;
    width: 32px;
    height: 2px;
    background-color: var(--accent);
}
.sh-section-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.sh-section-title--light { color: var(--white); }
.sh-section-title--center { text-align: center; }
.sh-section-subtitle {
    font-size: 1.1rem;
    color: var(--text-mid);
    line-height: 1.6;
    max-width: 580px;
}
.sh-section-subtitle--center { text-align: center; margin-left: auto; margin-right: auto; }
.sh-section-subtitle--light { color: rgba(255,255,255,0.75); }

/* ========================================
   HERO - Split layout with image
   ======================================== */
.sh-hero {
    position: relative;
    background-color: var(--dark);
    color: var(--white);
    overflow: hidden;
}
.sh-hero__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
    gap: 48px;
    align-items: center;
}
.sh-hero__content {
    padding: 80px 0;
    position: relative;
    z-index: 2;
}
.sh-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 6px;
    background-color: rgba(27, 107, 147, 0.2);
    border: 1px solid rgba(27, 107, 147, 0.35);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    margin-bottom: 28px;
}
.sh-hero__badge-dot {
    width: 8px;
    height: 8px;
    background-color: #4ADE80;
    border-radius: 50%;
    flex-shrink: 0;
}
.sh-hero__title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    color: var(--white);
}
.sh-hero__subtitle {
    font-size: 1.15rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.8);
    max-width: 500px;
    margin-bottom: 36px;
}
.sh-hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.sh-hero__stats {
    display: flex;
    gap: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.sh-hero__stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 4px;
}
.sh-hero__stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}
.sh-hero__image {
    position: relative;
    align-self: stretch;
    overflow: hidden;
}
.sh-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sh-hero__image-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(15, 42, 61, 0.2);
    pointer-events: none;
}

/* ========================================
   CONTENT AREA
   ======================================== */
.sh-content {
    padding: 72px 0;
    background-color: var(--white);
}
.sh-content__inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-mid);
}
.sh-content__inner h2 { font-size: 1.75rem; font-weight: 700; margin: 40px 0 16px; color: var(--text); letter-spacing: -0.01em; }
.sh-content__inner h3 { font-size: 1.35rem; font-weight: 600; margin: 32px 0 12px; color: var(--text); }
.sh-content__inner p { margin-bottom: 18px; }
.sh-content__inner ul, .sh-content__inner ol { margin-bottom: 18px; padding-left: 24px; }
.sh-content__inner li { margin-bottom: 8px; }
.sh-content__inner table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.sh-content__inner table th, .sh-content__inner table td { padding: 14px 18px; border: 1px solid var(--border); text-align: left; }
.sh-content__inner table th { background-color: var(--dark); color: var(--white); font-weight: 600; }
.sh-content__inner table tr:nth-child(even) { background-color: var(--bg-light); }

/* ========================================
   SERVICES - Cards with images
   ======================================== */
.sh-services {
    padding: 100px 0;
    background-color: var(--bg-light);
}
.sh-services__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}
.sh-services__header {
    text-align: center;
    margin-bottom: 56px;
}
.sh-services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.sh-service-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.sh-service-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.sh-service-card__image {
    position: relative;
    height: 180px;
    overflow: hidden;
    background-color: var(--bg-light);
}
.sh-service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sh-service-card__image-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(15, 42, 61, 0.08);
    pointer-events: none;
}
.sh-service-card__body {
    padding: 24px 22px;
}
.sh-service-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: var(--accent-soft);
    color: var(--accent);
    border-radius: 10px;
    margin-bottom: 14px;
}
.sh-service-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}
.sh-service-card__desc {
    font-size: 0.875rem;
    color: var(--text-soft);
    line-height: 1.6;
}

/* ========================================
   TRUST - Split image + content
   ======================================== */
.sh-trust {
    padding: 100px 0;
    background-color: var(--dark);
    overflow: hidden;
}
.sh-trust__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.sh-trust__image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
}
.sh-trust__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sh-trust__image-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: var(--accent);
    color: var(--white);
    padding: 10px 18px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sh-trust__content { color: var(--white); }
.sh-trust__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 40px;
}
.sh-trust__item {
    padding: 24px;
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
}
.sh-trust__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: rgba(232, 130, 42, 0.15);
    color: var(--accent);
    border-radius: 10px;
    margin-bottom: 14px;
}
.sh-trust__label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}
.sh-trust__desc {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.55;
}

/* ========================================
   CTA BANNER - Image background
   ======================================== */
.sh-cta-banner {
    position: relative;
    padding: 80px 0;
    background-color: var(--primary);
    overflow: hidden;
}
.sh-cta-banner__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
}
.sh-cta-banner__content { position: relative; z-index: 2; }
.sh-cta-banner__title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}
.sh-cta-banner__text {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    max-width: 520px;
}
.sh-cta-banner__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    flex-shrink: 0;
}
.sh-cta-banner__image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    width: 320px;
    height: 220px;
    flex-shrink: 0;
}
.sh-cta-banner__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   DEVIS FORM
   ======================================== */
.sh-devis {
    padding: 100px 0;
    background-color: var(--bg-light);
}
.sh-devis__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 56px;
    align-items: flex-start;
}
.sh-devis__form-col .sh-section-title,
.sh-devis__form-col .sh-section-subtitle,
.sh-devis__form-col .sh-section-label { text-align: left; }
.sh-devis__form-col .sh-section-subtitle { margin-left: 0; margin-bottom: 32px; }

/* Form */
.sh-form { margin-top: 8px; }
.sh-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.sh-form__group { display: flex; flex-direction: column; }
.sh-form__group:only-child { margin-bottom: 16px; }
.sh-form__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
    letter-spacing: 0.01em;
}
.sh-form__label span { color: var(--accent); }
.sh-form__input {
    width: 100%;
    max-width: 100%;
    padding: 14px 18px;
    font-family: var(--font);
    font-size: 16px;
    color: var(--text);
    background-color: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    -webkit-appearance: none;
    appearance: none;
}
.sh-form__input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(27, 107, 147, 0.12);
}
.sh-form__input::placeholder { color: var(--text-soft); }
.sh-form__select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7C8D' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}
.sh-form__textarea { resize: vertical; min-height: 110px; }
.sh-form__disclaimer {
    margin-top: 14px;
    font-size: 12px;
    color: var(--text-soft);
    line-height: 1.5;
}

/* Alerts */
.sh-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}
.sh-alert--success { background-color: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.sh-alert--error { background-color: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }

/* Info Column */
.sh-devis__info-col { display: flex; flex-direction: column; gap: 20px; }
.sh-devis__info-card {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
}
.sh-devis__info-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}
.sh-devis__info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
}
.sh-devis__info-item:last-child { margin-bottom: 0; }
.sh-devis__info-item svg { flex-shrink: 0; color: var(--primary); margin-top: 2px; }
.sh-devis__info-label {
    font-size: 11px;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    margin-bottom: 2px;
}
.sh-devis__info-value { font-size: 15px; color: var(--text); font-weight: 600; }
a.sh-devis__info-value:hover, a.sh-devis__info-value:focus { color: var(--primary); }

.sh-devis__guarantee {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 24px;
    background-color: var(--accent-soft);
    border-radius: var(--radius);
    border: 1px solid rgba(232, 130, 42, 0.15);
}
.sh-devis__guarantee svg { flex-shrink: 0; color: var(--accent); }
.sh-devis__guarantee-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.sh-devis__guarantee-text { font-size: 13px; color: var(--text-mid); line-height: 1.55; }

/* Info image */
.sh-devis__info-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/10;
}
.sh-devis__info-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .sh-hero__inner { grid-template-columns: 1fr; min-height: auto; gap: 0; }
    .sh-hero__image { height: 320px; }
    .sh-hero__content { padding: 56px 0 40px; }
    .sh-hero__title { font-size: 2.3rem; }
    .sh-services__grid { grid-template-columns: repeat(2, 1fr); }
    .sh-trust__inner { grid-template-columns: 1fr; gap: 40px; }
    .sh-trust__image { max-height: 400px; }
    .sh-cta-banner__inner { grid-template-columns: 1fr; text-align: center; }
    .sh-cta-banner__image { display: none; }
    .sh-cta-banner__actions { justify-content: center; }
}

@media (max-width: 768px) {
    .sh-section-title { font-size: 1.75rem; }
    .sh-section-subtitle { font-size: 1rem; }
    .sh-hero__content { padding: 40px 0 32px; }
    .sh-hero__title { font-size: 1.85rem; }
    .sh-hero__subtitle { font-size: 1rem; }
    .sh-hero__actions { flex-direction: column; width: 100%; }
    .sh-hero__actions .sh-btn { width: 100%; }
    .sh-hero__stats { gap: 24px; flex-wrap: wrap; }
    .sh-hero__stat-value { font-size: 1.4rem; }
    .sh-hero__image { height: 260px; }
    .sh-services { padding: 64px 0; }
    .sh-services__grid { grid-template-columns: 1fr; gap: 16px; }
    .sh-service-card__image { height: 160px; }
    .sh-trust { padding: 64px 0; }
    .sh-trust__grid { grid-template-columns: 1fr; gap: 16px; }
    .sh-cta-banner { padding: 56px 0; }
    .sh-cta-banner__title { font-size: 1.5rem; }
    .sh-cta-banner__actions { flex-direction: column; width: 100%; }
    .sh-cta-banner__actions .sh-btn { width: 100%; }
    .sh-devis { padding: 64px 0; }
    .sh-devis__inner { grid-template-columns: 1fr; gap: 32px; }
    .sh-devis__form-col .sh-section-title,
    .sh-devis__form-col .sh-section-subtitle,
    .sh-devis__form-col .sh-section-label { text-align: center; }
    .sh-devis__form-col .sh-section-subtitle { margin-left: auto; }
    .sh-form__row { grid-template-columns: 1fr; }
    .sh-content { padding: 48px 0; }
}

@media (max-width: 480px) {
    .sh-hero__title { font-size: 1.55rem; }
    .sh-hero__stats { flex-direction: column; gap: 16px; }
    .sh-section-title { font-size: 1.5rem; }
    .sh-btn--lg { padding: 14px 24px; font-size: 15px; }
}

/* ========================================
   MAILLAGE GEO SECTION
   ======================================== */
.sh-maillage {
    padding: 64px 0;
    background-color: var(--white);
    border-top: 1px solid var(--border-light);
}
.sh-maillage__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.sh-maillage__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
    letter-spacing: -0.01em;
}
.sh-maillage a {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--primary);
    text-decoration: none;
    padding: 3px 0;
    transition: color 0.15s ease;
}
.sh-maillage a:hover,
.sh-maillage a:focus {
    color: var(--accent);
}
/* GFM grid format */
.sh-maillage .gfm-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
}
.sh-maillage .gfm-grid a {
    font-size: 0.82rem;
    color: var(--text-mid);
    padding: 4px 10px;
    background-color: var(--bg-light);
    border-radius: 6px;
    border: 1px solid var(--border-light);
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.sh-maillage .gfm-grid a:hover,
.sh-maillage .gfm-grid a:focus {
    background-color: var(--accent-soft);
    color: var(--accent);
    border-color: var(--accent);
}
/* GFM list format fallback */
.sh-maillage ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
}
.sh-maillage ul li {
    margin: 0;
}
.sh-maillage ul li a {
    font-size: 0.82rem;
    color: var(--text-mid);
    padding: 4px 10px;
    background-color: var(--bg-light);
    border-radius: 6px;
    border: 1px solid var(--border-light);
    display: inline-block;
}
.sh-maillage ul li a:hover,
.sh-maillage ul li a:focus {
    background-color: var(--accent-soft);
    color: var(--accent);
    border-color: var(--accent);
}
@media (max-width: 768px) {
    .sh-maillage__inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .sh-maillage { padding: 48px 0; }
}

/* WP overrides */
.wp-block-image img { max-width: 100%; height: auto; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin-right: 20px; margin-bottom: 10px; }
.alignright { float: right; margin-left: 20px; margin-bottom: 10px; }
.screen-reader-text { clip: rect(1px,1px,1px,1px); position: absolute; height: 1px; width: 1px; overflow: hidden; }
.screen-reader-text:focus { clip: auto; display: block; height: auto; width: auto; position: static; }
