/*
 * Landing Page — Devenir installateur partenaire
 * Climatisation en Ligne / Froid Concept
 *
 * Charte graphique alignée sur https://climatisation-en-ligne.com/
 *   - Bleu nuit profond pour les zones sombres
 *   - Jaune ocre/doré pour les CTA (plat, pas de dégradé)
 *   - Bleu poudré pour les accents typographiques
 *   - Cormorant Garamond (serif) pour les titres éditoriaux
 *   - Raleway (sans-serif) pour le corps de texte
 *
 * Agence Point Com — 2025
 */

/* ============================================================
   VARIABLES
   ============================================================ */
:root {
    --cel-navy:       #1a2332;  /* Bleu nuit principal (header, sections sombres) */
    --cel-navy-deep:  #0f1a2a;  /* Bleu nuit plus profond */
    --cel-navy-soft:  #2a3447;  /* Bleu nuit légèrement éclairci */
    --cel-ocre:       #e7af19;  /* Jaune doré (CTA) */
    --cel-ocre-hover: #c99710;  /* Jaune doré survolé */
    --cel-blue-soft:  #a8c5d6;  /* Bleu poudré (accents serif) */
    --cel-blue-mid:   #7ba8c4;  /* Bleu medium */
    --cel-text:       #2c3340;  /* Texte principal */
    --cel-text-muted: #6b7585;  /* Texte secondaire */
    --cel-bg-light:   #f4f5f7;  /* Gris très clair */
    --cel-bg-soft:    #fafbfc;  /* Off-white */
    --cel-border:     #e3e7ed;  /* Bordure neutre */
    --cel-white:      #ffffff;
    --cel-max:        1280px;

    --cel-font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --cel-font-sans:  'Raleway', Arial, Helvetica, sans-serif;
}

/* ============================================================
   NEUTRALISATION HEADER/FOOTER THEME
   ============================================================ */
body.page-template-template-installateur-partenaire #page {
    background: none;
}
body.page-template-template-installateur-partenaire .top_header,
body.page-template-template-installateur-partenaire #masthead,
body.page-template-template-installateur-partenaire #colophon,
body.page-template-template-installateur-partenaire .fleche_scroll {
    display: none !important;
}
body.page-template-template-installateur-partenaire #content {
    padding: 0;
    margin: 0;
}
body.page-template-template-installateur-partenaire #primary,
body.page-template-template-installateur-partenaire #main {
    padding: 0;
    margin: 0;
    float: none;
    width: 100%;
    max-width: none;
}

/* ============================================================
   BASE
   ============================================================ */
.cel-page {
    font-family: var(--cel-font-sans);
    color: var(--cel-text);
    background: var(--cel-white);
    line-height: 1.6;
    font-weight: 400;
}

.cel-page * { box-sizing: border-box; }
.cel-page a { color: inherit; text-decoration: none; }

.cel-container {
    width: min(var(--cel-max), calc(100% - 40px));
    margin: 0 auto;
}

/* ============================================================
   TYPOGRAPHIE
   ============================================================ */
.cel-page h1,
.cel-page h2 {
    margin: 0;
    color: var(--cel-text);
    font-family: var(--cel-font-serif);
    font-weight: 400; /* le serif est élégant en weight normal */
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.cel-page h1 {
    font-size: clamp(40px, 5.2vw, 64px);
}

.cel-page h2 {
    font-size: clamp(32px, 4vw, 48px);
}

.cel-page h3 {
    margin: 0 0 12px;
    font-family: var(--cel-font-sans);
    font-weight: 700;
    font-size: 18px;
    color: var(--cel-text);
    letter-spacing: 0.01em;
}

/* Accent bleu poudré sur portions de titres */
.cel-page h1 .cel-accent,
.cel-page h2 .cel-accent {
    color: var(--cel-blue-soft);
    font-style: italic;
}

/* Titres sur fond sombre */
.cel-section--dark h1,
.cel-section--dark h2,
.cel-section--dark h3 {
    color: var(--cel-white);
}

.cel-section--dark h1 .cel-accent,
.cel-section--dark h2 .cel-accent {
    color: var(--cel-blue-soft);
}

.cel-page p {
    margin: 0 0 16px 0;
    font-size: 16px;
    line-height: 1.65;
    color: var(--cel-text);
}
.cel-container.cel-hero__grid p.cel-proofline {
    color: #FFF;
}

.cel-page p:last-child { margin-bottom: 0; }

.cel-section--dark p {
    color: rgba(255, 255, 255, 0.75);
}

.cel-lead {
    font-size: 17px;
    line-height: 1.7;
    color: var(--cel-text-muted);
    max-width: 640px;
    margin-top: 20px;
}

.cel-section--dark .cel-lead {
    color: rgba(255, 255, 255, 0.82);
}

/* ============================================================
   TOPBAR (bandeau strip dark tout en haut)
   ============================================================ */
.cel-topbar {
    background: var(--cel-navy-deep);
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    padding: 11px 0;
    letter-spacing: 0.02em;
}

.cel-topbar__inner {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    align-items: center;
}

.cel-topbar__inner span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cel-topbar__inner span::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cel-ocre);
    display: inline-block;
}

/* ============================================================
   HEADER STICKY (fond bleu nuit, logo + nav blanc)
   ============================================================ */
.cel-header {
    padding: 14px 0;
    background: var(--cel-white);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--cel-border);
    box-shadow: 0 1px 8px rgba(26, 35, 50, 0.06);
}

.cel-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.cel-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.cel-logo img {
    height: 52px;
    width: auto;
    display: block;
}

.cel-logo__text {
    color: var(--cel-navy);
    font-family: var(--cel-font-serif);
    font-size: 22px;
    letter-spacing: 0.02em;
}

.cel-nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.cel-nav a:not(.cel-btn) {
    color: var(--cel-text);
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: color .2s ease;
    position: relative;
}

.cel-nav a:not(.cel-btn):hover {
    color: var(--cel-ocre);
}

.cel-nav .cel-btn {
    margin-left: 8px;
}

/* ============================================================
   BOUTONS (rectangulaires, plats, sans dégradé)
   ============================================================ */
.cel-page a{
    color: #FFF;
}
.cel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 2px solid var(--cel-ocre);
    border-radius: 0; /* coins légèrement arrondis seulement */
    padding: 14px 28px;
/*    font-weight: 600;*/
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
    text-align: center;
    font-size: 16px;
    font-family: var(--cel-font-sans);
    text-decoration: none;
    line-height: 1.3;
    letter-spacing: 1px;
    color: #FFF;
}
.cel-btn:hover{
    background: #FFF;
    color: var(--cel-ocre);
    border: 2px solid var(--cel-ocre);
}
.cel-btn:hover a{
    color: var(--cel-ocre);
}

.cel-btn--primary {
    background: var(--cel-ocre);
    color: var(--cel-white);
    border: 2px solid var(--cel-ocre);
    font-family: "Libre Franklin", sans-serif;
}

.cel-btn--primary:hover {
    background: #FFF;
    color: var(--cel-ocre);
    border: 2px solid var(--cel-ocre);
}

.cel-btn--outline {
    background: transparent;
    color: var(--cel-white);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.cel-btn--outline:hover {
    background: var(--cel-white);
    color: var(--cel-navy);
    border-color: var(--cel-white);
}

/* Variante outline pour contexte clair (pas utilisée sur fond navy) */
.cel-btn--outline-dark {
    background: transparent;
    color: var(--cel-navy);
    border: 1.5px solid #c5cdd8;
}

.cel-btn--outline-dark:hover {
    background: var(--cel-navy);
    color: var(--cel-white);
    border-color: var(--cel-navy);
}

.cel-btn--large {
    padding: 18px 36px;
    font-size: 16px;
}

/* ============================================================
   EYEBROW / KICKER (petit label au-dessus des titres)
   ============================================================ */
.cel-kicker {
    display: inline-block;
    color: var(--cel-ocre);
    font-family: var(--cel-font-sans);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 18px;
}

.cel-section--dark .cel-kicker {
    color: var(--cel-ocre);
}

/* ============================================================
   HERO (fond bleu nuit + grand titre serif)
   ============================================================ */
.cel-hero {
    background: var(--cel-navy);
    color: var(--cel-white);
    padding: 90px 0 90px;
    position: relative;
    overflow: hidden;
}

/* Motif décoratif type cercle "ventilateur" en filigrane (rappel du site original) */
.cel-hero::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -200px;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    border: 1px solid #79a6c8;
    pointer-events: none;
}

.cel-hero::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -150px;
    transform: translateY(-50%);
    width: 480px;
    height: 480px;
    border-radius: 50%;
    border: 1px solid rgba(168, 197, 214, 0.04);
    pointer-events: none;
}

.cel-hero__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.cel-hero h1 {
    color: var(--cel-white);
    font-size: clamp(36px, 5.2vw, 60px);
    line-height: 1.12;
    margin-top: 0;
}

.cel-hero .cel-lead {
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
    max-width: 580px;
}

.cel-hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 36px;
    align-items: center;
}

.cel-proofline {
    margin-top: 44px;
    color: #FFF;
    font-size: 15px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}

.cel-proofline::before {
    content: "✓";
    color: var(--cel-ocre);
    font-weight: 700;
    font-size: 15px;
}

/* ============================================================
   HERO RIGHT — cartes bénéfices (sur fond navy)
   ============================================================ */
.cel-hero-cards {
    display: grid;
    gap: 16px;
}

.cel-offer-card {
    background: #79a6c8;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 26px;
}

.cel-offer-card h3 {
    color: var(--cel-white);
    font-size: 22px;
    margin-bottom: 8px;
}

.cel-offer-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    margin: 0;
    line-height: 1.55;
}

.cel-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.cel-mini-card {
    background: #79a6c8;
    border-left: 2px solid var(--cel-ocre);
    padding: 14px 16px;
}

.cel-mini-card strong {
    display: block;
    color: var(--cel-white);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 3px;
    font-family: var(--cel-font-sans);
}

.cel-mini-card span {
    color: rgba(255, 255, 255, 0.65);
    font-size: 15px;
}

/* ============================================================
   STRIP — 4 arguments sous le hero (fond navy comme sur le site)
   ============================================================ */
.cel-strip {
    background: var(--cel-navy);
    padding: 28px 0 56px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--cel-white);
}

.cel-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.cel-strip__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--cel-white);
}

.cel-strip__icon {
    color: var(--cel-blue-soft);
    font-size: 32px;
    margin-bottom: 12px;
    line-height: 1;
}

.cel-strip__label {
    font-size: 16px;
    font-weight: 500;
    color: var(--cel-white);
    letter-spacing: 0.02em;
}

.cel-strip__sublabel {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 4px;
}

/* ============================================================
   SECTIONS GENERIQUES
   ============================================================ */
.cel-section {
    padding: 96px 0;
}

.cel-section--white { background: var(--cel-white); }
.cel-section--soft  { background: var(--cel-bg-soft); }
.cel-section--light { background: var(--cel-bg-light); }
.cel-section--dark  { background: var(--cel-navy); color: var(--cel-white); }

.cel-section__head {
    max-width: 760px;
    margin: 0 auto 56px;
    text-align: center;
}

.cel-section__head--left {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}

.cel-section__head h2 {
    margin-top: 0;
}

.cel-section__head p {
    color: var(--cel-text-muted);
    font-size: 17px;
    margin-top: 18px;
    line-height: 1.65;
}

.cel-section--dark .cel-section__head p {
    color: rgba(255, 255, 255, 0.75);
}

/* ============================================================
   CARDS GRID (6 cards avantages — style sobre, blanc)
   ============================================================ */
.cel-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.cel-card {
    background: var(--cel-white);
    border: 1px solid var(--cel-border);
    padding: 36px 30px;
    transition: border-color .2s ease, transform .2s ease;
}

.cel-card:hover {
    border-color: var(--cel-ocre);
    transform: translateY(-2px);
}

.cel-card__icon {
    color: var(--cel-blue-mid);
    font-size: 36px;
    margin-bottom: 22px;
    line-height: 1;
}

.cel-card h3 {
    margin-bottom: 12px;
    font-size: 18px;
}

.cel-card p {
    color: var(--cel-text-muted);
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
}

/* Cards sur fond sombre (variante) */
.cel-section--dark .cel-card {
    background: #79a6c8;
    border-color: rgba(255, 255, 255, 0.12);
}

.cel-section--dark .cel-card:hover {
    border-color: var(--cel-ocre);
}

.cel-section--dark .cel-card p {
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================================
   SPLIT (2 colonnes texte + visuel/liste)
   ============================================================ */
.cel-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.cel-split--left-narrow {
    grid-template-columns: 0.9fr 1.1fr;
}

/* ============================================================
   LISTES CHECK
   ============================================================ */
.cel-list {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
}

.cel-list li {
    position: relative;
    padding-left: 30px;
    color: var(--cel-text);
    font-size: 15px;
    line-height: 1.55;
}

.cel-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 16px;
    height: 16px;
    background: var(--cel-ocre);
    /* check via mask */
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.17l-3.88-3.88a1 1 0 1 0-1.41 1.41l4.59 4.59a1 1 0 0 0 1.41 0l11-11a1 1 0 0 0-1.41-1.41z'/></svg>") no-repeat center / contain;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.17l-3.88-3.88a1 1 0 1 0-1.41 1.41l4.59 4.59a1 1 0 0 0 1.41 0l11-11a1 1 0 0 0-1.41-1.41z'/></svg>") no-repeat center / contain;
}

.cel-section--dark .cel-list li {
    color: rgba(255, 255, 255, 0.82);
}

/* ============================================================
   FEATURE BLOCKS (section accompagnement)
   ============================================================ */
.cel-feature-box {
    background: var(--cel-white);
    border: 1px solid var(--cel-border);
    padding: 32px 30px;
}

.cel-section--dark .cel-feature-box {
    background: #79a6c8;
    border-color: rgba(255, 255, 255, 0.12);
}

.cel-feature-box + .cel-feature-box {
    margin-top: 16px;
}

.cel-feature-box h3 {
    margin-bottom: 8px;
    font-size: 18px;
}

/* ============================================================
   ÉTAPES NUMÉROTÉES
   ============================================================ */
.cel-steps {
    counter-reset: step;
    display: grid;
    gap: 20px;
}

.cel-step {
    counter-increment: step;
    background: var(--cel-white);
    border: 1px solid var(--cel-border);
    padding: 28px 30px 28px 90px;
    position: relative;
    transition: border-color .2s ease;
}

.cel-step:hover {
    border-color: var(--cel-ocre);
}

.cel-step::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    left: 28px;
    top: 28px;
    color: var(--cel-ocre);
    font-family: var(--cel-font-serif);
    font-size: 36px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.02em;
}

.cel-step h3 {
    margin-bottom: 8px;
    font-size: 18px;
}

.cel-step p {
    color: var(--cel-text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
   ZONE FORMULAIRE (fond bleu nuit profond)
   ============================================================ */
.cel-form-zone {
    background: var(--cel-navy-deep);
    padding: 96px 0;
    position: relative;
    overflow: hidden;
}

.cel-form-zone::before {
    content: "";
    position: absolute;
    top: 50%;
    right: -200px;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 1px solid #79a6c8;
    pointer-events: none;
}

.cel-form-panel {
    background: var(--cel-white);
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    overflow: hidden;
	max-width: 100%;
    position: relative;
    z-index: 2;
}

/* Colonne intro */
.cel-form-intro {
    padding: 56px 48px;
    background: var(--cel-navy);
    color: var(--cel-white);
}

.cel-form-intro h2 {
    color: var(--cel-white);
    margin-top: 0;
    margin-bottom: 18px;
    font-size: clamp(24px, 2.6vw, 34px);
}

.cel-form-intro > p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 20px;
}

.cel-form-intro .cel-list li {
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
}

/* Colonne formulaire */
.cel-form {
    padding: 56px 48px;
    display: grid;
    gap: 20px;
    align-content: start;
}

.cel-form .wpcf7-form {
    display: grid;
    gap: 18px;
}

.cel-field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.cel-field {
    display: flex;
    flex-direction: column;
}
/* Fix CF7 : le wrapper span autour de l'input doit prendre toute la largeur,
   sinon l'input hérite de sa largeur "size" intrinsèque (~320px) et déborde */
.cel-form .wpcf7-form-control-wrap,
.cel-form span.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    min-width: 0;
}

/* Empêche les enfants flex/grid de dépasser leur container */
.cel-field,
.cel-field-grid > * {
    min-width: 0;
}
.cel-field label {
    display: block;
    font-weight: 600;
    color: var(--cel-text);
    margin-bottom: 8px;
    font-size: 15px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-family: var(--cel-font-sans);
}

.cel-field input[type="text"],
.cel-field input[type="email"],
.cel-field input[type="tel"],
.cel-field select,
.cel-field textarea {
    width: 100%;
    max-width: 100%;          
    box-sizing: border-box;   
    border: 1px solid var(--cel-border);
    background: var(--cel-white);
    border-radius: 0;
    padding: 14px 16px;
    font-family: var(--cel-font-sans);
    color: var(--cel-text);
    outline: none;
    transition: border-color .2s ease;
    font-size: 15px;
}

.cel-field input:focus,
.cel-field select:focus,
.cel-field textarea:focus {
    border-color: var(--cel-ocre);
}

.cel-field textarea {
    min-height: 110px;
    resize: vertical;
}

.cel-form-note {
    color: var(--cel-text-muted);
    font-size: 15px;
    margin: 0;
    line-height: 1.55;
}

/* CF7 submit button */
.cel-form .wpcf7-form input[type="submit"],
.cel-form button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 4px;
    padding: 16px 32px;
    font-weight: 600;
    cursor: pointer;
    background: var(--cel-ocre);
    color: var(--cel-white);
    font-family: var(--cel-font-sans);
    font-size: 16px;
    width: 100%;
    transition: background .2s ease;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.cel-form .wpcf7-form input[type="submit"]:hover,
.cel-form button[type="submit"]:hover {
    background: var(--cel-ocre-hover);
}

/* CF7 messages */
.cel-form .wpcf7-not-valid-tip {
    color: #c0392b;
    font-size: 16px;
    margin-top: 6px;
}

.cel-form .wpcf7-response-output {
    border-radius: 0 !important;
    padding: 14px 18px !important;
    font-size: 16px !important;
    margin: 0 !important;
    font-family: var(--cel-font-sans) !important;
}

.cel-form .wpcf7-mail-sent-ok {
    background: #f0f9f4 !important;
    border-color: #34c77b !important;
    color: #1a6644 !important;
}

.cel-form .wpcf7-validation-errors {
    background: #fdf2f2 !important;
    border-color: #c0392b !important;
    color: #c0392b !important;
}

/* ============================================================
   FAQ
   ============================================================ */
.cel-faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.cel-faq {
    background: var(--cel-white);
    border-left: 3px solid var(--cel-ocre);
    border-top: 1px solid var(--cel-border);
    border-right: 1px solid var(--cel-border);
    border-bottom: 1px solid var(--cel-border);
    padding: 28px 30px;
}

.cel-faq h3 {
    margin-bottom: 12px;
    font-size: 17px;
}

.cel-faq p {
    color: var(--cel-text-muted);
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.cel-final-cta {
    background: var(--cel-navy);
    color: var(--cel-white);
    padding: 80px 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cel-final-cta::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    border: 1px solid rgba(168, 197, 214, 0.07);
    pointer-events: none;
}

.cel-final-cta::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    border-radius: 50%;
    border: 1px solid rgba(168, 197, 214, 0.05);
    pointer-events: none;
}

.cel-final-cta > * { position: relative; z-index: 2; }

.cel-final-cta .cel-kicker {
    color: var(--cel-ocre);
}

.cel-final-cta h2 {
    color: var(--cel-white);
    margin-top: 0;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.cel-final-cta > p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 17px;
    max-width: 640px;
    margin: 20px auto 32px;
    line-height: 1.65;
}

/* ============================================================
   FOOTER LANDING (sobre)
   ============================================================ */
.cel-landing-footer {
    background: var(--cel-navy-deep);
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
    padding: 28px 0;
    font-size: 15px;
}

.cel-landing-footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color .2s ease;
}

.cel-landing-footer a:hover {
    color: var(--cel-ocre);
}

.cel-landing-footer .cel-sep {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.25);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .cel-nav {
        gap: 24px;
    }
    .cel-nav a:not(.cel-btn) {
        font-size: 14px;
    }
}

@media (max-width: 960px) {
    .cel-hero__grid,
    .cel-split,
    .cel-split--left-narrow,
    .cel-form-panel {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cel-card-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cel-strip__grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .cel-nav {
        display: none;
    }

    .cel-hero {
        padding: 60px 0 48px;
    }

    .cel-section {
        padding: 64px 0;
    }

    .cel-form-intro,
    .cel-form {
        padding: 28px 20px;
    }

    .cel-form-zone {
        padding: 64px 0;
    }

    .cel-final-cta {
        padding: 60px 32px;
    }
	.cel-field input[type="text"],
    .cel-field input[type="email"],
    .cel-field input[type="tel"],
    .cel-field select,
    .cel-field textarea {
        padding: 12px 14px;
        font-size: 16px;       /* 16px évite le zoom auto iOS sur focus */
    }
}

@media (max-width: 640px) {
    .cel-topbar__inner {
        gap: 14px;
        font-size: 14px;
        padding: 0 10px;
    }

    .cel-hero h1 {
        font-size: 34px;
    }

    .cel-card-grid,
    .cel-mini-grid,
    .cel-strip__grid,
    .cel-field-grid,
    .cel-faq-grid {
        grid-template-columns: 1fr;
    }

    .cel-section {
        padding: 52px 0;
    }

    .cel-form-intro,
    .cel-form {
        padding: 32px 24px;
    }

    .cel-step {
        padding: 24px 22px 24px 22px;
        padding-top: 68px;
    }

    .cel-step::before {
        top: 22px;
        left: 22px;
        font-size: 32px;
    }

    .cel-final-cta {
        padding: 48px 24px;
    }

    .cel-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cel-hero__actions .cel-btn {
        width: 100%;
    }

    .cel-logo img {
        height: 44px;
    }
}

/* ============================================================
   SMOOTH SCROLL — natif CSS
   ============================================================ */
.cel-page,
.cel-page html {
    scroll-behavior: smooth;
}

/* Offset pour le header sticky sur les ancres */
.cel-page section[id],
.cel-page div[id="formulaire"] {
    scroll-margin-top: 82px;
}

/* ============================================================
   CF7 — Affichage étoile rouge à la place de [required]
   ============================================================ */

/* Cacher le texte "[required]" généré par CF7 dans les labels */
.cel-form .wpcf7-form label .wpcf7-list-item-label::after,
.cel-form span.required {
    display: none;
}

/* Étoile rouge sur les champs requis — via le label */
.cel-form .wpcf7-form .cel-field label::after {
    content: " *";
    color: #c0392b;
    font-weight: 700;
    font-size: 14px;
}

/* Ne pas mettre d'étoile sur les champs optionnels
   (ceux dont le label ne suit pas un input required) */
.cel-form .wpcf7-form .cel-field:has(input:not([required])) label::after,
.cel-form .wpcf7-form .cel-field:has(select:not([required])) label::after,
.cel-form .wpcf7-form .cel-field:has(textarea:not([required])) label::after {
    display: none;
}

/* Supprimer le texte "[required]" qui peut apparaître dans le label CF7 */
.cel-form .wpcf7-form label {
    /* Le texte [required] est dans le label — on le masque via clip */
}

/* Fallback compatible tous navigateurs :
   on cible les spans .wpcf7-required générés par CF7 */
.cel-form .wpcf7-form abbr[title="required"] {
    display: none !important;
}

/* CF7 génère parfois "(required)" en texte : on le cache */
.cel-form .wpcf7-form .wpcf7-validates-as-required ~ .wpcf7-not-valid-tip {
    /* déjà géré */
}

/* ============================================================
   CF7 — Étoile rouge sur les vrais champs requis
   Méthode : on surcharge directement les labels des champs
   qui ont la classe wpcf7-validates-as-required
   ============================================================ */
.cel-form .wpcf7-form .cel-field:has(.wpcf7-validates-as-required) > label::after {
    content: " *";
    color: #c0392b;
    font-weight: 700;
}

.cel-form .wpcf7-form .cel-field:not(:has(.wpcf7-validates-as-required)) > label::after {
    content: "";
}

/* Style du champ en erreur */
.cel-form .wpcf7-form .wpcf7-not-valid {
    border-color: #c0392b !important;
}

/* Surcharge topbar/style-css-ajout : ocre mis à jour */

/* ============================================================
   FIX DÉBORDEMENT FORMULAIRE MOBILE
   ============================================================ */

/* Empêche tout débordement horizontal au niveau de la page */
.cel-page {
    overflow-x: hidden;
}

/* Empêche les paragraphes décalés (margin-left:16px) de déborder dans le form */
.cel-form p,
.cel-form-intro p,
.cel-form .cel-form-note {
    margin-left: 0;
}

/* Sécurité : le panneau, ses colonnes et leurs enfants ne dépassent jamais */
.cel-form-zone,
.cel-form-zone .cel-container,
.cel-form-panel,
.cel-form-intro,
.cel-form,
.cel-form .wpcf7-form,
.cel-form .wpcf7,
.cel-field,
.cel-field-grid {
    min-width: 0;
    max-width: 100%;
}

/* Force tous les éléments CF7 wrappers à width:100% */
.cel-form .wpcf7,
.cel-form .wpcf7-form,
.cel-form .wpcf7-form-control-wrap,
.cel-form .wpcf7-form-control {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* Les labels prennent toute la largeur du parent (et pas plus) */
.cel-form label,
.cel-form .cel-field label {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Re-sécurise sur mobile : padding réduit + min-width 0 sur container */
@media (max-width: 640px) {
    .cel-form-zone .cel-container {
        width: 100%;
        padding: 0 16px;
    }

    .cel-form-panel {
        width: 100%;
        max-width: 100%;
    }

    .cel-form-intro,
    .cel-form {
        padding: 28px 20px;
        max-width: 100%;
        overflow: hidden;
    }
}