/* ===== BASE ===== */
.pg-contact * { box-sizing: border-box; }
.pg-contact { font-family: 'Segoe UI', Arial, sans-serif; color: #1a1a2e; }
.pg-contact a { text-decoration: none; }

/* ===== HERO ===== */
.pg-contact .ct-hero {
    background: linear-gradient(135deg, #2D53CB 0%, #694DDA 60%, #EF1286 100%);
    padding: 5rem 2rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.pg-contact .ct-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../Rectangle-1.png') center/cover no-repeat;
    opacity: 0.1;
}
.pg-contact .ct-hero__bubble {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    pointer-events: none;
}
.pg-contact .ct-hero__bubble--1 { width: 320px; height: 320px; background: #F8D66B; top: -80px; right: -60px; }
.pg-contact .ct-hero__bubble--2 { width: 180px; height: 180px; background: #fff; bottom: -50px; left: 8%; }
.pg-contact .ct-hero__content { position: relative; z-index: 1; color: #fff; }
.pg-contact .ct-hero__label {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: #F8D66B;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 0.4rem 1.4rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}
.pg-contact .ct-hero__h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin: 0 0 1rem;
    line-height: 1.15;
}
.pg-contact .ct-hero__h1 span { color: #F8D66B; }
.pg-contact .ct-hero__desc {
    font-size: 1.1rem;
    opacity: 0.88;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== INFOS RAPIDES ===== */
.pg-contact .ct-infos {
    background: #fff;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
}
.pg-contact .ct-infos__grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    transform: translateY(-50px);
}
.pg-contact .ct-info-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem 1.6rem;
    text-align: center;
    box-shadow: 0 8px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid transparent;
}
.pg-contact .ct-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 50px rgba(0,0,0,0.13);
}
.pg-contact .ct-info-card--pink  { border-top-color: #EF1286; }
.pg-contact .ct-info-card--blue  { border-top-color: #2D53CB; }
.pg-contact .ct-info-card--teal  { border-top-color: #14A5A2; }
.pg-contact .ct-info-card--gold  { border-top-color: #FDC563; }
.pg-contact .ct-info-card__icon {
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 1.2rem;
}
.pg-contact .ct-info-card--pink  .ct-info-card__icon { background: #FFF0F6; }
.pg-contact .ct-info-card--blue  .ct-info-card__icon { background: #E8EDFF; }
.pg-contact .ct-info-card--teal  .ct-info-card__icon { background: #E6FBF9; }
.pg-contact .ct-info-card--gold  .ct-info-card__icon { background: #FFF8E1; }
.pg-contact .ct-info-card__label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #999;
    margin-bottom: 0.5rem;
}
.pg-contact .ct-info-card__value {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.4;
}
.pg-contact .ct-info-card__value a { color: inherit; }
.pg-contact .ct-info-card__value a:hover { color: #EF1286; }
.pg-contact .ct-info-card__sub {
    font-size: 0.82rem;
    color: #888;
    margin-top: 0.3rem;
}

/* ===== SECTION PRINCIPALE (formulaire + rdv) ===== */
.pg-contact .ct-main {
    background: #F8F9FE;
    padding: 1rem 2rem 5rem;
}
.pg-contact .ct-main__container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* ===== FORMULAIRE CONTACT ===== */
.pg-contact .ct-form-wrap {
    background: #fff;
    border-radius: 24px;
    padding: 2.5rem 2.5rem;
    box-shadow: 0 6px 30px rgba(0,0,0,0.07);
}
.pg-contact .ct-form-wrap__title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}
.pg-contact .ct-form-wrap__subtitle {
    font-size: 0.92rem;
    color: #777;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Styles CF7 */
.pg-contact .wpcf7-form .wpcf7-form-control-wrap,
.pg-contact .wpcf7-form p { margin-bottom: 1.2rem; }
.pg-contact .wpcf7-form input[type="text"],
.pg-contact .wpcf7-form input[type="email"],
.pg-contact .wpcf7-form input[type="tel"],
.pg-contact .wpcf7-form select,
.pg-contact .wpcf7-form textarea {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border: 2px solid #E8ECF4;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #1a1a2e;
    background: #F8F9FE;
    transition: border-color 0.25s, box-shadow 0.25s;
    outline: none;
}
.pg-contact .wpcf7-form input:focus,
.pg-contact .wpcf7-form select:focus,
.pg-contact .wpcf7-form textarea:focus {
    border-color: #2D53CB;
    box-shadow: 0 0 0 3px rgba(45,83,203,0.12);
    background: #fff;
}
.pg-contact .wpcf7-form textarea { min-height: 120px; resize: vertical; }
.pg-contact .wpcf7-form input[type="submit"] {
    background: linear-gradient(135deg, #EF1286, #2D53CB);
    color: #fff;
    border: none;
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
    letter-spacing: 0.5px;
}
.pg-contact .wpcf7-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(239,18,134,0.35);
}
.pg-contact .wpcf7-response-output {
    border-radius: 10px;
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* ===== PANNEAU RDV ===== */
.pg-contact .ct-rdv-wrap {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}
.pg-contact .ct-rdv-card {
    background: linear-gradient(135deg, #EF1286 0%, #694DDA 100%);
    border-radius: 24px;
    padding: 2.5rem;
    color: #fff;
    box-shadow: 0 8px 30px rgba(239,18,134,0.25);
}
.pg-contact .ct-rdv-card__icon { font-size: 2.5rem; margin-bottom: 1rem; }
.pg-contact .ct-rdv-card__title {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.7rem;
}
.pg-contact .ct-rdv-card__text {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.65;
    margin-bottom: 1.8rem;
}
.pg-contact .ct-rdv-card__btn {
    display: inline-block;
    background: #F8D66B;
    color: #1a1a2e;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 0.85rem 2.2rem;
    border-radius: 50px;
    transition: transform 0.3s, box-shadow 0.3s;
    letter-spacing: 0.5px;
}
.pg-contact .ct-rdv-card__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(248,214,107,0.5);
}

/* Horaires */
.pg-contact .ct-horaires {
    background: #fff;
    border-radius: 24px;
    padding: 2rem 2.2rem;
    box-shadow: 0 6px 30px rgba(0,0,0,0.07);
}
.pg-contact .ct-horaires__title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.pg-contact .ct-horaires__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 0;
    border-bottom: 1px solid #F0F2F8;
    font-size: 0.92rem;
}
.pg-contact .ct-horaires__row:last-child { border-bottom: none; }
.pg-contact .ct-horaires__day { color: #555; font-weight: 500; }
.pg-contact .ct-horaires__time { font-weight: 700; color: #1a1a2e; }
.pg-contact .ct-horaires__badge {
    display: inline-block;
    font-size: 0.72rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-weight: 700;
    text-transform: uppercase;
}
.pg-contact .ct-horaires__badge--open { background: #E6FBF9; color: #14A5A2; }
.pg-contact .ct-horaires__badge--closed { background: #FFF0F0; color: #E05; }

/* FAQ */
.pg-contact .ct-faq { background: #fff; padding: 5rem 2rem; }
.pg-contact .ct-faq__container { max-width: 800px; margin: 0 auto; }
.pg-contact .ct-faq__header { text-align: center; margin-bottom: 3rem; }
.pg-contact .ct-faq__tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #EF1286;
    margin-bottom: 0.8rem;
}
.pg-contact .ct-faq__h2 {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    color: #1a1a2e;
    margin: 0;
}
.pg-contact .ct-faq__item {
    border: 2px solid #F0F2F8;
    border-radius: 14px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: border-color 0.3s;
}
.pg-contact .ct-faq__item.open { border-color: #EF1286; }
.pg-contact .ct-faq__question {
    padding: 1.2rem 1.5rem;
    font-weight: 700;
    font-size: 1rem;
    color: #1a1a2e;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    user-select: none;
}
.pg-contact .ct-faq__question:hover { color: #EF1286; }
.pg-contact .ct-faq__chevron {
    font-size: 1.2rem;
    transition: transform 0.3s;
    flex-shrink: 0;
    color: #EF1286;
}
.pg-contact .ct-faq__item.open .ct-faq__chevron { transform: rotate(180deg); }
.pg-contact .ct-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.pg-contact .ct-faq__answer__inner {
    padding: 0 1.5rem 1.3rem;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
}

/* MAP — section pleine largeur, même gabarit d'en-tête que les autres
   sections de la page (tag + titre, cf. .ct-faq__tag / .ct-faq__h2) */
.ct-map-section {
    background: #F0F2FA;
    padding: 5rem 0 0;
}
/* 1200px : même largeur de conteneur que les autres sections pleine
   largeur du thème (cf. .doremi-footer__prefooter-inner) — l'ancien
   800px resserrait le bloc titre/bouton par rapport au reste de la
   page. L'iframe .ct-map-frame plus bas, elle, n'a jamais eu de
   marge/padding latéral et occupe déjà 100% de la largeur. */
.ct-map-container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.ct-map-header { text-align: center; margin-bottom: 2.5rem; }
.ct-map-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #EF1286;
    margin-bottom: 0.8rem;
}
.ct-map-h2 {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    color: #1a1a2e;
    margin: 0;
}
.ct-map-address {
    color: #666;
    margin-top: 0.8rem;
    font-size: 1rem;
}
.ct-map-directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 1.5rem;
    padding: 0.8rem 1.6rem;
    background: #14A5A2;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.92rem;
    box-shadow: 0 5px 15px rgba(20, 165, 162, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ct-map-directions-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(20, 165, 162, 0.45);
    color: #fff;
}
.ct-map-frame {
    border-radius: 0;
    border: none;
    width: 100%;
    height: 480px;
    display: block;
    margin-top: 2rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .pg-contact .ct-infos__grid { grid-template-columns: 1fr 1fr; }
    .pg-contact .ct-main__container { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .pg-contact .ct-infos__grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .pg-contact .ct-hero { padding: 4rem 1.2rem 3rem; }
    .pg-contact .ct-form-wrap { padding: 1.8rem 1.4rem; }
}
