/*
Theme Name: Instantanés du Monde Child
Theme URI: https://instantanesdumonde.com/
Description: Thème enfant Kadence pour instantanesdumonde.com
Author: Ton nom ou ta société
Author URI: https://www.instantanesdumonde.com/
Template: kadence
Version: 1.0.0
Text Domain: instantanesdumonde-child
*/

/* CSS personnalisé du thème enfant à ajouter ici plus tard */

/********************************************************
INSTANTANÉS DU MONDE – CSS ÉDITORIAL GLOBAL
Base charte : file:7 / structure éditoriale : file:6
********************************************************/

/* ===== Conteneur article ===== */
.single .entry-content,
.im-article {
  color: #2E2B28;
  font-family: 'Lato', sans-serif;
  line-height: 1.8;
  font-size: 18px;
}

.single .entry-content p,
.im-article p {
  margin: 0 0 1.25rem;
}

.single .entry-content > *:last-child,
.im-article > *:last-child {
  margin-bottom: 0;
}

/* ===== Titres dans les articles ===== */
.single .entry-content h2,
.single .entry-content h3,
.single .entry-content h4,
.im-article h2,
.im-article h3,
.im-article h4 {
  color: #1D5673;
  line-height: 1.3;
  margin-top: 2rem;
  margin-bottom: 0.85rem;
}

.single .entry-content h2,
.im-article h2 {
  font-size: 1.75rem;
}

.single .entry-content h3,
.im-article h3 {
  font-size: 1.3rem;
}

.single .entry-content h4,
.im-article h4 {
  font-size: 1.1rem;
}

/* ===== Listes, emphase, liens ===== */
.single .entry-content ul,
.single .entry-content ol,
.im-article ul,
.im-article ol {
  padding-left: 1.4rem;
  margin: 0 0 1.25rem;
}

.single .entry-content li,
.im-article li {
  margin-bottom: 0.35rem;
}

.single .entry-content em,
.im-article em {
  font-style: italic;
  color: #6F675F;
}

.single .entry-content a,
.im-article a {
  color: #1D5673;
  text-decoration: underline;
  text-decoration-color: #F2A65A;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

.single .entry-content a:hover,
.im-article a:hover {
  color: #F2A65A;
}

/* ===== TOC ===== */
.im-toc {
  position: relative;
  margin: 1.5rem 0;
  border: 1px solid #E2D7C8;
  background: #F3ECE3;
  font-family: 'Lato', sans-serif;
}

.im-toc h2 {
  background: #F3ECE3;
  padding: 10px 12px 10px 18px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: #1D5673;
  margin: 0;
  border-bottom: 1px solid #E2D7C8;
}

.im-toc h2:before {
  display: inline-block;
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 12px;
  border-color: transparent transparent transparent #F2A65A;
  margin-right: 8px;
}

.im-toc nav {
  padding: 10px 10px 12px 24px;
}

.im-toc nav a {
  color: #6F675F;
  text-decoration: none;
}

.im-toc nav a:hover {
  color: #1D5673;
}

/* ===== Encadré éditorial ===== */
.im-encadre {
  background-color: #F3ECE3;
  border: 2px solid #E2D7C8;
  padding: 20px;
  margin: 20px 0;
  border-radius: 6px;
  font-family: 'Lato', sans-serif;
  color: #2E2B28;
}

.im-encadre h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: #1D5673;
}

.im-encadre ul {
  margin: 0;
  padding-left: 1.2rem;
}

.im-encadre strong {
  color: #F2A65A;
}

.im-encadre--accent {
  border-color: #4CA8A3;
}

.im-encadre--accent h3 {
  color: #4CA8A3;
}

/* ===== Infos pratiques ===== */
.im-infos {
  background-color: #FAF6F0;
  border-left: 4px solid #1D5673;
  padding: 16px 20px;
  margin: 20px 0;
  border-radius: 4px;
  font-family: 'Lato', sans-serif;
  color: #2E2B28;
}

.im-infos h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.05rem;
  color: #1D5673;
}

.im-infos ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.im-infos li {
  margin-bottom: 6px;
}

.im-infos li strong {
  color: #6F675F;
}

/* ===== À lire aussi ===== */
.im-related {
  background-color: #F3ECE3;
  border-left: 4px solid #F2A65A;
  padding: 15px 20px;
  margin: 24px 0;
}

.im-related h4 {
  font-family: 'Lato', sans-serif;
  color: #1D5673;
  margin: 0 0 10px 0;
}

.im-related ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.im-related li {
  margin-bottom: 8px;
}

.im-related a {
  color: #6F675F;
  text-decoration: none;
  transition: color 0.2s ease;
}

.im-related a:hover {
  color: #1D5673;
}

/* ===== Blockquote ===== */
blockquote,
.im-quote {
  margin: 24px 0;
  padding: 16px 20px;
  border-left: 4px solid #1D5673;
  background-color: #FAF6F0;
  font-style: italic;
  color: #2E2B28;
}

blockquote cite,
.im-quote cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 0.9rem;
  color: #6F675F;
}

/* ===== Images & légendes ===== */
.im-figure,
.wp-block-image,
.wp-block-gallery {
  margin: 24px 0;
}

.im-figure img,
.wp-block-image img,
.wp-block-gallery img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.im-figure figcaption,
.wp-block-image figcaption,
.wp-block-gallery figcaption {
  font-size: 0.85rem;
  color: #6F675F;
  margin-top: 6px;
  text-align: left;
}

.im-figure--left,
.im-figure--right {
  max-width: 320px;
}

.im-figure--left {
  float: left;
  margin: 0 20px 10px 0;
}

.im-figure--right {
  float: right;
  margin: 0 0 10px 20px;
}

/* ===== Galerie Gutenberg ===== */
.wp-block-gallery {
  gap: 12px;
}

.wp-block-gallery.has-nested-images figure.wp-block-image {
  margin: 0;
}

.wp-block-gallery.has-nested-images figure.wp-block-image img {
  border-radius: 6px;
}

/******************* TABLEAUX RESPONSIVE – NOUVELLE VERSION ****************/
.table-responsive {
  width: 100%;
  margin: 28px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Table de base */
.article-comparison {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-family: 'Lato', sans-serif;
  font-size: 0.98rem;
  line-height: 1.5;
  background-color: #FAF6F0;
  border: 1px solid #E2D7C8;
  border-radius: 8px;
  overflow: hidden;
}

/* Cellules */
.article-comparison th,
.article-comparison td {
  padding: 14px 16px;
  text-align: left;
  border: 1px solid #EDE3D6;
  vertical-align: top;
}

/* En-têtes */
.article-comparison thead th {
  background-color: #F3ECE3;
  color: #1D5673;
  font-weight: 700;
  font-size: 0.95rem;
}

/* Lignes */
.article-comparison tbody tr:nth-child(odd) {
  background-color: #FFFFFF;
}

.article-comparison tbody tr:nth-child(even) {
  background-color: #FCF9F5;
}

/* Hover desktop */
.article-comparison tbody tr:hover {
  background-color: #F6EFE6;
}

/* Colonne centrale : légère mise en avant, sans bloc massif */
.article-comparison tbody td:nth-child(2) {
  white-space: normal;      /* permet de passer à la ligne */
  font-weight: 500;         /* semi-bold, moins lourd que 600 */
  color: #1D5673;           /* conserve la couleur d'accent */
}

/* Mobile & petite tablette : fiches lisibles en une seule colonne */
@media screen and (max-width: 768px) {
  .article-comparison {
    border: none;
    background-color: transparent;
  }

  .article-comparison thead {
    display: none; /* on masque l’en-tête */
  }

  .article-comparison,
  .article-comparison tbody,
  .article-comparison tr,
  .article-comparison td {
    display: block;
    width: 100%;
  }

  .article-comparison tr {
    margin-bottom: 1rem;
    border: 1px solid #E2D7C8;
    border-radius: 8px;
    background-color: #FFFFFF;
    overflow: hidden;
  }

  .article-comparison td {
    border: none;
    border-bottom: 1px solid #EFE7DC;
    text-align: left;          /* tout à gauche */
    position: static;          /* plus de positionnement absolu */
    padding: 0.8rem 0.9rem;
    font-size: 0.95rem;
    white-space: normal;
  }

  .article-comparison td:last-child {
    border-bottom: none;
  }

  /* On affiche le label au-dessus du contenu via data-label */
  .article-comparison td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 700;
    color: #6F675F;
  }
}

/* ===== Cards ===== */
.im-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.im-card {
  background-color: #FAF6F0;
  border: 1px solid #E2D7C8;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.im-card h3 {
  font-size: 1.05rem;
  margin: 0;
  color: #1D5673;
}

.im-card p {
  margin: 0;
  color: #2E2B28;
}

.im-card .im-card-meta {
  font-size: 0.85rem;
  color: #6F675F;
}

/* ===== CTA ===== */
.im-cta {
  display: inline-block;
  background-color: #1D5673;
  color: #F5F5F5 !important;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none !important;
  font-weight: 600;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.im-cta:hover {
  background-color: #F2A65A;
  color: #2E2B28 !important;
  transform: translateY(-1px);
}

/* ===== Note éditoriale ===== */
.im-note {
  background-color: #2F3943;
  color: #F5F5F5;
  padding: 12px 16px;
  margin: 20px 0;
  border-radius: 4px;
  font-size: 0.9rem;
}

.im-note,
.im-note p {
  color: #F5F5F5;
}

.im-note a,
.im-article .im-note a,
.single .entry-content .im-note a {
  color: #F5F5F5 !important;
  text-decoration: underline !important;
  text-decoration-color: #F2A65A !important;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  border-bottom: none !important;
}

.im-note a:hover,
.im-article .im-note a:hover,
.single .entry-content .im-note a:hover {
  color: #F2A65A !important;
  text-decoration-color: #F2A65A !important;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .single .entry-content,
  .im-article {
    font-size: 17px;
    line-height: 1.75;
  }

  .single .entry-content h2,
  .im-article h2 {
    font-size: 1.5rem;
  }

  .single .entry-content h3,
  .im-article h3 {
    font-size: 1.2rem;
  }

  .im-figure--left,
  .im-figure--right {
    float: none;
    max-width: 100%;
    margin: 16px 0;
  }

  .im-encadre,
  .im-infos,
  .im-related,
  .im-note,
  blockquote,
  .im-quote {
    padding: 14px 16px;
  }

  .im-card-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .single .entry-content table,
  .im-article table,
  .table-responsive table {
    min-width: 560px;
  }
}

/* ===== Easy Table of Contents ===== */
.im-article #ez-toc-container,
.single .entry-content #ez-toc-container {
  background: #F3ECE3 !important;
  border: 1px solid #E2D7C8 !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 24px 0 32px !important;
  font-family: 'Lato', sans-serif;
}

.im-article .ez-toc-title-container,
.single .entry-content .ez-toc-title-container {
  background: #F3ECE3;
  padding: 12px 18px;
  border-bottom: 1px solid #E2D7C8;
}

.im-article .ez-toc-title,
.single .entry-content .ez-toc-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem !important;
  font-weight: 700;
  color: #1D5673 !important;
}

.im-article .ez-toc-title::before,
.single .entry-content .ez-toc-title::before {
  content: "▸";
  color: #F2A65A;
  margin-right: 8px;
  font-size: 0.95em;
}

.im-article #ez-toc-container nav,
.single .entry-content #ez-toc-container nav,
.im-article #ez-toc-container ul,
.single .entry-content #ez-toc-container ul {
  margin: 0 !important;
  padding: 12px 18px 16px 24px !important;
}

.im-article #ez-toc-container ul li,
.single .entry-content #ez-toc-container ul li {
  margin-bottom: 8px !important;
  line-height: 1.45;
}

.im-article #ez-toc-container ul li a,
.single .entry-content #ez-toc-container ul li a {
  color: #1D5673 !important;
  text-decoration: none !important;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.im-article #ez-toc-container ul li a:hover,
.single .entry-content #ez-toc-container ul li a:hover {
  color: #F2A65A !important;
  border-bottom-color: #F2A65A;
}

.im-article #ez-toc-container .ez-toc-list ul,
.single .entry-content #ez-toc-container .ez-toc-list ul {
  padding-left: 18px !important;
  margin-top: 6px !important;
}

.im-article #ez-toc-container .ez-toc-toggle a,
.single .entry-content #ez-toc-container .ez-toc-toggle a,
.im-article #ez-toc-container .ez-toc-btn,
.single .entry-content #ez-toc-container .ez-toc-btn {
  color: #6F675F !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.im-article #ez-toc-container .ez-toc-btn svg,
.single .entry-content #ez-toc-container .ez-toc-btn svg {
  fill: #6F675F !important;
}

/* Variante plus compacte mobile */
@media (max-width: 768px) {
  .im-article #ez-toc-container,
  .single .entry-content #ez-toc-container {
    margin: 20px 0 24px !important;
  }

  .im-article .ez-toc-title-container,
  .single .entry-content .ez-toc-title-container {
    padding: 10px 14px;
  }

  .im-article .ez-toc-title,
  .single .entry-content .ez-toc-title {
    font-size: 1.05rem !important;
  }

  .im-article #ez-toc-container nav,
  .single .entry-content #ez-toc-container nav,
  .im-article #ez-toc-container ul,
  .single .entry-content #ez-toc-container ul {
    padding: 10px 14px 14px 20px !important;
  }

  .im-article #ez-toc-container ul li,
  .single .entry-content #ez-toc-container ul li {
    margin-bottom: 6px !important;
  }
}
/******************* FAQ – BLOCS QUESTIONS / RÉPONSES (RANK MATH) *******************/

/* Wrapper global */
.single .entry-content #rank-math-rich-snippet-wrapper,
.im-article #rank-math-rich-snippet-wrapper {
  margin: 24px 0 28px;
  font-family: 'Lato', sans-serif;
}

/* Bloc FAQ principal */
.single .entry-content #rank-math-rich-snippet-wrapper .rank-math-block,
.im-article #rank-math-rich-snippet-wrapper .rank-math-block {
  background-color: #FAF6F0;
  border: 1px solid #E2D7C8;
  border-radius: 8px;
  padding: 18px 20px;
  box-shadow: none;
}

/* Liste */
.single .entry-content #rank-math-rich-snippet-wrapper .rank-math-list,
.im-article #rank-math-rich-snippet-wrapper .rank-math-list {
  margin: 0;
  padding: 0;
}

/* Item */
.single .entry-content #rank-math-rich-snippet-wrapper .rank-math-list-item,
.im-article #rank-math-rich-snippet-wrapper .rank-math-list-item {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #E2D7C8;
}

.single .entry-content #rank-math-rich-snippet-wrapper .rank-math-list-item:last-child,
.im-article #rank-math-rich-snippet-wrapper .rank-math-list-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

/* Question */
.single .entry-content #rank-math-rich-snippet-wrapper .rank-math-question,
.im-article #rank-math-rich-snippet-wrapper .rank-math-question {
  margin: 0 0 8px 0;
  font-size: 1.05rem;
  line-height: 1.45;
  font-weight: 700;
  color: #1D5673;
}

/* Réponse */
.single .entry-content #rank-math-rich-snippet-wrapper .rank-math-answer,
.im-article #rank-math-rich-snippet-wrapper .rank-math-answer {
  color: #2E2B28;
  font-size: 1rem;
  line-height: 1.7;
}

.single .entry-content #rank-math-rich-snippet-wrapper .rank-math-answer p,
.im-article #rank-math-rich-snippet-wrapper .rank-math-answer p {
  margin: 0 0 0.75rem;
  color: #2E2B28;
}

.single .entry-content #rank-math-rich-snippet-wrapper .rank-math-answer p:last-child,
.im-article #rank-math-rich-snippet-wrapper .rank-math-answer p:last-child {
  margin-bottom: 0;
}

/* Liens dans réponses */
.single .entry-content #rank-math-rich-snippet-wrapper .rank-math-answer a,
.im-article #rank-math-rich-snippet-wrapper .rank-math-answer a {
  color: #1D5673;
  text-decoration: underline;
  text-decoration-color: #F2A65A;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

.single .entry-content #rank-math-rich-snippet-wrapper .rank-math-answer a:hover,
.im-article #rank-math-rich-snippet-wrapper .rank-math-answer a:hover {
  color: #F2A65A;
}

/* Listes éventuelles dans les réponses */
.single .entry-content #rank-math-rich-snippet-wrapper .rank-math-answer ul,
.single .entry-content #rank-math-rich-snippet-wrapper .rank-math-answer ol,
.im-article #rank-math-rich-snippet-wrapper .rank-math-answer ul,
.im-article #rank-math-rich-snippet-wrapper .rank-math-answer ol {
  margin: 0.5rem 0 0.75rem 1.2rem;
  padding: 0;
}

.single .entry-content #rank-math-rich-snippet-wrapper .rank-math-answer li,
.im-article #rank-math-rich-snippet-wrapper .rank-math-answer li {
  margin-bottom: 0.35rem;
  color: #2E2B28;
}

/* Mobile */
@media (max-width: 768px) {
  .single .entry-content #rank-math-rich-snippet-wrapper .rank-math-block,
  .im-article #rank-math-rich-snippet-wrapper .rank-math-block {
    padding: 14px 16px;
    border-radius: 6px;
  }

  .single .entry-content #rank-math-rich-snippet-wrapper .rank-math-question,
  .im-article #rank-math-rich-snippet-wrapper .rank-math-question {
    font-size: 1rem;
  }

  .single .entry-content #rank-math-rich-snippet-wrapper .rank-math-answer,
  .im-article #rank-math-rich-snippet-wrapper .rank-math-answer {
    font-size: 0.98rem;
    line-height: 1.65;
  }
}

/* Grille 2 colonnes pour certains champs CF7 */
.wpcf7 form .form-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 2rem;
  margin-bottom: 1.5rem;
}

.wpcf7 form .form-grid-2col label {
  display: block;
}

/* Mobile : 1 colonne */
@media (max-width: 768px) {
  .wpcf7 form .form-grid-2col {
    grid-template-columns: 1fr;
  }
}

.wpcf7 form .form-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

/* ===== MODALE NEWSLETTER — INSTANTANÉS DU MONDE ===== */

.idm-boxzilla-newsletter {
  background: #FAF6F0;
  color: #2E2B28;
  border: 1px solid #E2D7C8;
  border-radius: 10px;
  padding: 22px;
  max-width: 620px;
  box-sizing: border-box;
  font-family: Lato, sans-serif;
}

.idm-boxzilla-newsletter .idm-boxzilla-header {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 14px;
}

.idm-boxzilla-newsletter .idm-boxzilla-photo {
  width: 92px;
  min-width: 92px;
  justify-self: start;
}

.idm-boxzilla-newsletter .idm-boxzilla-photo img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.idm-boxzilla-newsletter .idm-boxzilla-intro {
  min-width: 0;
}

.idm-boxzilla-newsletter .idm-boxzilla-intro h2 {
  margin: 0 0 8px 0;
  color: #1D5673;
  font-family: "Playfair Display", serif;
  font-size: 1.7rem;
  line-height: 1.2;
  font-weight: 700;
}

.idm-boxzilla-newsletter .idm-boxzilla-intro p,
.idm-boxzilla-newsletter .idm-boxzilla-texte p {
  margin: 0 0 10px 0;
  color: #2E2B28;
  font-size: 0.98rem;
  line-height: 1.6;
}

.idm-boxzilla-newsletter .idm-boxzilla-texte {
  margin-bottom: 14px;
}

.idm-boxzilla-newsletter .idm-boxzilla-texte p:last-child {
  margin-bottom: 0;
}

/* ===== FORMULAIRE BREVO — INSTANTANÉS DU MONDE ===== */

.idm-newsletter-form {
  margin-top: 6px;
}

/* On nettoie les <p> éventuels */
.idm-newsletter-form p {
  margin: 0 0 8px 0;
}

/* Grille 2 colonnes */
.idm-newsletter-form .idm-form-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin-bottom: 8px;
}

/* Paragraphes de champs */
.idm-boxzilla-newsletter .sib-FIRSTNAME-area,
.idm-boxzilla-newsletter .sib-NOM-area,
.idm-boxzilla-newsletter .sib-LASTNAME-area,
.idm-boxzilla-newsletter .sib-PRENOM-area,
.idm-boxzilla-newsletter .sib-email-area {
  font-size: 0.9rem;
  color: #2E2B28;
  font-family: Lato, sans-serif;
}

/* Champs */
.idm-boxzilla-newsletter input[type="email"],
.idm-boxzilla-newsletter input[type="text"] {
  width: 100%;
  padding: 9px 10px;
  margin-top: 4px;
  border-radius: 6px;
  border: 1px solid #E2D7C8;
  background: #FAF6F0;
  font-family: Lato, sans-serif;
  font-size: 0.95rem;
  color: #2E2B28;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.idm-boxzilla-newsletter input[type="email"]::placeholder,
.idm-boxzilla-newsletter input[type="text"]::placeholder {
  color: #6F675F;
}

.idm-boxzilla-newsletter input[type="email"]:focus,
.idm-boxzilla-newsletter input[type="text"]:focus {
  outline: none;
  border-color: #1D5673;
  background-color: #fffdfa;
  box-shadow: 0 0 0 2px rgba(29, 86, 115, 0.14);
}

/* Bouton */
.idm-boxzilla-newsletter .sib-default-btn,
.idm-boxzilla-newsletter input[type="submit"] {
  width: 100%;
  padding: 10px 14px;
  background-color: #1D5673;
  color: #F5F5F5;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-family: Lato, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

.idm-boxzilla-newsletter .sib-default-btn:hover,
.idm-boxzilla-newsletter input[type="submit"]:hover {
  background-color: #F2A65A;
  color: #2E2B28;
  transform: translateY(-1px);
}

/* Colonne du bouton */
.idm-boxzilla-newsletter .idm-form-grid-2col p:last-child {
  display: flex;
  align-items: flex-end;
  margin: 0;
}

/* Le bouton prend toute la largeur disponible */
.idm-boxzilla-newsletter .idm-form-grid-2col p:last-child .sib-default-btn,
.idm-boxzilla-newsletter .idm-form-grid-2col p:last-child input[type="submit"] {
  width: 100%;
}

/* Forcer label au-dessus du champ pour Prénom et Nom */
.idm-boxzilla-newsletter .idm-form-grid-2col p.sib-FIRSTNAME-area,
.idm-boxzilla-newsletter .idm-form-grid-2col p.sib-NOM-area,
.idm-boxzilla-newsletter .idm-form-grid-2col p.sib-PRENOM-area,
.idm-boxzilla-newsletter .idm-form-grid-2col p.sib-LASTNAME-area {
  display: block;
}

.idm-boxzilla-newsletter .idm-form-grid-2col p.sib-FIRSTNAME-area br,
.idm-boxzilla-newsletter .idm-form-grid-2col p.sib-PRENOM-area br,
.idm-boxzilla-newsletter .idm-form-grid-2col p.sib-NOM-area br,
.idm-boxzilla-newsletter .idm-form-grid-2col p.sib-LASTNAME-area br {
  display: inline;
}

.idm-boxzilla-newsletter .idm-form-grid-2col p.sib-FIRSTNAME-area input,
.idm-boxzilla-newsletter .idm-form-grid-2col p.sib-PRENOM-area input,
.idm-boxzilla-newsletter .idm-form-grid-2col p.sib-NOM-area input,
.idm-boxzilla-newsletter .idm-form-grid-2col p.sib-LASTNAME-area input {
  display: block;
  margin-top: 4px;
}

/* Note RGPD */
.idm-boxzilla-newsletter .sib-rgpd-note {
  font-size: 0.8rem;
  line-height: 1.45;
  color: #6F675F;
  margin-top: 8px;
  font-family: Lato, sans-serif;
}

.idm-boxzilla-newsletter .sib-rgpd-note label {
  display: block;
}

.idm-boxzilla-newsletter .sib-rgpd-note input[type="checkbox"] {
  margin-right: 6px;
  vertical-align: middle;
}

.idm-boxzilla-newsletter .sib-rgpd-note a {
  color: #1D5673;
  text-decoration: underline;
  text-decoration-color: #F2A65A;
  text-underline-offset: 2px;
}

.idm-boxzilla-newsletter .sib-rgpd-note a:hover {
  color: #F2A65A;
}

/* ===== RESPONSIVE MOBILE ===== */

@media (max-width: 480px) {
  .idm-boxzilla-newsletter {
    padding: 18px;
  }

  .idm-boxzilla-newsletter .idm-boxzilla-header {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .idm-boxzilla-newsletter .idm-boxzilla-photo {
    width: 80px;
    min-width: 80px;
    justify-self: flex-start;
  }

  .idm-boxzilla-newsletter .idm-boxzilla-photo img {
    width: 80px;
    height: 80px;
  }

  .idm-newsletter-form .idm-form-grid-2col {
    grid-template-columns: 1fr;
  }

  .idm-boxzilla-newsletter .idm-boxzilla-intro h2 {
    font-size: 1.45rem;
  }
}