/* =====================================
   VARIABLES
===================================== */
:root {
    --ctc-primary: #c0176b;
    --ctc-primary-dark: #8a0f4b;
    --ctc-text: #222;
    --ctc-muted: #777;
    --ctc-border: #e3e3e3;
    --ctc-bg-card: #fff;
}

/* =====================================
   WRAPPERS PRINCIPAUX
===================================== */
.main-home,
.main-shop {
    max-width: 1180px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 3rem;
    box-sizing: border-box;
    background: #ffffff;
    color: var(--ctc-text);
}

/* =====================================
   HERO (page d’accueil)
===================================== */
.home-hero {
    text-align: center;
    margin-bottom: 2.5rem;
}

.home-hero h1 {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

/* Centrage propre des paragraphes */
.home-hero p {
    text-align: center;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0.9rem;
    line-height: 1.7;
    font-size: 1rem;
}

/* Bouton hero */
.home-cta {
    text-align: center;
    margin-top: 1.8rem;
}

/* =====================================
   PROMO DU MOIS
===================================== */
.home-promo {
    max-width: 700px;
    margin: 3rem auto;
    text-align: center;
    background: #fff;
    border: 1px solid var(--ctc-border);
    border-radius: 10px;
    padding: 2rem 1.5rem;
    box-shadow: 0 6px 16px rgba(0,0,0,0.05);
}

.home-promo p {
    max-width: 650px;
    margin: 0 auto 1rem auto;
    line-height: 1.6;
}

/* =====================================
   3 COLONNES SERVICES (HOME)
===================================== */
.home-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
    margin-top: 2.5rem;
}

.home-col {
    background: var(--ctc-bg-card);
    border: 1px solid var(--ctc-border);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 10px 22px rgba(0,0,0,0.04);
}

.home-col h2 {
    font-size: 1.15rem;
    margin-bottom: 0.7rem;
    font-weight: 600;
}

.home-col p {
    line-height: 1.6;
    margin-bottom: 0.6rem;
}

.home-col-note {
    color: var(--ctc-muted);
    font-size: 0.9rem;
}

/* =====================================
   BAS DE PAGE – SÉCURITÉ UNIFIÉE
===================================== */
.home-bottom {
    max-width: 880px;
    margin: 3rem auto 0 auto;
    text-align: center;
}

.home-bottom p {
    margin: 0 auto 0.9rem auto;
    max-width: 850px;
    line-height: 1.7;
}

/* =====================================
   SHOP / PROMOTIONS
===================================== */
.main-shop h1 {
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.main-shop-intro {
    max-width: 800px;
    margin: 0 auto 1.2rem auto;
    text-align: center;
}

/* Grille cartes */
.ctc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
    margin-top: 1.5rem;
}

/* Carte produit/service */
.ctc-item {
    background: var(--ctc-bg-card);
    border: 1px solid var(--ctc-border);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 6px 14px rgba(0,0,0,0.05);
}

.ctc-item h2 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.7rem;
}

.ctc-item p {
    margin-bottom: 0.65rem;
    line-height: 1.55;
}

.ctc-item a {
    color: var(--ctc-primary);
    font-weight: 600;
    text-decoration: none;
}

.ctc-item a:hover {
    color: var(--ctc-primary-dark);
    text-decoration: underline;
}

/* MINIATURE PRODUIT (utilisée sur boutique2) */
.ctc-thumb {
    text-align: center;
    margin-bottom: 0.8rem;
}

.ctc-thumb img {
    max-width: 120px;
    max-height: 120px;
    object-fit: contain;
    display: inline-block;
}

/* =====================================
   BOUTONS
===================================== */
.btn-primary {
    display: inline-block;
    padding: 0.7rem 2rem;
    border: none;
    border-radius: 999px;
    background: var(--ctc-primary);
    color: #fff !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--ctc-primary-dark);
}

/* =====================================
   RESPONSIVE
===================================== */
@media (max-width: 768px) {
    .main-home,
    .main-shop {
        padding: 1.8rem 1rem 2.2rem;
    }

    .home-hero h1,
    .main-shop h1 {
        font-size: 1.6rem;
    }

    .home-columns {
        gap: 1.25rem;
    }
}
