/* Conteneur général de la page */
.novatra-page-annonce-recherche {
    max-width: 960px;
    margin: 3rem auto 4rem;
    padding: 0 1.5rem;
}

/* Titre de la page */
.novatra-page-title {
    font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 2.6rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 2.5rem;
}


/* Wrapper fourni par le plugin */
.novatra-annonce-recherche-wrapper {
    max-width: 960px;
    margin: 0 auto;
}

/* Cartouche blanc "Choisir une action" (style proche de Céder une technologie) */
.novatra-annonce-recherche-actions-box {
    background: #ffffff;
    border-radius: 24px;
    padding: 18px 2.5rem;
    padding: 30px 30px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    margin: 0 auto 3rem;
    max-width: 720px;
}

.novatra-annonce-recherche-intro {
    max-width: 720px;
    margin: 0 auto 1.5rem;
    font-size: 0.98rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 10px;
}


/* Titres et texte dans la carte */
.novatra-annonce-recherche-actions-box .actions-title {
    weight: 500; 
    font-size: clamp(34px, 6.2w, 52px)); 
    color: #000000; 
    margin-top: 15px;
    padding-top: 0; 
    margin-bottom: 33px;
    display: block;
    width: 100%;
    text-align: center;
 }

.novatra-annonce-recherche-actions-box .actions-intro {
    font-size: 15px;
    line-height: 1.5; 
    margin-bottom: 1.5rem;
    color: #475569;
    text-align: left;
}

/* Boutons d’action, style "pilule" avec dégradés (bleu / vert) */
.novatra-annonce-recherche-actions-box .actions-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;

}

.novatra-annonce-recherche-actions-box .action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    padding: 0.85rem 1.8rem;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #0062ff, #00c9ff);
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.35);
    transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
}

.novatra-annonce-recherche-actions-box .action-button.secondary {
    background: linear-gradient(135deg, #00b894, #00cec9);
    box-shadow: 0 10px 25px rgba(0, 184, 148, 0.30);
}

.novatra-annonce-recherche-actions-box .action-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
    opacity: 0.95;
}

.novatra-annonce-recherche-actions-box .action-button.is-active {
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.26);
}

/* Petit formulaire de reprise (mode edit) */
.novatra-annonce-recherche-login-box {
    max-width: 720px;
    margin: 2rem auto 2.5rem;
    padding: 1.75rem 2rem;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.novatra-annonce-recherche-login-box h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.novatra-annonce-recherche-login-box p {
    margin-bottom: 0.9rem;
}

.novatra-annonce-recherche-login-box label {
    font-weight: 500;
    font-size: 0.95rem;
}

.novatra-annonce-recherche-login-box input[type="email"],
.novatra-annonce-recherche-login-box input[type="text"],
.novatra-annonce-recherche-login-box input[type="password"] {
    width: 100%;
    max-width: 360px;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    border: 1px solid #d0d7e2;
    font-size: 0.95rem;
}

.novatra-annonce-recherche-error {
    color: #b00020;
    margin-bottom: 0.75rem;
}

.novatra-annonce-recherche-success {
    color: #00695c;
    margin-bottom: 0.75rem;
}

/* Bouton d’envoi du formulaire ACF */
.novatra-annonce-recherche-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    padding: 0.85rem 1.9rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 0.98rem;
    font-weight: 500;
    color: #ffffff;
    background: linear-gradient(135deg, #0062ff, #00c9ff);
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.35);
    transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
}

.novatra-annonce-recherche-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.22);
}

/* Un minimum de responsive */
@media (max-width: 640px) {
    .novatra-annonce-recherche-actions-box {
        padding: 1.5rem 1.5rem;
    }
    .novatra-annonce-recherche-actions-box .actions-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ------ Etoile rouge -------------------------------------- 
   ---------------------------------------------------------- */

.champ-obligatoire-required::after {
  content: " *";
  color: red;
  margin-left: 0.25em;
}

/* -------------------------------------------------
   * PAGE "Céder une technologie" (ID 452) :
   * Supprimer le spacer au-dessus du contenu
   * Masquer le titre WP
   ------------------------------------------------- */

body.page-id-452 .wp-block-spacer {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.page-id-452 .h1.wp-block-post-title {
    display: none !important;
}

div.wp-block-group has-global-padding is-layout-constrained wp-block-group-is-layout-constrained {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ----------------------------------------------------------
   1. Masquer le titre WordPress doublon sous le bandeau
   ---------------------------------------------------------- */

/* H1 automatique de la page (si encore affiché) 
.wp-block-post-title {
  display: none;
}
*/

/* Span "Acquérir une technologie" juste sous le bandeau 
.entry-content.wp-block-post-content > div > span:first-child {
  display: none;
}
*/

/* Acquérir une technologie : bloc principal type "carte" */
.page-acquerir-une-technologie .entry-content.wp-block-post-content {
  max-width: 960px;
  margin: -110px auto 80px;      /* remonte le bloc sous le bandeau noir */
  padding: 48px 56px 40px;
  background: #ffffff;
  border-radius: 32px;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.28);
}


/* Titre "Annonce de recherche à publier" */
.page-acquerir-une-technologie .entry-content h2:first-of-type {
  font-size: clamp(2.2rem, 3vw, 2.6rem);
  margin-top: 0;
  margin-bottom: 16px;
}

/* Paragraphes d’intro plus propres */
.page-acquerir-une-technologie .entry-content p {
  margin-bottom: 10px;
}

/* Note sur l’étoile légèrement espacée */
.page-acquerir-une-technologie .entry-content p:nth-of-type(2) {
  margin-bottom: 24px;
}
