/*
Theme Name:   Starter AEB Child
Theme URI:    https://davlyrs.com
Description:  Thème enfant de Starter AEB - Chauffage Compare
Author:       DAVLYRS
Author URI:   https://davlyrs.com
Template:     starter_aeb
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  starter-aeb-child
*/

/* ============================================
   STYLES PERSONNALISÉS THÈME ENFANT
   ============================================ */

/* Les couleurs, typographie et styles de base sont gérés
   via l'interface d'administration du thème parent.

   Ce fichier ne contient que les styles spécifiques
   aux nouveaux composants du thème enfant.
*/
body{
    background: var(--tertiary);
} 

:root {
  --checklist1: url('/wp-content/themes/starter_aeb-child/assets/images/checklist-primary.svg');
  --checklist2: url('/wp-content/themes/starter_aeb-child/assets/images/checklist-secondary.svg');
}


.topbar-item {
    font-weight: 600;
}
.topbar-item a {
    margin-left: .25em;
}
/* ============================================
   COMPOSANTS CHAUFFAGE COMPARE
   ============================================ */

/* ============================================
   SECTION 3 PILIERS 
   ============================================ */
.section-piliers {
    padding: 70px 0;
}

.section-piliers .content-header-section {
    text-align: center;
    margin-bottom: 50px;
}

.section-piliers .section-subtitle {
    font-size: 18px;
    color: var(--black);
    opacity: 0.8;
    margin-top: 15px;
}

.section-piliers .piliers-wrapper {
    display: flex;
    gap: 30px;
}

.section-piliers .pilier-item {
    text-align: center;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    height: 100%;
}

.section-piliers .pilier-icon img,
.section-piliers .pilier-emoji {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.section-piliers .pilier-emoji {
    font-size: 48px;
    line-height: 1;
}

.section-piliers .pilier-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
}

.section-piliers .pilier-description {
    font-size: 16px;
    line-height: 1.5;
    color: var(--black);
}

/* ============================================
   SECTION PROCESS (COMMENT ÇA MARCHE)
   ============================================ */
.section-process {
    padding: 70px 0;
}

.section-process .content-header-section {
    text-align: center;
    margin-bottom: 50px;
}

.section-process .section-subtitle {
    font-size: 18px;
    color: var(--black);
    opacity: 0.8;
    margin-top: 15px;
}

.section-process .process-steps {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.section-process .process-item {
    text-align: center;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    height: 100%;
    position: relative;
}

.section-process .step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.section-process .process-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.section-process .process-emoji {
    font-size: 40px;
    line-height: 1;
}

.section-process .process-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--black);
}

.section-process .process-description {
    font-size: 16px;
    line-height: 1.5;
    color: var(--black);
}

.section-process .process-cta {
    text-align: center;
    margin-top: 30px;
}

/* ============================================
   SECTION SERVICES
   ============================================ */
.section-services {
    padding: 70px 0;
}

.section-services .content-header-section {
    text-align: center;
    margin-bottom: 50px;
}

.section-services .service-card {
    position: relative;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    text-align: center;
    height: 100%;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-services .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 4px 30px 0px rgba(0, 0, 0, 0.12);
}

.section-services .service-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--tertiary);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 700;
}

.section-services .service-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.section-services .service-emoji {
    font-size: 48px;
    line-height: 1;
}

.section-services .service-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.section-services .service-description {
    font-size: 15px;
    line-height: 1.5;
    color: var(--black);
    flex: 1;
}

.section-services .service-cta {
    margin-top: auto;
}

.section-services .services-cta-section {
    text-align: center;
    margin-top: 50px;
}

/* ============================================
   SECTION ZONE D'INTERVENTION
   ============================================ */
.zone-intervention {
    padding: 70px 0;
    background: var(--white);
}

/* Header de section */
.zone-intervention h4 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 25px;
    margin-top: 0;
}

/* Container de la carte (si présent) */
.zone-intervention .map-container {
    margin: 40px 0;
}

.zone-intervention .map-wrapper iframe {
    width: 100%;
    height: 450px;
    border: none;
    display: block;
}

.zone-intervention .carte-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: 0px 4px 25px 0px rgba(0, 0, 0, 0.08);
}

/* Liste des communes - Style texte amélioré */
.zone-intervention .communes-list {
    background: var(--tertiary);
    padding: 35px 40px;
    border-radius: var(--radius);
    margin-top: 0;
}

.zone-intervention .communes-text {
    margin: 20px 0 0 0;
}

/* Style du texte avec bullets */
.zone-intervention .communes-text p {
    font-size: 16px;
    line-height: 2;
    color: var(--black);
    margin: 0;
    letter-spacing: 0.3px;
}

/* Texte final (em) */
.zone-intervention .communes-list > p {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 15px;
    line-height: 1.6;
    color: var(--grey-dark);
}

.zone-intervention .communes-list > p:first-of-type {
    border-top: none;
    padding-top: 0;
}

.zone-intervention .communes-list > p em {
    font-style: italic;
}

/* Améliorer les espacements des rows */
.zone-intervention .row + .row {
    margin-top: 0;
}

.zone-intervention .row:first-child {
    margin-bottom: 40px;
}

/* Ancienne structure (legacy support) */
.section-zone-intervention {
    padding: 70px 0;
}

.section-zone-intervention .content-header-section {
    text-align: center;
    margin-bottom: 50px;
}

.section-zone-intervention .zone-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.section-zone-intervention .zone-carte {
    position: sticky;
    top: 100px;
}

.section-zone-intervention .carte-iframe-wrapper {
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.1);
}

.section-zone-intervention .carte-iframe-wrapper iframe {
    width: 100%;
    height: 400px;
    border: none;
}

.section-zone-intervention .carte-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.1);
}

.section-zone-intervention .zone-villes {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.section-zone-intervention .villes-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.section-zone-intervention .villes-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0;
}

.section-zone-intervention .villes-list li {
    padding: 10px 15px;
    background: var(--tertiary);
    border-radius: var(--radius);
    font-size: 15px;
    color: var(--black);
    transition: background 0.3s ease;
}

.section-zone-intervention .villes-list li:hover {
    background: var(--primary);
    color: var(--white);
}

.section-zone-intervention .zone-texte-final {
    font-size: 15px;
    line-height: 1.6;
    color: var(--black);
    font-style: italic;
}

.section-zone-intervention .zone-cta {
    margin-top: 10px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media screen and (max-width: 1023px) {
    .section-piliers,
    .section-process,
    .section-services,
    .section-zone-intervention,
    .zone-intervention {
        padding: 50px 0;
    }

    .section-piliers .piliers-wrapper,
    .section-process .process-steps {
        flex-wrap: wrap;
    }

    .section-piliers .bloc-3,
    .section-process .bloc-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .zone-intervention h4 {
        font-size: 22px;
    }

    .zone-intervention .communes-list {
        padding: 30px 35px;
    }
}

/* Mobile */
@media screen and (max-width: 800px) {
    .section-piliers,
    .section-process,
    .section-services,
    .section-zone-intervention,
    .zone-intervention {
        padding: 40px 0;
    }

    .section-zone-intervention .zone-content {
        flex-direction: column;
        gap: 30px;
    }

    .section-zone-intervention .zone-carte {
        position: static;
        width: 100%;
    }

    .section-zone-intervention .villes-list {
        grid-template-columns: 1fr;
    }

    .section-services .bloc-4,
    .section-services .bloc-3 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .zone-intervention h4 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .zone-intervention .communes-list {
        padding: 25px 20px;
    }

    .zone-intervention .communes-text p {
        font-size: 15px;
        line-height: 1.9;
    }

    .zone-intervention .map-wrapper iframe {
        height: 350px;
    }

    .zone-intervention .row:first-child {
        margin-bottom: 30px;
    }
}


.bloc-hero-text .surtitre {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
}
a#header-cta-1 {
    margin-left: 1em;
    color: #fff;
}
.btn:before, .btn-sec:before {
    z-index: -1;
}
h1 {
    color: var(--secondary);
}
h3 {
    color: var(--secondary);
}
ul.checklist li {
    position: relative;
    padding-left: 30px;
}
ul.checklist li:after {
    content: var(--checklist1);
    position: absolute;
    left: 0;
    top: 0;
}
.bloc-hero-text{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.section-hero img {
    object-fit: cover;
    max-height: 700px;
    min-height: 370px;
    border-radius: 14px;
    box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.07);
}
.cta-buttons{
    display: flex;
    column-gap: 15px;
}
.reassurance-hero{
    display: flex;
    row-gap: 15px;
    column-gap: 20px;
    justify-content: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
}


/* SECTION AVANTAGES */
#avantages-home .bloc-1 {
    text-align: center;
    margin-bottom: 30px;
}
#avantages-home .bloc-1 p, .section-header .section-description{
    margin: 15px auto 0;
    font-size: 18px;
    max-width: 800px;
}
.avantage-icon img {
    margin: auto;
}
.avantage-card {
    display: flex;
    padding: 24px 28px;
    flex-direction: column;
    gap: 16px;
    margin: auto;
    border-radius: 6px;
    background: var(--white);
    box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.07);
}

/* SECTION COMPARONS */
.produits-services .bloc-infos-complementaires .bloc-info-custom{
    gap: 30px;
    align-items: center;
    padding: 0;
}
.produits-services .bloc-infos-complementaires .bloc-info-custom ul{
    background: #F9F4EA;
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.07);
    width: 100%;
    justify-content: space-around;
    gap: 30px;
}
.produits-services .bloc-infos-complementaires .bloc-info-custom ul.checklist li {
    position: inherit;
    padding-left: 0;
}
.produits-services .bloc-infos-complementaires .bloc-info-custom ul.checklist li strong{
    position: relative;
    padding-left: 26px;
}
.produits-services .bloc-infos-complementaires .bloc-info-custom ul.checklist li strong:before {
    content: var(--checklist1);
    position: absolute; 
    left: 0;
    top: 0;
} 

.cta-center{
    margin: 1em auto 0;
}

/* FOOTER */
footer a{
    text-decoration: none;
}
.footer-logo a img{
    max-width: 230px;
    margin-bottom: 10px;
}
.footer-zone-content{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ============================================
   SECTION PROCESS/TIMELINE (inspirée de B2B)
   ============================================ */
.process-section {
    background: var(--tertiary);
}

.process-section__header {
    text-align: center;
    margin-bottom: 50px;
}

.process-section__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.process-section__intro {
    font-size: 18px;
    color: var(--black);
    opacity: 0.8;
    max-width: 700px;
    margin: 0 auto;
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.process-step {
    display: flex;
    gap: 25px;
    padding: 30px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0px 2px 15px 0px rgba(0, 0, 0, 0.05);
    align-items: flex-start;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 34px;
    top: 100%;
    width: 2px;
    height: 25px;
    background: var(--primary);
    opacity: 0.3;
}

.process-step__number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
}

.process-step__content {
    flex: 1;
    padding-top: 5px;
}

.process-step__title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.process-step__description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--black);
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .process-section__title {
        font-size: 26px;
    }

    .process-step {
        padding: 25px 20px;
    }

    .process-step:not(:last-child)::after {
        left: 29px;
    }

    .process-step__number {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}



#avantages-usp .bloc-1 h2, #avantages-usp .bloc-1 p{
	text-align: center;
	max-width: 860px;
	margin: auto;
}
#avantages-usp .bloc-1 p{
	margin:0.5em auto 2em;
    font-size: 18px;
    max-width: 800px;	
}

body #nos-formules.fond-secondary .bloc-produit, body #nos-formules.fond-secondary .bloc-produit *,  body #nos-formules.fond-secondary .bloc-produit p,  body #nos-formules.fond-secondary .bloc-info-custom li,  body #nos-formules.fond-secondary .bloc-info-custom strong{
    color: var(--black);
}

body #nos-formules.fond-secondary .bloc-produit h3 {
    color: var(--secondary);
}

body #nos-formules.fond-secondary .bloc-info-custom {
    background: transparent;
}

#timeline-processus .cta-center a.btn.btn-primary {
    margin: 1em auto 0;
}


#timeline-processus .process-step__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
    margin: 0 0 10px 0;
}
/*
#timeline-processus .process-step:not(:last-child)::after {
    background: var(--secondary);
}
*/

.site-footer .row {
    align-items: center;
}


section.section-services-cards {
    background: #f4ead7;
}
section.section-tarifs {
    background: #fff;
}


/* PAGE SERVVICES */
.row.service-card::after {
    display: none;
}


/* LES PAGES INTERNES _ FIL D'ARIANE*/
.section-hero-modern, .section-hero-about{
	padding-top:10px;
	padding-bottom: 50px;
}
.section-hero-modern .ariane, .section-hero-about .ariane{
    padding-bottom: 50px;
}
.section-hero-modern .ariane .breadcrumb_last, .section-hero-about .ariane .breadcrumb_last{
    font-weight:600;
}
.site-footer .contact-icon {
    color:  var(--primary);
}