#search-toggle:hover svg {
  color: #fff !important;
  stroke: #fff !important;
}
/* Hover du bouton search-toggle : texte blanc */
#search-toggle:hover {
  color: #fff !important;
}
/* Utilitaire pour le bouton search-toggle actif (desktop) */
.search-active {
  background: rgb(247, 72, 96) !important;
  color: #fff !important;
}
/*
Theme Name: Experts-Comptables Centre-Val de Loire
Theme URI: https://www.experts-comptables-centrevaldeloire.fr
Author: Senior Frontend Engineer
Description: Une refonte moderne basée sur Tailwind CSS et Lucide Icons.
Version: 1.0.0
Text Domain: ec-cvdl
*/

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;900&family=Playfair+Display:wght@700&display=swap");

:root {
  --brand-primary: rgb(247, 72, 96);
  --brand-dark: #0f172a;
  --brand-black: #020617;
}

body {
  font-family: "Inter", sans-serif;
  scroll-behavior: smooth;
}

.font-serif {
  font-family: "Playfair Display", serif;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-marquee {
  animation: marquee 40s linear infinite;
}

.text-brand {
  color: var(--brand-primary);
}
.bg-brand {
  background-color: var(--brand-primary);
}

body.admin-bar #main-header {
  top: 32px;
}

#main-header {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.header-transparent {
  background-color: transparent;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

::selection {
  background-color: rgba(247, 72, 96, 0.2);
  color: var(--brand-primary);
}

.logged-in header {
  margin-top: 32px;
}

@media (max-width: 767px) {
  .logged-in header {
    margin-top: 45px;
  }
}

* Checklist Style for Lists */ .editorial-wrapper ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 32px;
  height: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(247, 72, 96)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  margin-bottom: 2.5rem;
}
.editorial-wrapper p,
.wp-block-image img {
  margin-bottom: 1.5rem;
  background-repeat: no-repeat;
}

.editorial-image-full .caption {
  position: absolute;
  bottom: -4rem;
  right: 4rem;
  background: white;
  padding: 3rem 4rem;
  border-radius: 3.5rem;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.1);
  max-width: 450px;
  border: 1px solid rgba(0, 0, 0, 0.03);
  font-size: 1.1rem;
  line-height: 1.6;
  font-weight: 500;
  color: #64748b;
  font-style: italic;
  z-index: 20;
}
@media (max-width: 768px) {
  .editorial-image-full {
    margin: 6rem 0;
  }
  .editorial-image-full .caption {
    position: relative;
    bottom: auto;
    right: auto;
    margin: 2rem auto;
    max-width: 90%;
    padding: 2rem;
  }
}

/* Large Quotes Styling */
.editorial-wrapper blockquote::before {
  content: '"';
  position: absolute;
  top: -60px;
  left: 40px;
  font-family: "Playfair Display", serif;
  font-size: 22rem;
  color: rgb(247, 72, 96);
  opacity: 0.08;
  line-height: 1;
}

/* Infobox "Le Saviez-vous" */
.editorial-infobox {
  background: rgb(247, 72, 96, 0.04);
  border-left: 8px solid rgb(247, 72, 96);
  padding: 4rem 5rem;
  border-radius: 0 4rem 4rem 0;
  margin: 10rem 0;
  box-shadow: inset 10px 0 30px -10px rgba(247, 72, 96, 0.1);
}
.editorial-infobox h4 {
  margin-top: 0 !important;
  color: rgb(247, 72, 96) !important;
  font-family: "Inter", sans-serif !important;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 1rem !important;
  font-weight: 900 !important;
  margin-bottom: 2rem !important;
}
.editorial-infobox p {
  margin-bottom: 0 !important;
  font-size: 1.25rem !important;
  color: #475569 !important;
}

.wp-block-video {
  margin-bottom: 30px !important;
}

/* Formulaires premium */
body:not(.template-annuaire):not(.template-front-page):not(.template-centre-documentaire):not(.template-agenda):not(.template-actualites) .main input[type="text"],
body:not(.template-annuaire):not(.template-front-page):not(.template-centre-documentaire):not(.template-agenda):not(.template-actualites) .main input[type="email"],
body:not(.template-annuaire):not(.template-front-page):not(.template-centre-documentaire):not(.template-agenda):not(.template-actualites) .main input[type="url"],
body:not(.template-annuaire):not(.template-front-page):not(.template-centre-documentaire):not(.template-agenda):not(.template-actualites) .main input[type="password"],
body:not(.template-annuaire):not(.template-front-page):not(.template-centre-documentaire):not(.template-agenda):not(.template-actualites) .main textarea,
body:not(.template-annuaire):not(.template-front-page):not(.template-centre-documentaire):not(.template-agenda):not(.template-actualites) .main select {
  width: 100%;
  padding: 1.2rem 1.6rem;
  border-radius: 1.5rem;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  font-size: 1.1rem;
  color: #334155;
  margin-bottom: 2rem;
  transition:
    border 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 2px 8px 0 rgba(100, 116, 139, 0.04);
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border-color: rgb(247, 72, 96);
  outline: none;
  box-shadow: 0 0 0 2px rgba(247, 72, 96, 0.08);
}
input[type="submit"].gform_button.button {
  background: rgb(247, 72, 96);
  color: #fff;
  border: none;
  border-radius: 1.5rem;
  padding: 1.2rem 2.5rem;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition:
    background 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 2px 8px 0 rgba(247, 72, 96, 0.08);
}

/* --- Styles éditoriaux pour pages et articles --- */
.editorial-wrapper ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 2.5rem;
}
.editorial-wrapper ul li {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  color: #475569;
}
.editorial-wrapper ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.1em;
  font-size: 1.5em;
  color: #f74860;
  width: 1.5em;
  height: 1.5em;
  line-height: 1;
}

.editorial-wrapper ul ul {
  margin-top: 1.2rem;
  margin-left: 1.5em;
  margin-bottom: 1.2rem !important;
}
.editorial-wrapper ul ul li {
  padding-left: 2em;
  margin-bottom: 0.7em;
  font-size: 1rem;
  color: #64748b;
}

.editorial-wrapper ul ul li:last-child {
  margin-bottom: 0;
}

.editorial-wrapper ul ul li::before {
  font-size: 1em;
  color: #f7b2be;
}

.editorial-wrapper h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 3.5rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid #f7b2be;
  padding-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.editorial-wrapper h3 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 700;
  color: #f74860;
  margin-top: 2.5rem;
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
}
