/*
Theme Name: Phénix - GeneratePress Child
Theme URI: https://www.demolitions-phenix.fr/
Description: Thème enfant GeneratePress pour Démolitions Phénix.
Author: OpenAI
Template: generatepress
Version: 1.0.0
Text Domain: phenix
*/

:root {
    --phenix-red: #d71920;
    --phenix-dark: #151515;
    --phenix-light: #f5f5f5;
    --phenix-text: #252525;
}

body {
    color: var(--phenix-text);
}

a {
    color: var(--phenix-red);
}

a:hover,
a:focus {
    color: #a80f15;
}

/* Boutons */
.wp-block-button__link,
.button,
button,
input[type="submit"] {
    background: var(--phenix-red);
    color: #fff;
    border-radius: 2px;
    border: 0;
    font-weight: 700;
    text-transform: uppercase;
    padding: 12px 22px;
}

.wp-block-button__link:hover,
.button:hover,
button:hover,
input[type="submit"]:hover {
    background: var(--phenix-dark);
    color: #fff;
}

/* Sections */
.phenix-section {
    padding: 70px 0;
}

.phenix-dark {
    background: var(--phenix-dark);
    color: #fff;
}

.phenix-light {
    background: var(--phenix-light);
}

/* Cartes */
.phenix-card {
    background: #fff;
    padding: 28px;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,.08);
}

/* Titres */
.phenix-kicker {
    color: var(--phenix-red);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 14px;
}

.phenix-title {
    margin-top: 8px;
    margin-bottom: 20px;
}

/* Mobile */
@media (max-width: 768px) {
    .phenix-section {
        padding: 45px 0;
    }
}

/* HERO PHOENIX */
.phx-hero {
    min-height: 650px;
    display: flex;
    align-items: center;
    position: relative;
    background:
        linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.45) 55%, rgba(0,0,0,.15) 100%),
        url('https://phoenixdemolitions.com/wp-content/uploads/2026/09/demolitions-hero2.png') center/cover no-repeat;
}

.phx-hero-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 80px 30px;
    color: #fff;
}

.phx-kicker {
    display: block;
    color: #d71920;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.phx-hero h1 {
    color: #fff;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.05;
    margin: 0 0 25px;
    font-weight: 800;
}

.phx-hero p {
    max-width: 650px;
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 35px;
}

.phx-btn {
    display: inline-block;
    background: #d71920;
    color: #fff !important;
    padding: 15px 28px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: .2s ease;
}

.phx-btn:hover {
    background: #fff;
    color: #151515 !important;
}

@media (max-width: 768px) {
    .phx-hero {
        min-height: 580px;
    }

    .phx-hero-content {
        padding: 60px 20px;
    }

    .phx-hero h1 {
        font-size: 42px;
    }

    .phx-hero p {
        font-size: 17px;
    }
}

/* INTRO */
.phx-intro {
    padding: 90px 30px;
    background: #fff;
}

.phx-intro-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.phx-intro h2 {
    font-size: 42px;
    line-height: 1.15;
    margin: 10px 0 25px;
    color: #151515;
}

.phx-intro p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.phx-intro-image img {
    width: 100%;
    height: 430px;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .phx-intro {
        padding: 60px 20px;
    }

    .phx-intro-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .phx-intro h2 {
        font-size: 34px;
    }

    .phx-intro-image img {
        height: 300px;
    }
}

/* EXPERTISES */
.phx-expertises {
    padding: 90px 30px;
    background: #f5f5f5;
}

.phx-expertises-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.phx-section-heading {
    max-width: 700px;
    margin-bottom: 45px;
}

.phx-section-heading h2 {
    font-size: 42px;
    line-height: 1.15;
    margin: 10px 0 15px;
    color: #151515;
}

.phx-section-heading p {
    font-size: 18px;
    line-height: 1.6;
}

.phx-expertises-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.phx-card {
    background: #fff;
    padding: 32px;
    min-height: 190px;
    border-top: 4px solid #d71920;
    box-shadow: 0 5px 20px rgba(0,0,0,.06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.phx-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
}

.phx-card h3 {
    font-size: 22px;
    margin: 0 0 15px;
    color: #151515;
}

.phx-card p {
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .phx-expertises-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .phx-expertises {
        padding: 60px 20px;
    }

    .phx-expertises-grid {
        grid-template-columns: 1fr;
    }
}
.phx-expertises {
    padding-bottom: 45px;
}

.phx-environnement {
    padding: 70px 30px;
}

/* ENVIRONNEMENT */
.phx-environnement {
    background: #151515;
    color: #fff;
}

.phx-environnement-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 80px;
    align-items: center;
}

.phx-environnement h2 {
    color: #fff;
    font-size: 42px;
    line-height: 1.15;
    margin: 10px 0 25px;
}

.phx-environnement p {
    color: #ddd;
    font-size: 17px;
    line-height: 1.7;
}

.phx-environnement-stat {
    border: 2px solid #d71920;
    padding: 45px 30px;
    text-align: center;
}

.phx-environnement-stat strong {
    display: block;
    color: #d71920;
    font-size: 76px;
    line-height: 1;
}

.phx-environnement-stat span {
    display: block;
    margin-top: 15px;
    font-size: 18px;
    line-height: 1.4;
    text-transform: uppercase;
    font-weight: 700;
}

@media (max-width: 768px) {
    .phx-environnement-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .phx-environnement h2 {
        font-size: 34px;
    }
}
.phx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

/* REALISATIONS */
.phx-realisations {
    padding: 90px 30px;
    background: #fff;
}

.phx-realisations-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.phx-realisations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.phx-realisation {
    background: #f5f5f5;
}

.phx-realisation-image {
    overflow: hidden;
}

.phx-realisation-image img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform .3s ease;
}

.phx-realisation:hover img {
    transform: scale(1.04);
}

.phx-realisation h3 {
    font-size: 21px;
    margin: 22px 25px 8px;
}

.phx-realisation p {
    margin: 0 25px 25px;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .phx-realisations-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .phx-realisations {
        padding: 60px 20px;
    }

    .phx-realisations-grid {
        grid-template-columns: 1fr;
    }
}
/* CTA FINAL */
.phx-cta {
    padding: 80px 30px;
    background: #d71920;
    color: #fff;
    text-align: center;
}

.phx-cta-inner {
    max-width: 800px;
    margin: 0 auto;
}

.phx-cta .phx-kicker {
    color: #fff;
}

.phx-cta h2 {
    color: #fff;
    font-size: 46px;
    margin: 12px 0 15px;
}

.phx-cta p {
    font-size: 19px;
    margin-bottom: 30px;
}

.phx-btn-white {
    background: #fff;
    color: #151515 !important;
}

.phx-btn-white:hover {
    background: #151515;
    color: #fff !important;
}

@media (max-width: 768px) {
    .phx-cta {
        padding: 60px 20px;
    }

    .phx-cta h2 {
        font-size: 36px;
    }
}

/* Réduction de l'espace sous les réalisations */
.phx-realisations {
    padding-bottom: 40px;
}

.phx-realisations-grid {
    margin-bottom: 0;
}
