/*
Theme Name: Profil COEUR
Theme URI: https://profil-coeur.aucoeurdesens.fr
Author: Au Coeur Des Sens
Author URI: https://aucoeurdesens.fr
Description: Thème personnalisé Profil C.O.E.U.R.™ — Analyse émotionnelle et vibratoire personnalisée par Sylvie Costa.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: profilcoeur
Tags: wellness, holistic, spirituel, couleur, vibratoire
*/

/* ─── POLICES GOOGLE ───────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Raleway:ital,wght@0,300;0,400;0,600;0,700;1,400&display=swap');

/* ─── VARIABLES ────────────────────────────────────────────── */
:root {
    /* Violet profond (bandeau affiche) */
    --pc-violet:         #2A1060;
    --pc-violet-fonce:   #1A0848;
    --pc-violet-clair:   #3D1890;
    /* Or / Doré */
    --pc-or:             #C9A227;
    --pc-or-clair:       #F0D060;
    --pc-or-bord:        #D4AF37;
    /* Orange C.O.E.U.R. */
    --pc-orange:         #E8731A;
    --pc-orange-clair:   #F5A050;
    /* Bleu (lettres affiche) */
    --pc-bleu:           #4A90D9;
    /* Beige crème (fond clair) */
    --pc-creme:          #FAF0DC;
    --pc-creme-fonce:    #F0E0C0;
    /* Textes */
    --pc-blanc:          #FFFFFF;
    --pc-texte-clair:    rgba(255,255,255,0.85);
    --pc-texte-doux:     rgba(255,255,255,0.7);
    --pc-texte-sombre:   #2A1060;
    /* Arc-en-ciel dégradé (voile affiche) */
    --pc-rainbow:        linear-gradient(135deg, #E8731A 0%, #F0D060 20%, #6BCB77 40%, #4A90D9 60%, #9B59B6 80%, #E8731A 100%);
    --pc-rainbow-soft:   linear-gradient(135deg, rgba(232,115,26,0.6) 0%, rgba(240,208,96,0.6) 25%, rgba(107,203,119,0.6) 50%, rgba(74,144,217,0.6) 75%, rgba(155,89,182,0.6) 100%);
}

/* ─── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.85;
    color: var(--pc-texte-sombre);
    background-color: var(--pc-creme);
    margin: 0;
    padding: 0;
}

/* ─── TYPOGRAPHIE ──────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    color: var(--pc-violet);
    line-height: 1.3;
    margin-top: 0;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }

p { margin: 0 0 1.2rem 0; color: #3a3060; }

a {
    color: var(--pc-orange);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover { color: var(--pc-violet); }

strong, b { font-weight: 700; color: var(--pc-violet-fonce); }
em, i { font-style: italic; color: var(--pc-orange); }

ul li::marker { color: var(--pc-or); }

/* ─── BARRE ARC-EN-CIEL (signature) ───────────────────────── */
.pc-rainbow-bar {
    height: 5px;
    background: var(--pc-rainbow);
    width: 100%;
}

/* ─── HEADER ───────────────────────────────────────────────── */
.site-header, header#masthead {
    background-color: var(--pc-violet);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 20px rgba(42,16,96,0.5);
    border-bottom: 3px solid var(--pc-or-bord);
}

.site-header .site-branding {
    padding: 12px 30px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.site-header .custom-logo-link,
.site-header .site-branding a img { max-height: 64px; width: auto; }

.site-title {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 1px;
}
.site-title a { color: var(--pc-blanc) !important; }

.site-description {
    color: var(--pc-or-clair);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
}

/* ─── NAVIGATION ───────────────────────────────────────────── */
.main-navigation { background-color: var(--pc-violet-fonce); }

.main-navigation ul {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
}

.main-navigation ul li a {
    display: block;
    padding: 16px 16px;
    font-family: 'Raleway', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--pc-blanc) !important;
    transition: all 0.3s ease;
}

.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a {
    color: var(--pc-or-clair) !important;
    background-color: rgba(201,162,39,0.15);
}

.main-navigation li { position: relative; }

.main-navigation .sub-menu {
    position: absolute;
    top: 100%; left: 0;
    background: var(--pc-violet);
    min-width: 240px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
    border-top: 3px solid var(--pc-or);
    display: none !important;
    flex-direction: column;
    z-index: 9999;
    list-style: none;
    margin: 0; padding: 0;
}
.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu { display: flex !important; }

.main-navigation .sub-menu li a {
    padding: 12px 20px;
    font-size: 0.82rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    white-space: nowrap;
}

/* ─── HERO SECTION ─────────────────────────────────────────── */
.pc-hero {
    background: linear-gradient(160deg, var(--pc-violet-fonce) 0%, var(--pc-violet) 60%, #1a0050 100%);
    color: var(--pc-blanc);
    text-align: center;
    padding: 100px 30px 80px;
    position: relative;
    overflow: hidden;
    min-height: 65vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Cercle lumineux en arrière-plan */
.pc-hero::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(201,162,39,0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.pc-hero::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -80px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(232,115,26,0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.pc-hero-eyebrow {
    font-family: 'Raleway', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--pc-or-clair);
    margin-bottom: 16px;
}

.pc-hero h1 {
    color: var(--pc-blanc);
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 30px rgba(0,0,0,0.5);
    line-height: 1.15;
}

/* Le mot C.O.E.U.R. en couleurs */
.pc-coeur-title {
    font-size: clamp(2.8rem, 8vw, 5rem);
    font-weight: 700;
    font-family: 'Cinzel', serif;
    letter-spacing: 6px;
    line-height: 1;
    margin: 8px 0 24px;
    display: block;
}
.pc-coeur-title .c1 { color: #E8731A; }
.pc-coeur-title .c2 { color: #F0D060; }
.pc-coeur-title .c3 { color: #6BCB77; }
.pc-coeur-title .c4 { color: #4A90D9; }
.pc-coeur-title .c5 { color: #B07FD4; }
.pc-coeur-title .c6 { color: var(--pc-or-clair); font-size: 0.6em; vertical-align: super; }

.pc-hero-sub {
    font-family: 'Raleway', sans-serif;
    font-style: italic;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: rgba(255,255,255,0.88);
    max-width: 600px;
    margin: 0 auto 36px;
}

/* ─── BOUTONS ──────────────────────────────────────────────── */
.pc-btn,
.wp-block-button__link,
.elementor-button,
button[type="submit"],
input[type="submit"] {
    display: inline-block;
    background: linear-gradient(135deg, var(--pc-orange) 0%, var(--pc-violet) 100%);
    color: var(--pc-blanc) !important;
    font-family: 'Raleway', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 15px 40px;
    border-radius: 50px;
    border: 2px solid var(--pc-or-bord);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.pc-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--pc-rainbow-soft);
    opacity: 0;
    transition: opacity 0.35s ease;
    border-radius: 50px;
}
.pc-btn:hover::after { opacity: 1; }
.pc-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(232,115,26,0.4);
    color: var(--pc-blanc) !important;
}

.pc-btn-or {
    background: linear-gradient(135deg, var(--pc-or) 0%, var(--pc-or-clair) 100%);
    color: var(--pc-violet-fonce) !important;
    border-color: var(--pc-or-clair);
}

.pc-btn-contour {
    background: transparent;
    border: 2px solid var(--pc-or-bord);
    color: var(--pc-blanc) !important;
}
.pc-btn-contour:hover {
    background: rgba(201,162,39,0.2);
    color: var(--pc-or-clair) !important;
}

/* ─── CADRE VIOLET (bandeau affiche) ──────────────────────── */
.pc-bandeau {
    background-color: var(--pc-violet);
    color: var(--pc-blanc);
    border: 2px solid var(--pc-or-bord);
    border-radius: 12px;
    padding: 36px 40px;
    margin: 0 auto;
    max-width: 780px;
    position: relative;
}

.pc-bandeau p { color: var(--pc-texte-clair); margin-bottom: 0; }
.pc-bandeau strong { color: var(--pc-or-clair); }

/* Petite icône lotus (SVG inline via ::before sur un span) */
.pc-lotus {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.5rem;
    color: var(--pc-or);
}

/* ─── SECTIONS ─────────────────────────────────────────────── */
.pc-section {
    padding: 80px 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.pc-section-bg-creme { background-color: var(--pc-creme); }
.pc-section-bg-violet {
    background: linear-gradient(160deg, var(--pc-violet-fonce) 0%, var(--pc-violet) 100%);
    color: var(--pc-blanc);
    padding: 80px 30px;
}
.pc-section-bg-violet h2,
.pc-section-bg-violet h3 { color: var(--pc-or-clair); }
.pc-section-bg-violet p { color: var(--pc-texte-clair); }

/* ─── GRILLE QUESTIONS (affiche style) ─────────────────────── */
.pc-questions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.pc-question-item {
    background: var(--pc-creme);
    border: 1px solid var(--pc-or-bord);
    border-left: 5px solid var(--pc-violet);
    border-radius: 8px;
    padding: 20px 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pc-question-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(42,16,96,0.15);
}

.pc-question-icon {
    width: 44px; height: 44px;
    background: var(--pc-violet);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.3rem;
}

.pc-question-item p {
    margin: 0;
    font-weight: 600;
    color: var(--pc-violet-fonce);
    font-size: 1rem;
}

/* ─── CARTES COULEUR (profils C.O.E.U.R.) ─────────────────── */
.pc-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.pc-card {
    background: var(--pc-blanc);
    border-radius: 12px;
    padding: 30px 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(42,16,96,0.10);
    border-top: 5px solid var(--pc-or-bord);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(42,16,96,0.2);
}

.pc-card-icon { font-size: 2.5rem; margin-bottom: 14px; }
.pc-card h3 { color: var(--pc-violet); font-size: 1.1rem; margin-bottom: 10px; }
.pc-card p { color: #555; font-size: 0.92rem; margin: 0; }

/* ─── SÉPARATEUR OR ────────────────────────────────────────── */
.pc-divider {
    text-align: center;
    margin: 20px 0;
    color: var(--pc-or);
    font-size: 1.4rem;
    letter-spacing: 10px;
}

/* ─── TITRE DE SECTION CENTRÉ ──────────────────────────────── */
.pc-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.pc-section-header h2 {
    color: var(--pc-violet);
    margin-bottom: 12px;
}

.pc-section-header p {
    color: #555;
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

.pc-section-header .pc-or-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--pc-orange), var(--pc-or));
    margin: 16px auto 0;
    border-radius: 2px;
}

/* Section sur fond violet */
.pc-section-bg-violet .pc-section-header h2 { color: var(--pc-or-clair); }
.pc-section-bg-violet .pc-section-header p { color: var(--pc-texte-clair); }

/* ─── FORMULAIRE CONTACT ───────────────────────────────────── */
.pc-contact-form,
.wpcf7-form {
    background: var(--pc-blanc);
    border: 1px solid var(--pc-creme-fonce);
    border-radius: 12px;
    padding: 40px;
    max-width: 640px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(42,16,96,0.08);
}

.pc-contact-form input,
.pc-contact-form textarea,
.pc-contact-form select,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--pc-creme-fonce);
    border-radius: 8px;
    font-family: 'Raleway', sans-serif;
    font-size: 0.95rem;
    color: var(--pc-texte-sombre);
    background: var(--pc-creme);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 16px;
}

.pc-contact-form input:focus,
.pc-contact-form textarea:focus,
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--pc-violet);
    box-shadow: 0 0 0 3px rgba(42,16,96,0.1);
}

.pc-contact-form label,
.wpcf7-form label {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    color: var(--pc-violet);
    display: block;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

/* ─── INFOS CONTACT ────────────────────────────────────────── */
.pc-contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 30px 0;
}

.pc-contact-item {
    background: var(--pc-violet);
    color: var(--pc-blanc);
    border-radius: 50px;
    padding: 14px 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid var(--pc-or-bord);
    text-decoration: none;
    transition: all 0.3s ease;
}
.pc-contact-item:hover {
    background: var(--pc-or);
    color: var(--pc-violet-fonce) !important;
    border-color: var(--pc-or);
}

/* ─── FOOTER ───────────────────────────────────────────────── */
.site-footer, footer#colophon {
    background: var(--pc-violet-fonce);
    color: var(--pc-texte-clair);
    padding: 60px 30px 30px;
    border-top: 4px solid var(--pc-or-bord);
}

.pc-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.pc-footer-col h4 {
    color: var(--pc-or-clair);
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(201,162,39,0.3);
}

.pc-footer-col p,
.pc-footer-col li { color: var(--pc-texte-doux); font-size: 0.9rem; }
.pc-footer-col a { color: var(--pc-texte-doux); }
.pc-footer-col a:hover { color: var(--pc-or-clair); }
.pc-footer-col ul { list-style: none; padding: 0; margin: 0; }
.pc-footer-col ul li { padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }

.pc-footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid rgba(201,162,39,0.2);
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

/* ─── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 768px) {
    .pc-hero { padding: 70px 20px 60px; min-height: auto; }
    .pc-section { padding: 50px 20px; }
    .pc-section-bg-violet { padding: 50px 20px; }
    .pc-bandeau { padding: 24px 20px; }
    .pc-contact-form, .wpcf7-form { padding: 24px 20px; }
    .pc-coeur-title { letter-spacing: 3px; }
    .main-navigation ul { flex-direction: column; }
    .main-navigation ul li a { padding: 12px 20px; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .main-navigation .sub-menu { position: static; box-shadow: none; }
}

/* ─── BLOCS WORDPRESS ──────────────────────────────────────── */
.wp-block-image img { max-width: 100%; height: auto; border-radius: 8px; }
.wp-block-quote {
    border-left: 4px solid var(--pc-or);
    padding-left: 24px;
    margin: 24px 0;
    font-style: italic;
    color: var(--pc-violet);
}
.wp-block-separator { border-color: var(--pc-or-bord); opacity: 0.4; }

/* ─── UTILITAIRES ──────────────────────────────────────────── */
.pc-text-center { text-align: center; }
.pc-text-or     { color: var(--pc-or) !important; }
.pc-text-orange { color: var(--pc-orange) !important; }
.pc-text-violet { color: var(--pc-violet) !important; }
.pc-bg-violet   { background: var(--pc-violet); color: var(--pc-blanc); }
.pc-bg-creme    { background: var(--pc-creme); }
.pc-mb-0 { margin-bottom: 0 !important; }
.pc-mt-40 { margin-top: 40px !important; }

/* Ligne arc-en-ciel décorative */
.pc-rainbow-line {
    height: 3px;
    background: var(--pc-rainbow);
    border-radius: 2px;
    margin: 16px 0;
    border: none;
}

/* ══ PAGE TEMPLATE GÉNÉRIQUE ══════════════════════════════════════════════ */
.pc-page-hero {
    background: linear-gradient(160deg, var(--pc-violet-fonce) 0%, var(--pc-violet) 100%);
    padding: 70px 30px 60px;
    text-align: center;
}
.pc-page-hero h1 {
    color: var(--pc-blanc);
    margin-bottom: 8px;
}
.pc-page-hero .pc-hero-eyebrow {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--pc-or);
    font-family: 'Raleway', sans-serif;
    margin-bottom: 12px;
}

.pc-page-content {
    padding: 60px 30px;
    background: var(--pc-creme);
}
.pc-page-content-inner {
    max-width: 860px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 2;
    color: #3a3060;
}
.pc-page-content-inner h2 {
    color: var(--pc-violet);
    margin-top: 40px;
    margin-bottom: 16px;
}
.pc-page-content-inner h3 {
    color: var(--pc-violet);
    margin-top: 30px;
}
.pc-page-content-inner strong {
    color: var(--pc-violet-fonce);
}
.pc-page-content-inner a {
    color: var(--pc-violet);
    text-decoration: underline;
}
.pc-page-content-inner ul, 
.pc-page-content-inner ol {
    padding-left: 24px;
    margin-bottom: 20px;
}
.pc-page-content-inner li {
    margin-bottom: 8px;
}

/* ══ CORRECTIONS GÉNÉRALES ════════════════════════════════════════════════ */

/* H1 centré dans le hero page */
.pc-page-hero {
    padding: 40px 20px 36px;
    text-align: center !important;
}
.pc-page-hero h1 {
    text-align: center !important;
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    margin: 0 auto 8px;
    color: var(--pc-blanc);
}
.pc-page-hero .pc-hero-eyebrow {
    text-align: center;
    margin-bottom: 10px;
}

/* Boutons contour visibles sur fond clair ET fond sombre */
.pc-btn-contour {
    background: transparent;
    border: 2px solid var(--pc-or);
    color: var(--pc-violet) !important;
}
.pc-btn-contour:hover {
    background: var(--pc-violet);
    color: var(--pc-blanc) !important;
}

/* Bouton contour sur fond violet (hero) */
.pc-hero .pc-btn-contour,
.pc-section-bg-violet .pc-btn-contour,
.pc-page-hero + section.pc-section-bg-violet .pc-btn-contour {
    color: var(--pc-or-clair) !important;
    border-color: var(--pc-or-bord);
}
.pc-hero .pc-btn-contour:hover,
.pc-section-bg-violet .pc-btn-contour:hover {
    background: rgba(201,162,39,0.2);
    color: var(--pc-or-clair) !important;
}

/* ══ MOBILE — RESPONSIVE COMPLET ═════════════════════════════════════════ */
@media (max-width: 768px) {

    /* Hero accueil */
    .pc-hero { padding: 50px 20px 40px; min-height: auto; }
    .pc-hero h1 { font-size: clamp(1.8rem, 7vw, 2.8rem); }
    .pc-coeur-title { font-size: clamp(1.8rem, 8vw, 3rem); letter-spacing: 2px; }
    .pc-hero-sub { font-size: 0.95rem; }
    .pc-hero-eyebrow { font-size: 0.72rem; letter-spacing: 2px; }

    /* Hero pages intérieures */
    .pc-page-hero { padding: 30px 16px 28px; }
    .pc-page-hero h1 { font-size: clamp(1.4rem, 6vw, 2rem); }

    /* Sections */
    section[style*="padding:70px"] { padding: 40px 16px !important; }
    section[style*="padding:60px"] { padding: 36px 16px !important; }
    .pc-section { padding: 40px 16px; }
    .pc-section-bg-violet { padding: 40px 16px; }
    .pc-bandeau { padding: 20px 16px; }
    .pc-page-content { padding: 36px 16px; }

    /* Contenu page */
    .pc-page-content-inner { font-size: 1rem; }

    /* Navigation */
    .site-header > div { flex-direction: column; gap: 10px; padding: 12px 16px; }
    .pc-header-contacts { display: none; }
    .main-navigation { overflow-x: auto; }
    .main-navigation ul {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0 8px;
        gap: 0;
        scrollbar-width: none;
    }
    .main-navigation ul::-webkit-scrollbar { display: none; }
    .main-navigation ul li a { padding: 10px 14px; font-size: 0.78rem; white-space: nowrap; }

    /* Grilles → colonne */
    div[style*="display:grid"],
    div[style*="display: grid"] { grid-template-columns: 1fr !important; }
    div[style*="display:flex"][style*="gap"],
    div[style*="display: flex"][style*="gap"] {
        flex-direction: column !important;
        gap: 20px !important;
    }

    /* Cartes */
    .pc-cards-grid { grid-template-columns: 1fr !important; gap: 16px; }
    .pc-card { padding: 24px 20px; }

    /* Boutons */
    .pc-btn, .wp-block-button__link {
        padding: 13px 24px;
        font-size: 0.82rem;
        letter-spacing: 1px;
    }
    div[style*="display:flex"][style*="gap:16px"] {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }
    div[style*="display:flex"][style*="gap:16px"] .pc-btn {
        text-align: center;
        display: block;
    }

    /* Footer */
    .pc-footer-inner { grid-template-columns: 1fr !important; gap: 30px; }
    .pc-footer-bottom p { font-size: 0.78rem; text-align: center; }

    /* Formule tarifs — pleine largeur */
    div[style*="minmax(300px"] { grid-template-columns: 1fr !important; }
    div[style*="minmax(280px"] { grid-template-columns: 1fr !important; }
    div[style*="minmax(260px"] { grid-template-columns: 1fr !important; }

    /* Tableau bord FAQ details */
    details { padding: 16px 18px !important; }

    /* Contact : grille 2col → 1col */
    div[style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* Images responsive */
    img { max-width: 100%; height: auto; }
    div[style*="width:300px"] { width: 100% !important; }
    div[style*="width:260px"] { width: 100% !important; }
}

@media (max-width: 480px) {
    .pc-page-hero h1 { font-size: 1.4rem; }
    .pc-hero h1 { font-size: 1.8rem; }
    .main-navigation ul li a { padding: 8px 12px; font-size: 0.74rem; }
}
