:root{
  --bs-primary: #2A7DE1;
  --bs-danger:  #FF5C4C;
  --bs-warning: #FFDF2B;
  --bs-info:    #87D8D8;

  --edc-purple: #230871;
  --edc-bg:     #F5F5EF;
}

body{
  background: var(--edc-bg);
}

.edc-title{
  color: var(--edc-purple);
}

.site-header .navbar{
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.edc-content :where(h2,h3){
  color: var(--edc-purple);
}

.edc-content a{
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.custom-logo{
  max-height: 44px;
  width: auto;
}

/* Home helpers */
.edc-hero{
  background: rgba(255,255,255,0.35);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.edc-kicker{
  letter-spacing: .08em;
  color: rgba(0,0,0,0.55);
}

.edc-dot{
  width: 12px;
  height: 12px;
  border-radius: 999px;
  display: inline-block;
  vertical-align: -1px;
  margin-right: .5rem;
}

.edc-infos li{
  padding: .35rem 0;
  border-bottom: 1px dashed rgba(0,0,0,0.08);
}
.edc-infos li:last-child{ border-bottom: 0; }

/* Page header band (internal pages) */
.edc-pagehead{
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,0.35);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.edc-pagehead::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/edc-dots.svg");
  background-repeat: no-repeat;
  background-size: 1100px auto;
  background-position: 90% 50%;
  opacity: 0.55;
  pointer-events: none;
}
.edc-pagehead .container{ position: relative; }

/* Hero can also get dots (subtle) */
.edc-hero{
  position: relative;
  overflow: hidden;
}
.edc-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/edc-dots.svg");
  background-repeat: no-repeat;
  background-size: 1100px auto;
  background-position: 95% 30%;
  opacity: 0.35;
  pointer-events: none;
}
.edc-hero .container{ position: relative; }

/* Active menu item */
.navbar .current-menu-item > .nav-link,
.navbar .current-menu-ancestor > .nav-link{
  color: var(--edc-purple);
  font-weight: 600;
}

/* FAQ: style <details> nicely everywhere */
.edc-content details{
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  background: #fff;
}
.edc-content details + details{ margin-top: .75rem; }
.edc-content details > summary{
  cursor: pointer;
  padding: 1rem 1.1rem;
  font-weight: 600;
  list-style: none;
}
.edc-content details > summary::-webkit-details-marker{ display:none; }
.edc-content details > summary::after{
  content: "▾";
  float: right;
  opacity: .6;
  transition: transform .2s ease;
}
.edc-content details[open] > summary::after{ transform: rotate(180deg); }
.edc-content details > div{ padding: 0 1.1rem 1rem 1.1rem; }

/* Table polish (Tarifs) */
.table tbody tr:hover{ background: rgba(0,0,0,0.02); }

/* CF7 Bootstrap styling */
.wpcf7 form label{
  display:block;
  font-weight:600;
  margin-bottom:.5rem;
}
.wpcf7 form label .form-control{
  margin-top:.35rem;
}
.wpcf7 form .wpcf7-not-valid-tip{
  font-size:.9rem;
  margin-top:.35rem;
}
.wpcf7 form .wpcf7-response-output{
  border-radius:12px;
  border-width:1px;
}

.team-details summary {
  list-style: none;
  cursor: pointer;
}
.team-details summary::-webkit-details-marker {
  display: none;
}

.team-summary {
  display: flex;
  align-items: center;
  gap: 16px;
}

.team-photo {
  width: 60px;
  height: 60px;
  object-fit: cover;
  transition: 
    width 0.35s ease,
    height 0.35s ease,
    transform 0.35s ease;
  flex-shrink: 0;
}

/* When open → grow in place */
.team-details[open] .team-photo {
  width: 160px;
  height: 160px;
}

/* Rotate arrow */
.team-caret {
  transition: transform .25s ease;
}
.team-details[open] .team-caret {
  transform: rotate(180deg);
}


