/*
Theme Name: C.S. Espaces Verts
Theme URI: https://www.sylvainceruleo.fr/
Author: Optisite
Author URI: https://optisite.org/
Description: Thème WordPress personnalisé pour C.S. Espaces Verts, paysagiste à Meyreuil.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: cs-espaces-verts
*/

/* =========================================================
   VARIABLES DU SITE
   ========================================================= */

:root {
    --cs-green-dark: #26382f;
    --cs-green: #3f5a49;
    --cs-green-light: #6f876f;

    --cs-beige: #f5f1e8;
    --cs-beige-dark: #e7dfd0;

    --cs-white: #ffffff;
    --cs-black: #1a1a1a;
    --cs-gray: #666666;

    --cs-container: 1200px;

    --cs-radius: 8px;

    --cs-transition: 0.3s ease;
}


/* =========================================================
   RESET DE BASE
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: var(--cs-white);
    color: var(--cs-black);
    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}


/* =========================================================
   CONTENEUR PRINCIPAL
   ========================================================= */

.cs-container {
    width: min(100% - 40px, var(--cs-container));
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   TYPOGRAPHIE
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    font-family: "Cormorant Garamond", serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--cs-green-dark);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.25rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}


/* =========================================================
   BOUTONS
   ========================================================= */

.cs-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 12px 24px;

    border: 1px solid transparent;
    border-radius: var(--cs-radius);

    background: var(--cs-green-dark);
    color: var(--cs-white);

    font-weight: 600;

    cursor: pointer;

    transition:
        background var(--cs-transition),
        color var(--cs-transition),
        transform var(--cs-transition);
}

.cs-button:hover {
    background: var(--cs-green);
    color: var(--cs-white);
    transform: translateY(-2px);
}


/* =========================================================
   ACCESSIBILITÉ
   ========================================================= */

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {

    .cs-container {
        width: min(100% - 30px, var(--cs-container));
    }

    body {
        font-size: 15px;
    }
}
/* =========================================================
   HEADER
   ========================================================= */

.cs-site-header {
    width: 100%;
    background: var(--cs-white);
}

.cs-header-inner {
    min-height: 90px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.cs-header-logo {
    flex-shrink: 0;
}

.cs-header-logo img {
    max-width: 220px;
    height: auto;
}

.cs-site-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--cs-green-dark);
}

.cs-main-navigation {
    flex: 1;
}

.cs-main-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.cs-main-menu a {
    color: var(--cs-green-dark);
    font-size: 0.95rem;
    font-weight: 500;

    transition: color var(--cs-transition);
}

.cs-main-menu a:hover {
    color: var(--cs-green-light);
}

.cs-header-action {
    flex-shrink: 0;
}

.cs-mobile-menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    padding: 8px;

    border: 0;
    background: transparent;

    cursor: pointer;
}

.cs-mobile-menu-toggle span {
    display: block;

    width: 100%;
    height: 2px;

    margin: 5px 0;

    background: var(--cs-green-dark);
}


/* =========================================================
   HEADER MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .cs-main-navigation,
    .cs-header-action {
        display: none;
    }

    .cs-mobile-menu-toggle {
        display: block;
    }

}
/* =========================================================
   FOOTER
   ========================================================= */

.cs-site-footer {
    margin-top: 80px;

    padding-top: 60px;
    padding-bottom: 25px;

    background: var(--cs-green-dark);
    color: var(--cs-white);
}

.cs-footer-inner {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 50px;

    padding-bottom: 50px;
}

.cs-footer-title {
    margin-bottom: 20px;

    color: var(--cs-white);

    font-size: 1.6rem;
}

.cs-footer-description {
    max-width: 400px;

    color: rgba(255, 255, 255, 0.8);
}

.cs-footer-column p {
    margin-top: 0;
    margin-bottom: 10px;

    color: rgba(255, 255, 255, 0.8);
}

.cs-footer-column a {
    color: var(--cs-white);

    transition:
        color var(--cs-transition);
}

.cs-footer-column a:hover {
    color: var(--cs-beige);
}


/* =========================================================
   MENU FOOTER
   ========================================================= */

.cs-footer-menu {
    display: flex;

    flex-direction: column;

    gap: 10px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.cs-footer-menu a {
    color: rgba(255, 255, 255, 0.8);
}

.cs-footer-menu a:hover {
    color: var(--cs-white);
}


/* =========================================================
   BAS DU FOOTER
   ========================================================= */

.cs-footer-bottom {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding-top: 25px;

    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cs-footer-bottom p {
    margin: 0;

    color: rgba(255, 255, 255, 0.7);

    font-size: 0.9rem;
}

.cs-footer-legal {
    display: flex;

    align-items: center;

    gap: 20px;
}

.cs-footer-legal a {
    color: rgba(255, 255, 255, 0.7);

    font-size: 0.9rem;
}

.cs-footer-legal a:hover {
    color: var(--cs-white);
}


/* =========================================================
   FOOTER MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .cs-footer-inner {
        grid-template-columns: 1fr;

        gap: 35px;

        padding-bottom: 35px;
    }

    .cs-footer-bottom {
        flex-direction: column;

        align-items: flex-start;

        gap: 15px;
    }

    .cs-footer-legal {
        flex-direction: column;

        align-items: flex-start;

        gap: 8px;
    }

}
/* =========================================================
   MENU MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .cs-header-inner {
        position: relative;
    }

    .cs-main-navigation {
        display: none;

        position: absolute;

        top: 100%;
        left: 0;

        width: 100%;

        padding: 20px;

        background: var(--cs-white);

        border-top: 1px solid var(--cs-beige-dark);

        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);

        z-index: 999;
    }


    /*
     * Cette classe est ajoutée par JavaScript
     * lorsque l'utilisateur clique sur le bouton.
     */

    .cs-main-navigation.is-open {
        display: block;
    }


    .cs-main-menu {
        flex-direction: column;

        align-items: flex-start;

        gap: 0;
    }


    .cs-main-menu li {
        width: 100%;
    }


    .cs-main-menu a {
        display: block;

        width: 100%;

        padding: 12px 0;

        border-bottom: 1px solid var(--cs-beige-dark);
    }


    /*
     * Animation du bouton hamburger
     */

    .cs-mobile-menu-toggle span {
        transition:
            transform var(--cs-transition),
            opacity var(--cs-transition);
    }


    .cs-mobile-menu-toggle.is-active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }


    .cs-mobile-menu-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }


    .cs-mobile-menu-toggle.is-active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

}
/* =========================================================
   CONTENU PRINCIPAL
   ========================================================= */

.cs-main-content {
    min-height: 60vh;

    padding-top: 60px;
    padding-bottom: 60px;
}


/* =========================================================
   CONTENU WORDPRESS
   ========================================================= */

.cs-content-entry {
    width: 100%;
}

.cs-entry-header {
    margin-bottom: 35px;
}

.cs-entry-title {
    margin-bottom: 0;
}

.cs-entry-content {
    width: 100%;
}


/* Paragraphes */

.cs-entry-content p {
    margin-top: 0;
    margin-bottom: 1.5em;
}


/* Titres */

.cs-entry-content h2 {
    margin-top: 50px;
    margin-bottom: 20px;
}

.cs-entry-content h3 {
    margin-top: 35px;
    margin-bottom: 15px;
}


/* Listes */

.cs-entry-content ul,
.cs-entry-content ol {
    margin-bottom: 25px;
    padding-left: 25px;
}


/* Liens */

.cs-entry-content a {
    color: var(--cs-green);

    text-decoration: underline;

    text-underline-offset: 3px;
}

.cs-entry-content a:hover {
    color: var(--cs-green-dark);
}


/* Images */

.cs-entry-content img {
    margin-top: 30px;
    margin-bottom: 30px;

    border-radius: var(--cs-radius);
}


/* =========================================================
   AUCUN CONTENU
   ========================================================= */

.cs-no-content {
    padding-top: 50px;
    padding-bottom: 50px;

    text-align: center;
}
/* =========================================================
   PAGE D'ACCUEIL
   ========================================================= */

.cs-home {
    width: 100%;
}


/* =========================================================
   HERO ACCUEIL
   ========================================================= */

.cs-home-hero {
    position: relative;

    overflow: hidden;

    padding-top: 80px;
    padding-bottom: 80px;

    background: var(--cs-beige);
}


.cs-home-hero-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(0, 0.9fr);

    align-items: center;

    gap: 60px;
}


.cs-home-hero-content {
    max-width: 680px;
}


.cs-eyebrow {
    margin-top: 0;
    margin-bottom: 15px;

    color: var(--cs-green);

    font-size: 0.9rem;
    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.12em;
}


.cs-home-hero-title {
    margin-bottom: 25px;
}


.cs-home-hero-text {
    max-width: 620px;

    margin-top: 0;
    margin-bottom: 30px;

    color: var(--cs-gray);

    font-size: 1.15rem;
}


.cs-home-hero-actions {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 15px;
}


/* Bouton secondaire */

.cs-button-secondary {
    border-color: var(--cs-green-dark);

    background: transparent;

    color: var(--cs-green-dark);
}


.cs-button-secondary:hover {
    background: var(--cs-green-dark);

    color: var(--cs-white);
}


/* Illustration Hero */

.cs-home-hero-visual {
    display: flex;

    align-items: center;
    justify-content: center;
}


.cs-home-hero-visual img {
    width: 100%;
    max-width: 560px;

    height: auto;
}


/* =========================================================
   SECTIONS ACCUEIL
   ========================================================= */

.cs-home-section {
    padding-top: 90px;
    padding-bottom: 90px;
}


/* Alternance légère des fonds */

.cs-home-services,
.cs-home-zones,
.cs-home-reviews,
.cs-home-final-cta {
    background: var(--cs-beige);
}


/* =========================================================
   RESPONSIVE ACCUEIL
   ========================================================= */

@media (max-width: 900px) {

    .cs-home-hero {
        padding-top: 60px;
        padding-bottom: 60px;
    }


    .cs-home-hero-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }


    .cs-home-hero-content {
        max-width: 100%;
    }


    .cs-home-hero-visual img {
        max-width: 480px;
    }


    .cs-home-section {
        padding-top: 70px;
        padding-bottom: 70px;
    }

}


@media (max-width: 600px) {

    .cs-home-hero {
        padding-top: 45px;
        padding-bottom: 45px;
    }


    .cs-home-hero-actions {
        flex-direction: column;

        align-items: stretch;
    }


    .cs-home-hero-actions .cs-button {
        width: 100%;
    }


    .cs-home-section {
        padding-top: 55px;
        padding-bottom: 55px;
    }

}
/* =========================================================
   ACCUEIL - PRÉSENTATION
   ========================================================= */

.cs-home-about {
    background: var(--cs-white);
}


.cs-about-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.1fr);

    align-items: center;

    gap: 70px;
}


/* =========================================================
   ILLUSTRATION
   ========================================================= */

.cs-about-visual {
    display: flex;

    align-items: center;
    justify-content: center;
}


.cs-about-visual img {
    width: 100%;
    max-width: 520px;

    height: auto;
}


/* =========================================================
   CONTENU
   ========================================================= */

.cs-about-content {
    max-width: 650px;
}


.cs-about-title {
    margin-bottom: 25px;
}


.cs-about-content p:not(.cs-eyebrow) {
    margin-top: 0;
    margin-bottom: 20px;

    color: var(--cs-gray);
}


.cs-about-content .cs-button {
    margin-top: 10px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .cs-about-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }


    .cs-about-visual {
        order: 2;
    }


    .cs-about-content {
        order: 1;

        max-width: 100%;
    }


    .cs-about-visual img {
        max-width: 480px;
    }

}
/* =========================================================
   ACCUEIL - EN-TÊTES DE SECTIONS
   ========================================================= */

.cs-section-header {
    max-width: 760px;

    margin-right: auto;
    margin-bottom: 50px;
    margin-left: auto;

    text-align: center;
}


.cs-section-header h2 {
    margin-bottom: 20px;
}


.cs-section-intro {
    margin: 0;

    color: var(--cs-gray);

    font-size: 1.05rem;
}


/* =========================================================
   ACCUEIL - SERVICES
   ========================================================= */

.cs-services-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 30px;
}


/* Carte */

.cs-service-card {
    display: flex;

    flex-direction: column;

    overflow: hidden;

    min-width: 0;

    background: var(--cs-white);

    border: 1px solid var(--cs-beige-dark);

    border-radius: var(--cs-radius);

    transition:
        transform var(--cs-transition),
        box-shadow var(--cs-transition);
}


.cs-service-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.08);
}


/* Illustration */

.cs-service-card-image {
    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 220px;

    padding: 25px;

    background: var(--cs-beige);
}


.cs-service-card-image img {
    width: 100%;
    max-width: 220px;

    height: 170px;

    object-fit: contain;
}


/* Contenu */

.cs-service-card-content {
    display: flex;

    flex: 1;

    flex-direction: column;

    padding: 30px;
}


.cs-service-card-content h3 {
    margin-bottom: 15px;

    font-size: 1.75rem;
}


.cs-service-card-content p {
    margin-top: 0;
    margin-bottom: 25px;

    color: var(--cs-gray);
}


/* Lien */

.cs-service-link {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-top: auto;

    color: var(--cs-green-dark);

    font-weight: 600;
}


.cs-service-link span {
    transition:
        transform var(--cs-transition);
}


.cs-service-link:hover span {
    transform: translateX(5px);
}


/* Bouton inférieur */

.cs-services-footer {
    margin-top: 45px;

    text-align: center;
}


/* =========================================================
   SERVICES RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

    .cs-services-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 650px) {

    .cs-services-grid {
        grid-template-columns: 1fr;
    }


    .cs-service-card-image {
        min-height: 190px;
    }


    .cs-service-card-content {
        padding: 25px;
    }

}
/* =========================================================
   ACCUEIL - RÉALISATIONS
   ========================================================= */

.cs-home-realisations {
    background: var(--cs-white);
}


.cs-realisations-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(0, 0.95fr);

    align-items: center;

    gap: 70px;
}


/* =========================================================
   CONTENU RÉALISATIONS
   ========================================================= */

.cs-realisations-content {
    max-width: 650px;
}


.cs-realisations-content h2 {
    margin-bottom: 25px;
}


.cs-realisations-content p:not(.cs-eyebrow) {
    margin-top: 0;
    margin-bottom: 20px;

    color: var(--cs-gray);
}


.cs-realisations-content .cs-button {
    margin-top: 10px;
}


/* =========================================================
   ILLUSTRATION RÉALISATIONS
   ========================================================= */

.cs-realisations-visual {
    display: flex;

    align-items: center;
    justify-content: center;
}


.cs-realisations-visual img {
    width: 100%;
    max-width: 540px;

    height: auto;
}


/* =========================================================
   RÉALISATIONS RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .cs-realisations-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }


    .cs-realisations-content {
        max-width: 100%;
    }


    .cs-realisations-visual img {
        max-width: 480px;
    }

}
/* =========================================================
   ACCUEIL - ZONES D'INTERVENTION
   ========================================================= */

.cs-home-zones {
    background: var(--cs-beige);
}


.cs-zones-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.1fr);

    align-items: center;

    gap: 70px;
}


/* =========================================================
   ILLUSTRATION
   ========================================================= */

.cs-zones-visual {
    display: flex;

    align-items: center;
    justify-content: center;
}


.cs-zones-visual img {
    width: 100%;
    max-width: 520px;

    height: auto;
}


/* =========================================================
   CONTENU
   ========================================================= */

.cs-zones-content {
    max-width: 680px;
}


.cs-zones-content h2 {
    margin-bottom: 25px;
}


.cs-zones-intro {
    margin-top: 0;
    margin-bottom: 35px;

    color: var(--cs-gray);
}


/* =========================================================
   LISTE DES VILLES
   ========================================================= */

.cs-zones-list {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 15px;
}


.cs-zone-card {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 20px;

    background: var(--cs-white);

    border: 1px solid var(--cs-beige-dark);

    border-radius: var(--cs-radius);

    transition:
        transform var(--cs-transition),
        box-shadow var(--cs-transition),
        border-color var(--cs-transition);
}


.cs-zone-card:hover {
    transform: translateY(-3px);

    border-color: var(--cs-green-light);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.07);
}


.cs-zone-name {
    color: var(--cs-green-dark);

    font-weight: 600;
}


.cs-zone-arrow {
    color: var(--cs-green);

    font-size: 1.2rem;

    transition:
        transform var(--cs-transition);
}


.cs-zone-card:hover .cs-zone-arrow {
    transform: translateX(5px);
}


/* =========================================================
   ZONES RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .cs-zones-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }


    .cs-zones-content {
        max-width: 100%;
    }


    .cs-zones-visual img {
        max-width: 480px;
    }

}


@media (max-width: 550px) {

    .cs-zones-list {
        grid-template-columns: 1fr;
    }

}
/* =========================================================
   ACCUEIL - POURQUOI NOUS CHOISIR
   ========================================================= */

.cs-home-why {
    background: var(--cs-white);
}


.cs-why-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 25px;
}


/* =========================================================
   CARTES
   ========================================================= */

.cs-why-card {
    position: relative;

    padding: 35px 30px;

    background: var(--cs-beige);

    border: 1px solid var(--cs-beige-dark);

    border-radius: var(--cs-radius);

    transition:
        transform var(--cs-transition),
        box-shadow var(--cs-transition);
}


.cs-why-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.07);
}


/* Numéro */

.cs-why-number {
    margin-bottom: 25px;

    color: var(--cs-green-light);

    font-family: "Cormorant Garamond", serif;

    font-size: 2.4rem;
    font-weight: 600;

    line-height: 1;
}


/* Titre */

.cs-why-card h3 {
    margin-bottom: 15px;

    font-size: 1.6rem;
}


/* Texte */

.cs-why-card p {
    margin: 0;

    color: var(--cs-gray);

    font-size: 0.95rem;
}


/* =========================================================
   CTA
   ========================================================= */

.cs-why-action {
    margin-top: 45px;

    text-align: center;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {

    .cs-why-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 600px) {

    .cs-why-grid {
        grid-template-columns: 1fr;
    }


    .cs-why-card {
        padding: 30px 25px;
    }

}
/* =========================================================
   ACCUEIL - AVIS CLIENTS
   ========================================================= */

.cs-home-reviews {
    background: var(--cs-beige);
}


.cs-reviews-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 0.85fr);

    align-items: center;

    gap: 70px;
}


/* =========================================================
   INTRODUCTION
   ========================================================= */

.cs-reviews-heading {
    max-width: 650px;
}


.cs-reviews-heading h2 {
    margin-bottom: 25px;
}


.cs-reviews-heading p:not(.cs-eyebrow) {
    margin-top: 0;
    margin-bottom: 20px;

    color: var(--cs-gray);
}


/* =========================================================
   BLOC AVIS
   ========================================================= */

.cs-reviews-placeholder {
    position: relative;

    padding: 45px;

    background: var(--cs-white);

    border: 1px solid var(--cs-beige-dark);

    border-radius: var(--cs-radius);

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.06);
}


.cs-reviews-symbol {
    height: 55px;

    margin-bottom: 15px;

    color: var(--cs-green-light);

    font-family: "Cormorant Garamond", serif;

    font-size: 5rem;

    line-height: 1;
}


.cs-reviews-placeholder h3 {
    margin-bottom: 15px;

    font-size: 2rem;
}


.cs-reviews-placeholder p {
    margin-top: 0;
    margin-bottom: 25px;

    color: var(--cs-gray);
}


/* =========================================================
   AVIS RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .cs-reviews-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }


    .cs-reviews-heading {
        max-width: 100%;
    }

}


@media (max-width: 600px) {

    .cs-reviews-placeholder {
        padding: 30px 25px;
    }

}
/* =========================================================
   ACCUEIL - FAQ
   ========================================================= */

.cs-home-faq {
    background: var(--cs-white);
}


.cs-faq-list {
    width: 100%;
    max-width: 900px;

    margin-right: auto;
    margin-left: auto;
}


/* =========================================================
   QUESTION
   ========================================================= */

.cs-faq-item {
    margin-bottom: 15px;

    background: var(--cs-beige);

    border: 1px solid var(--cs-beige-dark);

    border-radius: var(--cs-radius);

    overflow: hidden;
}


.cs-faq-item summary {
    position: relative;

    padding: 22px 65px 22px 25px;

    color: var(--cs-green-dark);

    font-weight: 600;

    cursor: pointer;

    list-style: none;
}


/*
 * Retire le triangle natif
 * sur certains navigateurs.
 */

.cs-faq-item summary::-webkit-details-marker {
    display: none;
}


/* =========================================================
   ICÔNE + / -
   ========================================================= */

.cs-faq-item summary::after {
    content: "+";

    position: absolute;

    top: 50%;
    right: 25px;

    width: 30px;
    height: 30px;

    display: flex;

    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    color: var(--cs-green);

    font-size: 1.6rem;
    font-weight: 400;

    line-height: 1;
}


.cs-faq-item[open] summary::after {
    content: "−";
}


/* =========================================================
   RÉPONSE
   ========================================================= */

.cs-faq-answer {
    padding:
        0
        65px
        25px
        25px;
}


.cs-faq-answer p {
    margin: 0;

    color: var(--cs-gray);
}


/* =========================================================
   ÉTAT OUVERT
   ========================================================= */

.cs-faq-item[open] {
    background: var(--cs-white);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.05);
}


.cs-faq-item[open] summary {
    padding-bottom: 15px;
}


/* =========================================================
   FAQ MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .cs-faq-item summary {
        padding:
            20px
            55px
            20px
            20px;
    }


    .cs-faq-item summary::after {
        right: 18px;
    }


    .cs-faq-answer {
        padding:
            0
            20px
            22px
            20px;
    }

}
/* =========================================================
   ACCUEIL - CTA FINAL
   ========================================================= */

.cs-home-final-cta {
    background: var(--cs-beige);

    padding-top: 70px;
    padding-bottom: 70px;
}


.cs-final-cta-box {
    display: grid;

    grid-template-columns:
        minmax(0, 1.4fr)
        minmax(260px, 0.6fr);

    align-items: center;

    gap: 60px;

    padding: 60px;

    background: var(--cs-green-dark);

    border-radius: calc(var(--cs-radius) * 2);
}


/* =========================================================
   CONTENU
   ========================================================= */

.cs-final-cta-content {
    max-width: 720px;
}


.cs-final-cta-content .cs-eyebrow {
    color: var(--cs-beige);
}


.cs-final-cta-content h2 {
    margin-bottom: 20px;

    color: var(--cs-white);
}


.cs-final-cta-content p:not(.cs-eyebrow) {
    margin-top: 0;
    margin-bottom: 15px;

    color: rgba(255, 255, 255, 0.82);
}


.cs-final-cta-content p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   ACTION
   ========================================================= */

.cs-final-cta-action {
    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 15px;
}


/* Bouton clair */

.cs-button-light {
    width: 100%;

    background: var(--cs-white);

    color: var(--cs-green-dark);
}


.cs-button-light:hover {
    background: var(--cs-beige);

    color: var(--cs-green-dark);
}


/* Texte sous le bouton */

.cs-final-cta-note {
    color: rgba(255, 255, 255, 0.7);

    font-size: 0.85rem;

    text-align: center;
}


/* =========================================================
   CTA FINAL RESPONSIVE
   ========================================================= */

@media (max-width: 850px) {

    .cs-final-cta-box {
        grid-template-columns: 1fr;

        gap: 35px;

        padding: 45px;
    }


    .cs-final-cta-action {
        align-items: flex-start;
    }


    .cs-button-light {
        width: auto;
    }


    .cs-final-cta-note {
        text-align: left;
    }

}


@media (max-width: 550px) {

    .cs-home-final-cta {
        padding-top: 50px;
        padding-bottom: 50px;
    }


    .cs-final-cta-box {
        padding: 35px 25px;
    }


    .cs-button-light {
        width: 100%;
    }


    .cs-final-cta-action {
        align-items: stretch;
    }


    .cs-final-cta-note {
        text-align: center;
    }

}
/* =========================================================
   PAGES WORDPRESS
   ========================================================= */

.cs-page-main {
    width: 100%;
}


/* =========================================================
   EN-TÊTE DES PAGES
   ========================================================= */

.cs-page-hero {
    padding-top: 70px;
    padding-bottom: 70px;

    background: var(--cs-beige);
}


.cs-page-hero-inner {
    max-width: 850px;
}


.cs-page-title {
    margin-bottom: 0;
}


/* =========================================================
   CONTENU DES PAGES
   ========================================================= */

.cs-page-content {
    padding-top: 70px;
    padding-bottom: 70px;

    background: var(--cs-white);
}


.cs-page-content-inner {
    width: 100%;
    max-width: 900px;

    margin-right: auto;
    margin-left: auto;
}


/* Paragraphes */

.cs-page-content-inner p {
    margin-top: 0;
    margin-bottom: 1.5em;
}


/* H2 */

.cs-page-content-inner h2 {
    margin-top: 50px;
    margin-bottom: 20px;
}


/* Premier H2 */

.cs-page-content-inner h2:first-child {
    margin-top: 0;
}


/* H3 */

.cs-page-content-inner h3 {
    margin-top: 35px;
    margin-bottom: 15px;
}


/* Listes */

.cs-page-content-inner ul,
.cs-page-content-inner ol {
    margin-top: 0;
    margin-bottom: 25px;

    padding-left: 25px;
}


.cs-page-content-inner li {
    margin-bottom: 8px;
}


/* Liens */

.cs-page-content-inner a {
    color: var(--cs-green);

    text-decoration: underline;

    text-underline-offset: 3px;
}


.cs-page-content-inner a:hover {
    color: var(--cs-green-dark);
}


/* Images */

.cs-page-content-inner img {
    max-width: 100%;
    height: auto;

    margin-top: 25px;
    margin-bottom: 30px;

    border-radius: var(--cs-radius);
}


/* Citations */

.cs-page-content-inner blockquote {
    margin: 35px 0;

    padding:
        20px
        25px;

    background: var(--cs-beige);

    border-left:
        4px solid var(--cs-green);
}


/* =========================================================
   PAGES - RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {

    .cs-page-hero {
        padding-top: 50px;
        padding-bottom: 50px;
    }


    .cs-page-content {
        padding-top: 50px;
        padding-bottom: 50px;
    }

}
/* =========================================================
   ARTICLES DE BLOG
   ========================================================= */

.cs-single-main {
    width: 100%;
}


/* =========================================================
   EN-TÊTE ARTICLE
   ========================================================= */

.cs-single-hero {
    padding-top: 70px;
    padding-bottom: 70px;

    background: var(--cs-beige);
}


.cs-single-hero-inner {
    width: 100%;
    max-width: 900px;

    margin-right: auto;
    margin-left: auto;
}


.cs-single-title {
    margin-bottom: 20px;
}


.cs-single-meta {
    color: var(--cs-gray);

    font-size: 0.9rem;
}


/* =========================================================
   IMAGE MISE EN AVANT
   ========================================================= */

.cs-single-featured {
    padding-top: 60px;
}


.cs-single-featured-inner {
    width: 100%;
    max-width: 1000px;

    margin-right: auto;
    margin-left: auto;
}


.cs-single-featured-image {
    width: 100%;
    height: auto;

    border-radius: var(--cs-radius);
}


/* =========================================================
   CONTENU ARTICLE
   ========================================================= */

.cs-single-content {
    padding-top: 60px;
    padding-bottom: 70px;
}


.cs-single-content-inner {
    width: 100%;
    max-width: 850px;

    margin-right: auto;
    margin-left: auto;
}


.cs-single-content-inner p {
    margin-top: 0;
    margin-bottom: 1.5em;
}


.cs-single-content-inner h2 {
    margin-top: 50px;
    margin-bottom: 20px;
}


.cs-single-content-inner h2:first-child {
    margin-top: 0;
}


.cs-single-content-inner h3 {
    margin-top: 35px;
    margin-bottom: 15px;
}


.cs-single-content-inner ul,
.cs-single-content-inner ol {
    margin-top: 0;
    margin-bottom: 25px;

    padding-left: 25px;
}


.cs-single-content-inner li {
    margin-bottom: 8px;
}


.cs-single-content-inner a {
    color: var(--cs-green);

    text-decoration: underline;

    text-underline-offset: 3px;
}


.cs-single-content-inner a:hover {
    color: var(--cs-green-dark);
}


.cs-single-content-inner img {
    max-width: 100%;
    height: auto;

    margin-top: 25px;
    margin-bottom: 30px;

    border-radius: var(--cs-radius);
}


.cs-single-content-inner blockquote {
    margin: 35px 0;

    padding: 20px 25px;

    background: var(--cs-beige);

    border-left: 4px solid var(--cs-green);
}


/* =========================================================
   NAVIGATION ARTICLES
   ========================================================= */

.cs-single-navigation {
    padding-top: 35px;
    padding-bottom: 60px;

    border-top: 1px solid var(--cs-beige-dark);
}


.cs-single-navigation-inner {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 30px;

    max-width: 850px;

    margin-right: auto;
    margin-left: auto;
}


.cs-single-navigation a {
    color: var(--cs-green-dark);

    font-weight: 600;
}


.cs-single-navigation a:hover {
    color: var(--cs-green);
}


.cs-single-navigation-next {
    text-align: right;
}


/* =========================================================
   ARTICLES - RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {

    .cs-single-hero {
        padding-top: 50px;
        padding-bottom: 50px;
    }


    .cs-single-featured {
        padding-top: 40px;
    }


    .cs-single-content {
        padding-top: 45px;
        padding-bottom: 50px;
    }


    .cs-single-navigation-inner {
        grid-template-columns: 1fr;
    }


    .cs-single-navigation-next {
        text-align: left;
    }

}
/* =========================================================
   ARCHIVES / LISTES D'ARTICLES
   ========================================================= */

.cs-archive-main {
    width: 100%;
}


/* =========================================================
   EN-TÊTE
   ========================================================= */

.cs-archive-hero {
    padding-top: 70px;
    padding-bottom: 70px;

    background: var(--cs-beige);
}


.cs-archive-hero-inner {
    width: 100%;
    max-width: 850px;
}


.cs-archive-title {
    margin-bottom: 20px;
}


.cs-archive-description {
    max-width: 700px;

    color: var(--cs-gray);
}


.cs-archive-description p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   LISTE
   ========================================================= */

.cs-archive-content {
    padding-top: 70px;
    padding-bottom: 70px;

    background: var(--cs-white);
}


.cs-posts-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 30px;
}


/* =========================================================
   CARTE ARTICLE
   ========================================================= */

.cs-post-card {
    display: flex;
    flex-direction: column;

    min-width: 0;

    overflow: hidden;

    background: var(--cs-white);

    border: 1px solid var(--cs-beige-dark);

    border-radius: var(--cs-radius);

    transition:
        transform var(--cs-transition),
        box-shadow var(--cs-transition);
}


.cs-post-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.08);
}


/* =========================================================
   IMAGE
   ========================================================= */

.cs-post-card-image {
    display: block;

    overflow: hidden;

    background: var(--cs-beige);
}


.cs-post-card-image img {
    width: 100%;
    height: 230px;

    object-fit: cover;

    transition:
        transform var(--cs-transition);
}


.cs-post-card:hover .cs-post-card-image img {
    transform: scale(1.03);
}


/* =========================================================
   CONTENU CARTE
   ========================================================= */

.cs-post-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;

    padding: 28px;
}


.cs-post-card-date {
    margin-bottom: 12px;

    color: var(--cs-gray);

    font-size: 0.85rem;
}


.cs-post-card-title {
    margin-bottom: 15px;

    font-size: 1.7rem;
}


.cs-post-card-title a {
    color: var(--cs-green-dark);
}


.cs-post-card-title a:hover {
    color: var(--cs-green);
}


.cs-post-card-excerpt {
    margin-bottom: 25px;

    color: var(--cs-gray);
}


.cs-post-card-excerpt p {
    margin: 0;
}


.cs-post-card-link {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-top: auto;

    color: var(--cs-green-dark);

    font-weight: 600;
}


.cs-post-card-link span {
    transition:
        transform var(--cs-transition);
}


.cs-post-card-link:hover span {
    transform: translateX(5px);
}


/* =========================================================
   PAGINATION
   ========================================================= */

.cs-archive-pagination {
    margin-top: 55px;
}


.cs-archive-pagination .nav-links {
    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    align-items: center;

    gap: 10px;
}


.cs-archive-pagination .page-numbers {
    display: inline-flex;

    min-width: 42px;
    min-height: 42px;

    align-items: center;
    justify-content: center;

    padding: 8px 12px;

    border: 1px solid var(--cs-beige-dark);

    border-radius: var(--cs-radius);

    color: var(--cs-green-dark);
}


.cs-archive-pagination .page-numbers.current {
    background: var(--cs-green-dark);

    border-color: var(--cs-green-dark);

    color: var(--cs-white);
}


.cs-archive-pagination a.page-numbers:hover {
    background: var(--cs-beige);
}


/* =========================================================
   AUCUN ARTICLE
   ========================================================= */

.cs-archive-empty {
    max-width: 700px;

    margin-right: auto;
    margin-left: auto;

    text-align: center;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

    .cs-posts-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 650px) {

    .cs-archive-hero {
        padding-top: 50px;
        padding-bottom: 50px;
    }


    .cs-archive-content {
        padding-top: 50px;
        padding-bottom: 50px;
    }


    .cs-posts-grid {
        grid-template-columns: 1fr;
    }


    .cs-post-card-image img {
        height: auto;
        aspect-ratio: 16 / 9;
    }

}
/* =========================================================
   PAGE PRINCIPALE DU BLOG
   ========================================================= */

.cs-blog-main {
    width: 100%;
}


/* =========================================================
   EN-TÊTE BLOG
   ========================================================= */

.cs-blog-hero {
    padding-top: 80px;
    padding-bottom: 80px;

    background: var(--cs-beige);
}


.cs-blog-hero-inner {
    width: 100%;
    max-width: 850px;

    margin-right: auto;
    margin-left: auto;

    text-align: center;
}


.cs-blog-title {
    margin-bottom: 20px;
}


.cs-blog-intro {
    max-width: 700px;

    margin: 0 auto;

    color: var(--cs-gray);

    font-size: 1.05rem;
}


/* =========================================================
   CONTENU BLOG
   ========================================================= */

.cs-blog-content {
    padding-top: 70px;
    padding-bottom: 70px;

    background: var(--cs-white);
}


/* =========================================================
   BLOG VIDE
   ========================================================= */

.cs-blog-empty {
    max-width: 700px;

    margin-right: auto;
    margin-left: auto;

    text-align: center;
}


.cs-blog-empty h2 {
    margin-bottom: 15px;
}


.cs-blog-empty p {
    margin: 0;

    color: var(--cs-gray);
}


/* =========================================================
   BLOG RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {

    .cs-blog-hero {
        padding-top: 55px;
        padding-bottom: 55px;
    }


    .cs-blog-content {
        padding-top: 50px;
        padding-bottom: 50px;
    }

}
/* =========================================================
   PAGE 404
   ========================================================= */

.cs-404-main {
    width: 100%;
}


.cs-404-section {
    display: flex;

    min-height: 65vh;

    align-items: center;

    padding-top: 80px;
    padding-bottom: 80px;

    background: var(--cs-beige);
}


.cs-404-content {
    width: 100%;
    max-width: 760px;

    margin-right: auto;
    margin-left: auto;

    text-align: center;
}


/* =========================================================
   CODE 404
   ========================================================= */

.cs-404-code {
    margin: 0 0 15px;

    color: var(--cs-green-light);

    font-family: "Cormorant Garamond", serif;

    font-size: clamp(5rem, 12vw, 9rem);

    font-weight: 600;

    line-height: 0.9;
}


/* =========================================================
   CONTENU
   ========================================================= */

.cs-404-title {
    margin-bottom: 25px;
}


.cs-404-text {
    max-width: 650px;

    margin:
        0
        auto
        15px;

    color: var(--cs-gray);
}


.cs-404-actions {
    display: flex;

    flex-wrap: wrap;

    align-items: center;
    justify-content: center;

    gap: 15px;

    margin-top: 35px;
}


/* =========================================================
   CONTACT
   ========================================================= */

.cs-404-contact {
    margin-top: 25px;
}


.cs-404-contact a {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: var(--cs-green-dark);

    font-weight: 600;
}


.cs-404-contact a span {
    transition:
        transform var(--cs-transition);
}


.cs-404-contact a:hover span {
    transform: translateX(5px);
}


/* =========================================================
   PAGE 404 MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .cs-404-section {
        min-height: 60vh;

        padding-top: 60px;
        padding-bottom: 60px;
    }


    .cs-404-actions {
        flex-direction: column;

        align-items: stretch;
    }


    .cs-404-actions .cs-button {
        width: 100%;
    }

}