/**
* Theme Name: Roofplan Child
* Description: This is a child theme of Roofplan, generated by Merlin WP.
* Author: <a href="https://themeforest.net/user/template_path">template_path</a>
* Template: roofplan
* Version: 3.0.22
*/

/* Police des titres : Barlow (doit rester tout en haut du fichier) */
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;800;900&display=swap');

/* =========================================================
   COULEUR DE BASE DU THÈME → orange marque
   Le thème définit --thm-base: #ed202b (rouge) dans style.css.
   On la remplace par l'orange #ED6C30 → tous les éléments qui
   utilisaient ce rouge (burger, puces, séparateurs, hovers…) passent en orange.
   ========================================================= */
:root{ --thm-base: #ED6C30 !important; }

/* ---- Formulaire de devis (hero) ---- */
.devis-form {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 30px;
    box-shadow: 0 18px 45px rgba(0,0,0,.12);
    max-width: 400px;
}

/* Titre du formulaire (à ajouter en haut du CF7 :
   <p class="devis-title">Je souhaite être contacté pour un devis</p>) */
.devis-form .devis-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1b241e;
    text-align: center;
    line-height: 1.2;
    margin: 0 0 6px;
}
.devis-form .devis-intro {
    font-size: .9rem;
    color: #7a857e;
    text-align: center;
    margin: 0 0 22px;
    line-height: 1.4;
}

/* Libellés */
.devis-form label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: #1b241e;
    margin-bottom: 0;
}

/* Espacement entre les champs */
.devis-form p {
    margin: 0 0 0 0 !important;
}
.devis-form p.devis-rgpd{
    margin: 14px 0 14px !important;
}

/* Champs de saisie — style pilule blanc (comme la maquette) */
.devis-form input[type="text"],
.devis-form input[type="tel"],
.devis-form input[type="email"],
.devis-form select {
    width: 100%;
    margin-top: 6px;
    padding: 13px 20px;
    border: 1px solid #e3e3e3;
    border-radius: 30px;
    font-size: .95rem;
    background: #fff;
    color: #1b241e;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.devis-form input::placeholder { color: #9aa29c; }

.devis-form input:focus,
.devis-form select:focus {
    outline: none;
    border-color: #ED6C30;                 /* orange marque */
    box-shadow: 0 0 0 3px rgba(237,108,48,.15);
    background: #fff;
}

/* Case RGPD */
.devis-form .devis-rgpd {
    font-size: .78rem;
    color: #7a857e;
    line-height: 1.4;
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin-top: 4px;
}
.devis-form .devis-rgpd .wpcf7-list-item { margin: 0; }

/* Bouton Envoyer — pilule orange */
.devis-form input[type="submit"] {
    width: 100%;
    padding: 14px 18px;
    border: none;
    border-radius: 30px;
    background: #ED6C30;                    /* orange marque */
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 6px;
    transition: background .15s ease, transform .05s ease;
}
.devis-form input[type="submit"]:hover { background: #d65f27; }
.devis-form input[type="submit"]:active { transform: translateY(1px); }

/* Messages de validation CF7 */
.devis-form .wpcf7-not-valid-tip { font-size: .78rem; }
.devis-form .wpcf7-response-output {
    border-radius: 8px;
    font-size: .85rem;
    margin: 8px 0 0;
}



/* ===== Hero « Form Slider » ===== */

/* Boutons côte à côte : nowrap = jamais de retour à la ligne */
.slider-style-five .content-box .btn-box{
    display: flex !important;
    flex-flow: row nowrap !important;
    gap: 14px;
    align-items: center;
    justify-content: flex-start;
}
.slider-style-five .content-box .btn-box .btn-one,
.slider-style-five .content-box .btn-box .btn-one.style1,
.slider-style-five .content-box .btn-box .btn-one.style2{
    display: inline-flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    float: none !important;
    white-space: nowrap !important;      /* le texte du bouton ne se coupe pas */
    padding-left: 28px !important;        /* boutons moins larges (80px → 56px) */
    padding-right: 28px !important;
}

/* Colonnes : on donne plus de place au texte/boutons (le formulaire fait 420px, ça suffit) */
@media (min-width: 992px){
    .slider-style-five .content-column{ flex: 0 0 54%; max-width: 54%; }
    .slider-style-five .inner-column {  flex: 0 0 46%; max-width: 46%; }
}

/* Formulaire : UNE seule carte (celle du thème .form-inner), centrée */
.slider-style-five .form-content{
    margin-left: 0 !important;          /* annule le décalage de 200px du thème */
}
.slider-style-five .form-inner{
    width: 100%;
    max-width: 500px;
    margin: 0 auto !important;
}
/* .devis-form ne crée plus de 2e cadre → elle se fond dans .form-inner */
.slider-style-five .form-inner .devis-form{
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    max-width: none !important;
    margin: 0 !important;
}

/* =========================================================
   HEADER COLLÉ AU SCROLL (sticky) — pleine largeur
   Le .container bridait la largeur → le menu passait sous le logo.
   ========================================================= */
.main-header .sticky-header .container{
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
}

/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 767px){
    /* Boutons du hero empilés (verticaux) sur mobile */
    .slider-style-five .content-box .btn-box{
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .slider-style-five .content-box .btn-box .btn-one{
        width: 100% !important;
        justify-content: center !important;
    }
}

/* Menu burger (mobile) : le carré rouge (.inner, fond var(--thm-base)) → orange marque */
.nav-outer .mobile-nav-toggler .inner{
    background: #ED6C30 !important;
}

/* ===== Nos tarifs : réduire les grands espaces (widget = padding 150px 0 50px) ===== */
.pricing-plan-area{
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}


/* =========================================================
   SECTION « À PROPOS » — Ciprès Service
   ========================================================= */

/* --- Sur-titre orange avec tiret --- */
.cipres-eyebrow .elementor-heading-title{
    color:#ed6c30;
    font-size:14px;
    font-weight:700;
    letter-spacing:.18em;
    text-transform:uppercase;
    display:flex;
    align-items:center;
    gap:14px;
}
.cipres-eyebrow .elementor-heading-title::before{
    content:"";
    width:40px;
    height:2px;
    background:#ed6c30;
}

/* --- Pastille « 15 ans » : rond orange centré (About Left · Style 2) --- */
.about-home-six .curve-text{ display:none !important; }   /* masque le rond jaune décoratif */

.about-home-six .image-box .text{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    width:190px !important;
    height:190px !important;
    min-width:190px !important;
    padding:0 !important;
    background:#ed6c30 !important;
    border:none !important;
    border-radius:50% !important;
    text-align:center !important;
    box-shadow:0 15px 35px rgba(237,108,48,.35);
    outline:2px dashed rgba(255,255,255,.85);
    outline-offset:-13px;
}
.about-home-six .image-box .text .icon-box{ display:none !important; }

.about-home-six .image-box .text h2,
.about-home-six .image-box .text h4{
    position:static !important;
    float:none !important;
    transform:none !important;
    top:auto !important; right:auto !important; bottom:auto !important; left:auto !important;
    width:100% !important;
    text-align:center !important;
    margin:0 auto !important;
    padding:0 !important;
    color:#fff !important;
}
.about-home-six .image-box .text h2{
    font-size:46px !important;
    line-height:1 !important;
    font-weight:700 !important;
}
.about-home-six .image-box .text h4{
    font-size:14px !important;
    font-weight:500 !important;
    margin-top:8px !important;
    line-height:1.2 !important;
    max-width:9ch;
}


/* ===== Nos Ciprès Services — flèche de lien sur chaque carte ===== */
.feature-home-four .feature-block-one .inner-box{
    padding-bottom: 0;               /* on annule l'ajustement précédent */
}
.feature-home-four .lower-content{
    position: relative;
    padding-bottom: 92px !important; /* ← c'est CE bloc qu'il faut étendre */
}
.feature-home-four .lower-content h4 a::after{
    content: "\2192";                /* → */
    position: absolute;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    z-index: 2;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #fde6da;
    color: #ed6c30;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    transition: background .2s, color .2s;
}
.feature-home-four .lower-content h4 a:hover::after{
    background: #ed6c30;
    color: #fff;
}

/* ===== Nos Ciprès Services — icônes en disque orange ===== */
.feature-home-four .icon-box{
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}
.feature-home-four .icon-box .icon{
    width: 96px !important;
    height: 96px !important;
    margin: 0 auto;
    border-radius: 50% !important;
    background: #ed6c30 !important;   /* le disque orange */
    display: flex !important;
    align-items: center;
    justify-content: center;
}
.feature-home-four .icon-box .icon i,
.feature-home-four .icon-box .icon i::before{
    color: #fff !important;           /* l'icône en blanc */
    font-size: 46px;
    line-height: 1;
}

/* ===== Cartes de même hauteur + flèche alignée + sans filigrane ===== */
.feature-home-four .feature-block-one{
    height: 100%;
    display: flex;
    flex-direction: column;
}
.feature-home-four .feature-block-one .inner-box{
    height: 100%;
    display: flex;
    flex-direction: column;
}
.feature-home-four .lower-content{
    flex: 1 1 auto;                 /* remplit la hauteur → flèches au même niveau */
}

/* Masquer le petit picto en filigrane (bas droite) */
.feature-home-four .light-icon{
    display: none !important;
}

/* ===== Notre méthode — retirer les flèches + centrer la 2e ligne ===== */

/* 1) masquer les flèches jaunes */
.working-process-home-eight .arrow{ display: none !important; }

/* 2) centrer les blocs → la ligne 04/05 se recentre */
.working-process-home-eight .row:has(> .working-block){
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 45px;
}

/* (section « Pourquoi choisir » refaite en widgets natifs Elementor — plus de CSS chooseus nécessaire) */

/* ===== Notre méthode — pictogramme blanc en filigrane discret (fond sombre) ===== */
.working-process-home-eight .pattern-layer{
    opacity: .07 !important;                    /* blanc rendu très discret → effet ton-sur-ton */
    background-repeat: no-repeat !important;
    background-position: left center !important; /* calé à gauche comme la maquette */
    background-size: auto 85% !important;        /* grand, sans remplir toute la largeur */
}

/* =========================================================
   TYPOGRAPHIE DES TITRES — échelle unifiée (comme la maquette)
   Police : les titres héritent de Montserrat (--thm-font-2), le corps de Poppins.
   On fige seulement taille / graisse / casse sur les titres de section du thème.
   ========================================================= */

/* Sur-titre orange (« nos valeurs », « témoignages », « à propos de… »…) */
.sec-title .sub-title p{
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
    letter-spacing: .06em !important;
}

/* Titre principal de section (« Pourquoi choisir… », « Nos derniers projets »…) */
.sec-title h2{
    font-size: 44px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    text-transform: none !important;
}

/* Police de TOUS les titres (thème + widgets Elementor natifs) = Barlow.
   Couvre aussi les sections refaites en Elementor (« Pourquoi choisir », « À propos »). */
h1, h2, h3, h4, h5, h6,
.elementor-widget-heading .elementor-heading-title,
.sec-title h2,
.sec-title .sub-title p{
    font-family: 'Barlow', sans-serif !important;
}

/* ---- Mobile (< 768px) : on réduit les gros titres ---- */
@media (max-width: 767px){
    .slider-style-five .content-box h2{      /* titre du hero */
        font-size: 36px !important;
        line-height: 44px !important;
    }
    .sec-title h2{                           /* titres de section */
        font-size: 30px !important;
        line-height: 1.25 !important;
    }
}