/* Custom styling for Ebitdata theme2 */
body {
  background-color: #ffffdf;
  background-image: url('../images/symb_ebitdata.svg');
  background-repeat: repeat;
  background-size: 32px 32px; /* Ajuste selon le rendu */

}

h1, h2, h3 {
  color: #525763;
}

/* Empêche le logo d’être recouvert */
.site-logo {
  position: relative;
  z-index: 2;
}
/* Remplace le rectangle bleu d'origine Olivero par orange ebitdata */
.site-header__initial {
  background-color: #f3971d !important;
}
/* === 1. Correction du soulignement bleu du lien actif du menu === */
.primary-nav a.is-active {
  border-bottom: 2px solid #f3971d !important;
  color: #212121 !important;
}

/* === 2. Liens classiques (hors menu) === */
a {
  color: #f3971d;
  text-decoration: underline;
}

a:hover,
a:focus {
  color: #d87f0c;
  text-decoration: none;
}

/* === 3. Supprime le carré bleu dans le header sticky rétracté === */
.sticky-header-toggle {
  background-color: #f3971d !important;
  border: none;
}

.sticky-header-toggle__icon span {
  background-color: white !important;
}
/* === 4. Menu sticky mobile déroulant === */
@media (max-width: 768px) {
  .header-nav.is-active {
    display: block !important;
  }

  .primary-nav__menu a {
    color: #212121;
    text-decoration: none;
  }

  .primary-nav__menu a:hover {
    color: #f3971d;
  }
}

/* === BLOC DE STYLES PERSONNALISÉS EBIDATA (CONTENU) === */
/* HERO BANNER, DOMAINES D’INTERVENTION, BLOG, ACTUALITÉS, BOUTONS, TÉMOIGNAGES, etc. */

/* ==================== À PROPOS  ==================== */
.fond-orange-leger {
  background-color: #fff4e5; /* orange clai */
  padding: 2rem;
  border-radius: 16px;
  margin: 2rem auto;
}
/* ==================== FEATURES SECTION  ==================== */

.features-section {
  background-color: #fff4e5; /* même fond que hero/banner */
  padding: 3rem 2rem;
  margin: 2rem 0;
  border-radius: 16px;
}

.features-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #212121;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 960px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.features-list li {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  font-size: 1rem;
  line-height: 1.5;
}

.features-list li strong {
  display: block;
  font-size: 1.1rem;
  color: #f3971d;
  margin-bottom: 0.5rem;
}

/* ==================== HERO BANNER (2 COLONNES)  ==================== */
#block-ebitdata-theme2-01herocta .block-content--type-bloc-personnalise-hero-2-colonne {
  background-color: #fff4e5;
  border-radius: 16px;
  padding: 3rem;
  margin: 2rem 0;
  overflow: hidden;
}

.ds-2col {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: nowrap;
}

.ds-2col > .group-left {
  width: 55%;
  padding-right: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ds-2col > .group-right {
  width: 45%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ds-2col .group-left h1 {
  font-size: 2.3rem;
  line-height: 1.4;
  color: #212121;
  font-weight: 700;
  margin-bottom: 2rem;
}

.ds-2col .group-left p {
  margin: 0;
}

.ds-2col .group-right img {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .ds-2col {
    flex-direction: column;
    padding: 2rem 1rem;
  }
  .ds-2col > .group-left,
  .ds-2col > .group-right {
    width: 100%;
    padding: 0;
  }

  .ds-2col .group-left h1 {
    font-size: 1.8rem;
    text-align: center;
  }

  .ds-2col .group-right img {
    max-height: 200px;
  }
}
/* ==================== DOMAINE D'INTERVENTION  ==================== */
.tiles-section {
  padding: 3rem 1rem;
  text-align: center;
}

.tiles {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.tile {
  flex: 1 1 30%;
  max-width: 320px;
  background-color: #fff4e5;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.tile img {
  margin-bottom: 1rem;
}

.tile h3 {
  font-size: 1.15rem;
  margin-top: 0.25rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.tile p {
  line-height: 1.4;
}

.tile:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .tiles {
    flex-direction: column;
    align-items: center;
  }

  .tile {
    width: 100%;
    max-width: 100%;
  }
}
/* ==================== BOUTONS  ==================== */

.cta-button,
a.read-more {
  display: inline-block;
  background-color: #f3971d;
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cta-button:hover,
a.read-more:hover {
  background-color: #d87f0c;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  color: white;
}

a.read-more {
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  border: 1px solid #f3971d;
  border-radius: 12px;
}
/* ==================== ACTUALITÉS / BLOG  ==================== */

.view-blog {
  padding: 3rem 1rem;
}

.view-blog .views-view-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.view-blog .views-row {
  flex: 1 1 calc(33.333% - 1rem);
  max-width: 320px;
  background-color: #fff4e5;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease;
}

.view-blog .views-row:hover {
  transform: translateY(-5px);
}

.view-blog .views-field-field-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.view-blog h3,
.view-blog .views-field-title a {
  font-size: 1.1rem;
  color: #f3971d;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-decoration: none;
}

.view-blog .views-field-body {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.4;
  margin-top: 0.5rem;
  flex-grow: 1;
}

@media (max-width: 768px) {
  .view-blog .views-view-grid {
    flex-direction: column;
    align-items: center;
  }
  .view-blog .views-row {
    max-width: 100%;
  }
}
/* ==================== TÉMOIGNAGES  ==================== */
.testimonial {
  font-size: 1.3rem;
  font-style: italic;
  margin: 3rem auto;
  max-width: 800px;
  text-align: center;
}
/* ============================================ SUITE  ====================================== */

/* ==================== LOGO ==================== */
.site-branding__logo,
.region-header__logo {
  background: none !important;
  box-shadow: none !important;
  padding: 0.5rem !important;
}

.site-logo img {
  max-height: 60px;
  height: auto;
  width: auto;
  display: block;
  padding: 0; 
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

#block-ebitdata-theme-site-branding {
  background: none !important;
  box-shadow: none !important;
}

/* ==================== LAYOUT  ==================== */
.layout-container {
  margin: 0 auto;
  max-width: 1200px;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (max-width: 768px) {
  .layout-container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}
/* ==================== MENU ==================== */
.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}
/* ==================== FOOTER ==================== */
.site-footer__inner {
  margin-top: 1rem;
  margin-bottom: 0;
  padding-top: 1rem;
  padding-bottom: 0;
}

.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 2rem 1rem;
  background-color: #d6d4d0;
  color: #212121;
  font-size: 0.95rem;
  border-top: 1px solid #ccc;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links a {
  color: #212121;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.footer-links a:hover {
  color: #f3971d;
  text-decoration: none;
}

.footer-wrapper .footer-copyright {
  white-space: nowrap;
  font-size: 0.85rem;
  color: #525763;
}

@media (max-width: 768px) {
  .footer-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 1.5rem 1rem;
  }
  .footer-links {
    flex-direction: column;
    gap: 0.75rem;
  }

  .footer-links a {
    display: block;
    font-size: 1rem;
  }

  .footer-wrapper .footer-copyright {
    font-size: 0.9rem;
  }
}

