/* Cœur à Dom – corrections communes à toutes les pages (chargé après le style de chaque page) */

/* nom de l'entreprise dans l'en-tête (n'est plus un titre h1 : un seul titre principal par page) */
header .titre-centre .marque { font-family: Georgia, serif; font-style: italic; font-size: 52px; color: #7A0C1F; line-height: 1; margin: 0; font-weight: normal; }
@media (max-width: 600px) { header .titre-centre .marque { font-size: 28px; } }

/* menu plus lisible sur ordinateur (12 rubriques sur 2 lignes si besoin) */
@media (min-width: 769px) {
  nav { flex-wrap: wrap !important; justify-content: center !important; overflow: visible !important; gap: 4px 6px !important; }
  nav a { font-family: Arial, Helvetica, sans-serif; font-size: 15px !important; padding: 8px 12px !important; }
  nav a:hover { background: #FFF3E0; }
}

/* liens téléphone dans les bandeaux */
.bandeau-devis a, .bandeau a { color: inherit; text-decoration: none; white-space: nowrap; }

/* rien ne doit dépasser en largeur sur téléphone */
img { max-width: 100%; height: auto; }
@media (max-width: 700px) {
  .split .photo { flex: 1 1 100% !important; max-width: 100% !important; min-width: 0 !important; }
  .split .content { min-width: 0 !important; }
  .cards { flex-direction: column; }
  .cards .card, .cards .card-eng { flex: 1 1 auto !important; min-width: 0 !important; width: 100%; }
  .split .photo img { height: auto !important; }
  .boutons-contact { position: static !important; width: auto !important; flex-direction: row !important; flex-wrap: wrap; margin-bottom: 18px; }
  .hero:has(.boutons-contact) { flex-direction: column; justify-content: center; align-items: flex-start !important; height: auto !important; min-height: 75vh; padding-top: 24px !important; padding-bottom: 24px !important; }
}

/* pied de page commun */
footer { background: #7A0C1F; color: #fff; text-align: center; padding: 24px; font-size: 14px; line-height: 1.8; font-family: Georgia, serif; }
footer .pied-liens { margin-top: 6px; font-size: 13px; }
footer .pied-liens a { color: #FFE9C9; font-weight: normal; text-decoration: underline; }
footer #pied-legal { display: block; font-size: 12.5px; opacity: .85; }
footer a { color: #FFE9C9; }

/* formulaires : message d'erreur, piège à robots */
.piege { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.erreur-envoi { color: #9b1c1c; background: #fdecec; border-radius: 10px; padding: 10px 12px; margin-top: 12px; font-family: Arial, sans-serif; font-size: 15px; }
.erreur-envoi:empty { display: none; }
.rgpd { font-size: 12.5px; color: #666; margin-top: 10px; font-family: Arial, sans-serif; line-height: 1.5; }
.summary .rgpd { color: #fff; opacity: .85; }
.rgpd a { color: inherit; }

/* pages légales */
.page-legale { max-width: 820px; margin: 0 auto; padding: 26px 18px 44px; }
.page-legale h1 { color: #7A0C1F; font-size: 32px; text-align: center; margin-bottom: 18px; }
.page-legale h2 { color: #7A0C1F; font-size: 21px; margin: 26px 0 8px; }
.page-legale p, .page-legale li { font-size: 16px; margin-bottom: 8px; }
.page-legale ul { padding-left: 22px; }
.page-legale .a-completer:empty::before { content: "[à compléter]"; color: #b45309; background: #fff7e6; padding: 0 4px; border-radius: 4px; }

/* page d'accueil : bandeau de réassurance sous la grande photo */
.atouts { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; max-width: 1080px; margin: 0 auto; padding: 30px 18px; font-family: Georgia, serif; }
.atouts a { flex: 1 1 220px; max-width: 250px; background: #fff; border: 2px solid #C9A86A; border-radius: 12px; padding: 18px; text-align: center; text-decoration: none; color: #222; }
.atouts b { display: block; color: #7A0C1F; font-size: 19px; margin-bottom: 6px; }
.atouts span { font-size: 15px; line-height: 1.45; }

/* rien ne dépasse sur les côtés (plumes de la charte) */
html, body { overflow-x: clip; }

.summary a, .info-box a { color: inherit; }

/* ---------- menu simplifié ---------- */
.nav-devis { background: #7A0C1F !important; color: #fff !important; font-weight: bold; }
@media (min-width: 769px) { nav a { font-size: 16px !important; padding: 9px 16px !important; } }

/* ---------- barre Appeler / Devis fixe sur téléphone ---------- */
.barre-mobile { display: none; }
@media (max-width: 768px) {
  .barre-mobile { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1500; box-shadow: 0 -4px 14px rgba(0,0,0,.15); }
  .barre-mobile a { flex: 1; text-align: center; padding: 16px 8px; font-family: Arial, sans-serif; font-weight: bold; font-size: 17px; text-decoration: none; background: #7A0C1F; color: #fff; }
  .barre-mobile a + a { background: #4F6B55; }
  body:has(.barre-mobile) { padding-bottom: 56px; }
}

.page-legale h2.grand { font-size: 26px; margin-top: 44px; padding-top: 24px; border-top: 2px solid #E5DCCB; }
.page-legale h3 { color: #7A0C1F; font-size: 18px; margin: 20px 0 6px; }
