:root {
  --tiv7-ink: #17161a;
  --tiv7-orange: #ff7900;
  --tiv7-green: #497a56;
  --tiv7-mist: #f4f7f3;
  --tiv7-line: #d9ded8;
}

/* Astra shell: the V7 keeps the theme for accessibility and responsive navigation,
   while giving the shared header the same visual language as the generated pages. */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--tiv7-line);
}
.site-header .ast-primary-header-bar {
  padding: .35rem 0;
}
.site-header .custom-logo-link img {
  max-height: 4rem;
  width: auto;
}
.site-header .site-title,
.site-header .site-description {
  display: none;
}
.site-header .main-header-menu > .menu-item > .menu-link {
  color: var(--tiv7-ink);
  font-size: .94rem;
  font-weight: 600;
  letter-spacing: .01em;
  padding-left: .78rem;
  padding-right: .78rem;
  text-transform: none;
}
.site-header .main-header-menu > .menu-item > .menu-link:hover,
.site-header .main-header-menu > .current-menu-item > .menu-link {
  color: var(--tiv7-orange);
}
.site-header .main-header-menu .sub-menu .menu-link {
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.35;
  padding: .7rem 1.05rem;
  text-transform: none;
}
.site-header .ast-menu-toggle {
  border-color: var(--tiv7-ink);
  color: var(--tiv7-ink);
}

/* The V7 pages deliberately escape Astra's narrow blog column. */
body .site-content > .ast-container,
body .site-content > .ast-container > .content-area,
body .site-content > .ast-container > .content-area > .site-main {
  max-width: none !important;
  padding: 0 !important;
  width: 100% !important;
}

.tiv7-hero,
.tiv7-intro,
.tiv7-method,
.tiv7-home-services,
.tiv7-home-signals,
.tiv7-home-zone,
.tiv7-home-gallery,
.tiv7-guide,
.tiv7-focus,
.tiv7-faq,
.tiv7-related,
.tiv7-final {
  margin: 0 !important;
  max-width: none !important;
  width: 100%;
}

.tiv7-hero {
  background: linear-gradient(90deg, rgba(23,22,26,.96) 0%, rgba(23,22,26,.84) 43%, rgba(23,22,26,.22) 100%), linear-gradient(0deg, rgba(23,22,26,.24), rgba(23,22,26,0)), url('./images/toitureardoises-Personnalise.jpg') center / cover;
  box-sizing: border-box;
  min-height: min(42rem, 69vh);
  padding: clamp(5.5rem, 8vw, 8.5rem) max(2rem, calc((100vw - 76rem) / 2));
}
.tiv7-hero .elementor-widget-container { max-width: 48rem; }
.tiv7-eyebrow p,
.tiv7-eyebrow .elementor-widget-container,
.tiv7-section-kicker p,
.tiv7-section-kicker .elementor-widget-container {
  color: var(--tiv7-orange) !important;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .16em;
  margin: 0 0 1rem;
}
.tiv7-title .elementor-heading-title,
.tiv7-hero h1 {
  color: #fff !important;
  font-size: clamp(2.9rem, 5vw, 5.35rem) !important;
  font-weight: 800 !important;
  letter-spacing: -.065em !important;
  line-height: .92 !important;
  margin: 0 !important;
}
.tiv7-lead p {
  color: rgba(255,255,255,.9) !important;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.65;
  margin: 1.55rem 0 0;
  max-width: 38rem;
}

.tiv7-button .elementor-button {
  background: var(--tiv7-orange) !important;
  border: 1px solid var(--tiv7-orange) !important;
  border-radius: 0 !important;
  color: var(--tiv7-ink) !important;
  font-size: .78rem !important;
  font-weight: 900 !important;
  letter-spacing: .04em !important;
  margin: 1.5rem .6rem 0 0;
  padding: 1rem 1.45rem !important;
  text-transform: uppercase;
}
.tiv7-button--ghost .elementor-button {
  background: transparent !important;
  border-color: rgba(255,255,255,.82) !important;
  color: #fff !important;
}
.tiv7-button .elementor-button:hover { background: #fff !important; border-color: #fff !important; color: var(--tiv7-ink) !important; }

.tiv7-intro {
  background: #fff;
  box-sizing: border-box;
  margin: 0 auto !important;
  max-width: 76rem !important;
  padding: clamp(4rem, 8vw, 8rem) 2rem;
}
.tiv7-intro > .e-con-inner {
  display: grid !important;
  gap: clamp(2rem, 6vw, 7rem);
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
}
.tiv7-intro-media img {
  aspect-ratio: 4 / 5;
  border-radius: .9rem;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.tiv7-intro-copy { align-self: center; }
.tiv7-section-title .elementor-heading-title,
.tiv7-information-card .elementor-heading-title,
.tiv7-related-card .elementor-heading-title {
  color: var(--tiv7-ink) !important;
  font-size: clamp(1.85rem, 3.15vw, 3.35rem) !important;
  font-weight: 800 !important;
  letter-spacing: -.055em !important;
  line-height: 1 !important;
  margin: 0 !important;
}
.tiv7-intro-copy p,
.tiv7-information-card p,
.tiv7-final-copy p {
  color: #4b514e !important;
  font-size: 1rem;
  line-height: 1.75;
  margin: 1.35rem 0 0;
}

.tiv7-method {
  background: var(--tiv7-mist);
  box-sizing: border-box;
  padding: clamp(4.5rem, 8vw, 7.5rem) max(2rem, calc((100vw - 76rem) / 2));
}
.tiv7-method > .e-con-inner {
  display: grid !important;
  gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tiv7-method--home > .e-con-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiv7-method-heading { grid-column: 1 / -1; margin-bottom: 2rem; max-width: 46rem; }
.tiv7-information-card {
  background: #fff;
  border-top: 4px solid var(--tiv7-orange);
  border-radius: .75rem;
  box-sizing: border-box;
  min-height: 17rem;
  padding: 2.1rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.tiv7-information-card:hover { box-shadow: 0 1.1rem 2.6rem rgba(23,22,26,.1); transform: translateY(-.25rem); }
.tiv7-information-card .tiv7-card-number p {
  color: var(--tiv7-orange) !important;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .12em;
  margin: 0 0 3rem;
}
.tiv7-information-card .tiv7-card-title .elementor-heading-title,
.tiv7-related-card .tiv7-card-title .elementor-heading-title {
  font-size: clamp(1.5rem, 2.1vw, 2.25rem) !important;
}

.tiv7-home-services {
  background: #fff;
  box-sizing: border-box;
  padding: clamp(4.5rem, 8vw, 7.5rem) max(2rem, calc((100vw - 76rem) / 2));
}
.tiv7-home-services > .e-con-inner {
  display: grid !important;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.tiv7-home-services-heading { grid-column: 1 / -1; max-width: 54rem; margin-bottom: 1.5rem; }
.tiv7-home-service-card { background: var(--tiv7-mist); border-top: 4px solid var(--tiv7-green); border-radius: .75rem; min-height: 19rem; box-sizing: border-box; overflow: hidden; padding: 0 0 1.75rem; }
.tiv7-home-service-image { display: block; margin: 0 0 1.5rem; }
.tiv7-home-service-image .elementor-widget-container { margin: 0 !important; }
.tiv7-home-service-image img { display: block; height: 11rem; object-fit: cover; width: 100%; }
.tiv7-home-service-card > .e-con-inner { display: flex; flex-direction: column; height: 100%; }
.tiv7-home-service-card > .e-con-inner > .elementor-element:not(.tiv7-home-service-image) { margin-left: 1.75rem; margin-right: 1.75rem; }
.tiv7-home-service-card > .e-con-inner > .tiv7-home-service-link { margin-top: auto; }
.tiv7-home-service-card .tiv7-card-title .elementor-heading-title { color: var(--tiv7-ink) !important; font-size: clamp(1.3rem, 1.8vw, 1.75rem) !important; }
.tiv7-home-service-link .elementor-button { margin-top: 1.25rem; }

.tiv7-home-signals {
  background: var(--tiv7-mist);
  box-sizing: border-box;
  padding: clamp(4.5rem, 8vw, 7.5rem) max(2rem, calc((100vw - 76rem) / 2));
}
.tiv7-home-signals > .e-con-inner {
  display: grid !important;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.tiv7-home-signals-heading { grid-column: 1 / -1; margin-bottom: 1.5rem; }
.tiv7-home-signals .tiv7-information-card { background: #fff; min-height: 15rem; }
.tiv7-home-signals .tiv7-card-title .elementor-heading-title { font-size: clamp(1.25rem, 1.65vw, 1.65rem) !important; }

.tiv7-home-zone { background: var(--tiv7-green); box-sizing: border-box; padding: clamp(4rem, 7vw, 7rem) max(2rem, calc((100vw - 64rem) / 2)); }
.tiv7-home-zone .tiv7-section-kicker p { color: #f8c27e !important; }
.tiv7-home-zone .tiv7-section-title .elementor-heading-title { color: #fff !important; }
.tiv7-home-zone .tiv7-focus-copy p { color: rgba(255,255,255,.88) !important; }

.tiv7-home-gallery {
  background: #fff;
  box-sizing: border-box;
  padding: clamp(4.5rem, 8vw, 7.5rem) max(2rem, calc((100vw - 76rem) / 2));
}
.tiv7-home-gallery > .e-con-inner { display: grid !important; gap: 1.25rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiv7-home-gallery-heading { grid-column: 1 / -1; margin-bottom: 1.5rem; max-width: 54rem; }
.tiv7-gallery-card { background: var(--tiv7-mist); border-radius: .75rem; box-sizing: border-box; overflow: hidden; }
.tiv7-gallery-card > .e-con-inner { display: flex; flex-direction: column; height: 100%; }
.tiv7-gallery-image { display: block; margin: 0 0 1.2rem; }
.tiv7-gallery-image .elementor-widget-container { margin: 0 !important; }
.tiv7-gallery-image img { display: block; height: 14rem; object-fit: cover; width: 100%; }
.tiv7-gallery-title { margin: 0 1.25rem 1.35rem; }
.tiv7-gallery-title .elementor-heading-title { color: var(--tiv7-ink) !important; font-size: 1.15rem !important; letter-spacing: -.025em !important; line-height: 1.18 !important; }

.tiv7-guide {
  background: #fff;
  box-sizing: border-box;
  padding: clamp(4rem, 8vw, 8rem) max(2rem, calc((100vw - 74rem) / 2));
}
.tiv7-guide > .e-con-inner {
  display: grid !important;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tiv7-guide-heading { grid-column: 1 / -1; margin-bottom: 1.75rem; max-width: 46rem; }
.tiv7-guide .tiv7-information-card {
  background: var(--tiv7-mist);
  min-height: 17rem;
  padding: clamp(1.7rem, 3vw, 2.7rem);
}
.tiv7-guide .tiv7-card-title .elementor-heading-title { font-size: clamp(1.4rem, 2vw, 2.05rem) !important; }

.tiv7-focus {
  background: var(--tiv7-green);
  box-sizing: border-box;
  padding: clamp(4rem, 7vw, 7rem) max(2rem, calc((100vw - 64rem) / 2));
}
.tiv7-focus .tiv7-section-kicker p { color: #f8c27e !important; }
.tiv7-focus .tiv7-section-title .elementor-heading-title { color: #fff !important; max-width: 48rem; }
.tiv7-focus-copy { max-width: 56rem; }
.tiv7-focus-copy p { color: rgba(255,255,255,.88) !important; font-size: 1.05rem; line-height: 1.8; margin: 1.25rem 0 0; }

.tiv7-faq {
  box-sizing: border-box;
  padding: clamp(4rem, 8vw, 8rem) max(2rem, calc((100vw - 74rem) / 2));
}
.tiv7-faq > .e-con-inner {
  display: grid !important;
  gap: 1px;
  grid-template-columns: 1.1fr .9fr;
}
.tiv7-faq-heading { align-self: start; grid-row: span 3; padding-right: 3rem; }
.tiv7-faq .tiv7-information-card {
  border-top: 1px solid var(--tiv7-line);
  min-height: auto;
  padding: 1.7rem 0;
}
.tiv7-faq .tiv7-information-card .tiv7-card-title .elementor-heading-title { color: var(--tiv7-green) !important; font-size: 1.2rem !important; }
.tiv7-faq .tiv7-section-title .elementor-heading-title { font-size: clamp(2.25rem, 3vw, 3.15rem) !important; }

.tiv7-related {
  background: var(--tiv7-ink);
  box-sizing: border-box;
  padding: clamp(4.5rem, 8vw, 7.5rem) max(2rem, calc((100vw - 76rem) / 2));
}
.tiv7-related > .e-con-inner {
  display: grid !important;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.tiv7-related-heading { grid-column: 1 / -1; margin-bottom: 1.75rem; }
.tiv7-related .tiv7-section-kicker p { color: var(--tiv7-orange) !important; }
.tiv7-related .tiv7-section-title .elementor-heading-title,
.tiv7-related-card .tiv7-card-title .elementor-heading-title { color: #fff !important; }
.tiv7-related-card { border: 1px solid rgba(255,255,255,.18); border-radius: .75rem; box-sizing: border-box; min-height: 20rem; overflow: hidden; padding: 0 0 1.65rem; }
.tiv7-related-image { display: block; margin: 0 0 1.45rem; }
.tiv7-related-image .elementor-widget-container { margin: 0 !important; }
.tiv7-related-image img { display: block; height: 9rem; object-fit: cover; width: 100%; }
.tiv7-related-card > .e-con-inner { display: flex; flex-direction: column; height: 100%; }
.tiv7-related-card > .e-con-inner > .elementor-element:not(.tiv7-related-image) { margin-left: 1.65rem; margin-right: 1.65rem; }
.tiv7-related-card > .e-con-inner > .tiv7-related-link { margin-top: auto; }
.tiv7-related-copy p { color: rgba(255,255,255,.74) !important; font-size: .96rem; line-height: 1.65; margin: 1.15rem 0 0; }
.tiv7-related-link .elementor-button { margin-top: 1.5rem; }

.tiv7-final {
  background: var(--tiv7-green);
  box-sizing: border-box;
  padding: clamp(4rem, 8vw, 8rem) 2rem;
  text-align: center;
}
.tiv7-final > .elementor-element,
.tiv7-final .elementor-widget-container { margin-left: auto; margin-right: auto; max-width: 48rem; }
.tiv7-final .tiv7-section-kicker p { color: #f8c27e !important; }
.tiv7-final .tiv7-section-title .elementor-heading-title { color: #fff !important; }
.tiv7-final-copy p { color: rgba(255,255,255,.85) !important; }
.tiv7-final .tiv7-button .elementor-button { margin-right: 0; }

@media (max-width: 900px) {
  .tiv7-method > .e-con-inner,
  .tiv7-method--home > .e-con-inner,
  .tiv7-home-services > .e-con-inner,
  .tiv7-home-signals > .e-con-inner,
  .tiv7-home-gallery > .e-con-inner,
  .tiv7-guide > .e-con-inner,
  .tiv7-related > .e-con-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiv7-faq > .e-con-inner { grid-template-columns: 1fr; }
  .tiv7-faq-heading { grid-row: auto; padding-right: 0; }
}
@media (max-width: 767px) {
  .site-header .ast-primary-header-bar { padding: .3rem 0; }
  .site-header .custom-logo-link img { max-height: 3.9rem; }
  .tiv7-hero { min-height: 35rem; padding: 4.5rem 1.5rem 4rem; }
  .tiv7-title .elementor-heading-title,
  .tiv7-hero h1 { font-size: clamp(2.75rem, 14vw, 4.5rem) !important; }
  .tiv7-intro { padding: 4rem 1.5rem; }
  .tiv7-intro > .e-con-inner { grid-template-columns: 1fr; }
  .tiv7-intro-media { order: 2; }
  .tiv7-method,
  .tiv7-home-services,
  .tiv7-home-signals,
  .tiv7-home-gallery,
  .tiv7-home-zone,
  .tiv7-guide,
  .tiv7-focus,
  .tiv7-related { padding: 4rem 1.5rem; }
  .tiv7-method > .e-con-inner,
  .tiv7-method--home > .e-con-inner,
  .tiv7-home-services > .e-con-inner,
  .tiv7-home-signals > .e-con-inner,
  .tiv7-home-gallery > .e-con-inner,
  .tiv7-guide > .e-con-inner,
  .tiv7-related > .e-con-inner { grid-template-columns: 1fr; }
  .tiv7-faq { padding: 4rem 1.5rem; }
  .tiv7-information-card { min-height: 0; padding: 1.5rem; }
  .tiv7-button .elementor-button { margin-right: 0; width: 100%; }
}

/* V7.1 editorial recomposition: calmer hierarchy, less template-like cards. */
:root {
  --tiv7-ink: #20201e;
  --tiv7-orange: #e97817;
  --tiv7-green: #315e4a;
  --tiv7-mist: #f5f5f1;
  --tiv7-line: #deded7;
}

body,
.site-header .main-header-menu > .menu-item > .menu-link,
.site-header .main-header-menu .sub-menu .menu-link {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
.site-header .ast-primary-header-bar { padding: .7rem 0; }
.site-header .custom-logo-link img { max-height: 3.7rem; }
.site-header .main-header-menu > .menu-item > .menu-link {
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .005em;
  padding-left: .95rem;
  padding-right: .95rem;
}
.site-header .main-header-menu .sub-menu {
  border-top: 2px solid var(--tiv7-orange);
  box-shadow: 0 .8rem 2rem rgba(32,32,30,.11);
}
.site-header .main-header-menu .sub-menu .menu-link { font-size: .92rem; padding: .78rem 1.15rem; }

.tiv7-hero {
  background:
    linear-gradient(90deg, rgba(25,30,27,.92) 0%, rgba(25,30,27,.76) 47%, rgba(25,30,27,.26) 100%),
    url('./images/toitureardoises-Personnalise.jpg') center 54% / cover;
  min-height: min(36rem, 61vh);
  padding: clamp(4.6rem, 7vw, 7.2rem) max(2rem, calc((100vw - 72rem) / 2));
}
.tiv7-hero .elementor-widget-container { max-width: 43rem; }
.tiv7-eyebrow p,
.tiv7-eyebrow .elementor-widget-container,
.tiv7-section-kicker p,
.tiv7-section-kicker .elementor-widget-container {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  margin-bottom: 1.2rem;
}
.tiv7-title .elementor-heading-title,
.tiv7-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 4.55vw, 4.8rem) !important;
  font-weight: 700 !important;
  letter-spacing: -.045em !important;
  line-height: .98 !important;
}
.tiv7-lead p { font-size: clamp(1.04rem, 1.3vw, 1.18rem); line-height: 1.7; max-width: 35rem; }
.tiv7-button .elementor-button {
  border-radius: .15rem !important;
  font-size: .72rem !important;
  font-weight: 700 !important;
  letter-spacing: .055em !important;
  padding: .9rem 1.2rem !important;
}

.tiv7-intro,
.tiv7-guide,
.tiv7-faq { max-width: 72rem !important; }
.tiv7-intro { padding-top: clamp(4rem, 7vw, 7rem); padding-bottom: clamp(4rem, 7vw, 7rem); }
.tiv7-intro > .e-con-inner { gap: clamp(2.5rem, 7vw, 6.5rem); }
.tiv7-intro-media { position: relative; }
.tiv7-intro-media::after { background: var(--tiv7-orange); bottom: -1rem; content: ""; height: 48%; left: -1rem; position: absolute; width: .25rem; }
.tiv7-intro-media img { aspect-ratio: 4 / 4.65; border-radius: .2rem; position: relative; z-index: 1; }
.tiv7-section-title .elementor-heading-title,
.tiv7-information-card .elementor-heading-title,
.tiv7-related-card .elementor-heading-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.78rem, 2.75vw, 3rem) !important;
  font-weight: 700 !important;
  letter-spacing: -.04em !important;
  line-height: 1.08 !important;
}
.tiv7-intro-copy p,
.tiv7-information-card p,
.tiv7-final-copy p { color: #50554f !important; font-size: 1rem; line-height: 1.78; }

.tiv7-method { background: #eceeea; padding-top: clamp(4rem, 6vw, 6.5rem); padding-bottom: clamp(4rem, 6vw, 6.5rem); }
.tiv7-method > .e-con-inner,
.tiv7-method--home > .e-con-inner { column-gap: 3rem; row-gap: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tiv7-method-heading { margin-bottom: 1.5rem; max-width: 40rem; }
.tiv7-information-card {
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(32,32,30,.18);
  border-radius: 0;
  min-height: 0;
  padding: 1.7rem 0 2rem;
  transition: none;
}
.tiv7-information-card:hover { box-shadow: none; transform: none; }
.tiv7-information-card .tiv7-card-number p { font-size: .68rem; font-weight: 700; margin-bottom: 1.25rem; }
.tiv7-information-card .tiv7-card-title .elementor-heading-title,
.tiv7-related-card .tiv7-card-title .elementor-heading-title { font-size: clamp(1.3rem, 1.7vw, 1.75rem) !important; }

.tiv7-home-services,
.tiv7-home-gallery { padding-top: clamp(4rem, 6vw, 6.5rem); padding-bottom: clamp(4rem, 6vw, 6.5rem); }
.tiv7-home-service-card {
  background: #fff;
  border: 1px solid var(--tiv7-line);
  border-radius: .2rem;
  box-shadow: none;
  min-height: 0;
}
.tiv7-home-service-image img { height: 13rem; filter: saturate(.86) contrast(1.04); }
.tiv7-home-service-card > .e-con-inner > .elementor-element:not(.tiv7-home-service-image) { margin-left: 1.5rem; margin-right: 1.5rem; }
.tiv7-home-service-card .tiv7-card-title .elementor-heading-title { font-family: Georgia, "Times New Roman", serif; font-size: 1.55rem !important; }

.tiv7-home-signals { background: #fff; padding-top: clamp(4rem, 6vw, 6.5rem); padding-bottom: clamp(4rem, 6vw, 6.5rem); }
.tiv7-home-signals .tiv7-information-card { background: transparent; border-top-color: var(--tiv7-orange); min-height: 0; }
.tiv7-home-zone,
.tiv7-focus,
.tiv7-final { background: #234939; }

.tiv7-guide { padding-top: clamp(4rem, 6vw, 6.5rem); padding-bottom: clamp(4rem, 6vw, 6.5rem); }
.tiv7-guide > .e-con-inner { column-gap: 3rem; row-gap: 0; }
.tiv7-guide .tiv7-information-card { background: transparent; border-radius: 0; min-height: 0; padding: 1.7rem 0 2rem; }
.tiv7-guide .tiv7-card-title .elementor-heading-title { font-size: clamp(1.28rem, 1.8vw, 1.7rem) !important; }
.tiv7-focus { padding-top: clamp(4.5rem, 7vw, 7rem); padding-bottom: clamp(4.5rem, 7vw, 7rem); }
.tiv7-focus-copy { max-width: 48rem; }

.tiv7-faq { padding-top: clamp(4rem, 6vw, 6.5rem); padding-bottom: clamp(4rem, 6vw, 6.5rem); }
.tiv7-faq > .e-con-inner { column-gap: clamp(2rem, 7vw, 7rem); }
.tiv7-faq-heading { padding-right: 0; }
.tiv7-faq .tiv7-information-card { border-top-color: var(--tiv7-line); padding: 1.55rem 0; }
.tiv7-faq .tiv7-information-card .tiv7-card-title .elementor-heading-title { color: var(--tiv7-green) !important; font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif; font-size: 1.08rem !important; font-weight: 650 !important; letter-spacing: -.02em !important; }
.tiv7-faq .tiv7-section-title .elementor-heading-title { font-size: clamp(2rem, 3vw, 3rem) !important; }

.tiv7-related { background: #1d2924; padding-top: clamp(4.5rem, 7vw, 7rem); padding-bottom: clamp(4.5rem, 7vw, 7rem); }
.tiv7-related-card { border-color: rgba(255,255,255,.2); border-radius: .2rem; min-height: 0; }
.tiv7-related-image img { height: 11rem; filter: saturate(.82); }
.tiv7-related-card > .e-con-inner > .elementor-element:not(.tiv7-related-image) { margin-left: 1.35rem; margin-right: 1.35rem; }
.tiv7-related-card .tiv7-card-title .elementor-heading-title { font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem !important; }
.tiv7-related-copy p { font-size: .92rem; line-height: 1.68; }

@media (max-width: 900px) {
  .tiv7-method > .e-con-inner,
  .tiv7-method--home > .e-con-inner { column-gap: 1.5rem; }
}
@media (max-width: 767px) {
  .site-header .ast-primary-header-bar { padding: .45rem 0; }
  .site-header .custom-logo-link img { max-height: 3.25rem; }
  .tiv7-hero { min-height: 31rem; padding: 4rem 1.5rem 3.5rem; }
  .tiv7-title .elementor-heading-title,
  .tiv7-hero h1 { font-size: clamp(2.55rem, 12vw, 3.65rem) !important; }
  .tiv7-method > .e-con-inner,
  .tiv7-method--home > .e-con-inner,
  .tiv7-guide > .e-con-inner { row-gap: 0; }
  .tiv7-intro-media::after { bottom: -.65rem; left: -.65rem; }
}

/* Correctifs de stabilité : une grille ne doit jamais se réduire à une colonne
   de quelques pixels selon le cache du thème ou la largeur intermédiaire. */
.tiv7-home-services > .e-con-inner {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}

@media (min-width: 768px) {
  .tiv7-home-services .tiv7-home-service-card:last-child {
    grid-column: 1 / -1;
  }
}

/* Ajustement typographique validé en préproduction. */
.site-header .main-header-menu > .menu-item > .menu-link {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .01em;
  padding-left: .72rem;
  padding-right: .72rem;
  text-transform: none;
}

.tiv7-title .elementor-heading-title,
.tiv7-hero h1 { font-size: clamp(2.9rem, 5vw, 5.35rem) !important; }

.tiv7-section-title .elementor-heading-title,
.tiv7-information-card .elementor-heading-title,
.tiv7-related-card .elementor-heading-title { font-size: clamp(1.85rem, 3.15vw, 3.35rem) !important; }

.tiv7-faq .tiv7-section-title .elementor-heading-title { font-size: clamp(2.25rem, 3vw, 3.15rem) !important; }

/* Écrans très larges : Elementor place parfois la largeur maximale sur le
   conteneur extérieur, ce qui écrase son e-con-inner. La contrainte doit
   rester sur l'intérieur, centré, pour préserver les deux colonnes. */
.tiv7-intro,
.tiv7-guide,
.tiv7-faq {
  max-width: none !important;
}

.tiv7-intro > .e-con-inner,
.tiv7-guide > .e-con-inner,
.tiv7-faq > .e-con-inner {
  box-sizing: border-box;
  width: min(100% - 4rem, 72rem) !important;
  max-width: 72rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 767px) {
  .tiv7-intro > .e-con-inner,
  .tiv7-guide > .e-con-inner,
  .tiv7-faq > .e-con-inner {
    width: calc(100% - 2.5rem) !important;
  }
}

/* Prestations : sur grand écran, cinq services se lisent en 3 + 2 ;
   aucun service ne doit devenir un bandeau isolé sur toute la largeur. */
@media (min-width: 901px) {
  .tiv7-home-services > .e-con-inner {
    display: flex !important;
    flex-wrap: wrap;
    gap: 1.25rem;
  }

  .tiv7-home-services-heading {
    flex: 0 0 100%;
  }

  .tiv7-home-services .tiv7-home-service-card {
    flex: 0 0 calc((100% - 2.5rem) / 3);
    min-width: 0;
  }

  .tiv7-home-services .tiv7-home-service-card:nth-child(5),
  .tiv7-home-services .tiv7-home-service-card:nth-child(6) {
    flex-basis: calc((100% - 1.25rem) / 2);
  }
}

@media (max-width: 767px) {
  .tiv7-method > .e-con-inner,
  .tiv7-method--home > .e-con-inner,
  .tiv7-guide > .e-con-inner,
  .tiv7-faq > .e-con-inner,
  .tiv7-related > .e-con-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
  }

  .tiv7-method-heading,
  .tiv7-guide-heading,
  .tiv7-faq-heading,
  .tiv7-related-heading,
  .tiv7-information-card,
  .tiv7-related-card {
    grid-column: 1 / -1 !important;
    min-width: 0 !important;
    width: 100% !important;
  }
}



/* Correctif de production : les prestations doivent former une grille stable de trois cartes par ligne sur grand écran. */
@media (min-width: 901px) {
  .tiv7-home-services > .e-con-inner {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1.25rem !important;
    align-items: stretch !important;
  }
  .tiv7-home-services-heading {
    grid-column: 1 / -1 !important;
    width: auto !important;
    max-width: none !important;
  }
  .tiv7-home-services .tiv7-home-service-card {
    display: flex !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
    grid-column: auto !important;
  }
}



/* Accueil : supprimer le faux espace avant le hero et rendre l'accroche
   immédiatement lisible, sans transformer le haut de page en affiche. */
.home #post-1539 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.home .tiv7-hero {
  min-height: min(33rem, 56vh);
  padding: clamp(3.4rem, 5.5vw, 5.4rem) max(2rem, calc((100vw - 72rem) / 2));
}

.home .tiv7-hero .elementor-widget-container {
  max-width: 50rem;
}

.home .tiv7-title .elementor-heading-title,
.home .tiv7-hero h1 {
  font-size: clamp(2.65rem, 4.2vw, 4.25rem) !important;
  line-height: 1 !important;
  max-width: 50rem;
}

@media (max-width: 767px) {
  .home .tiv7-hero {
    min-height: 0;
    padding: 3.5rem 1.5rem 3.25rem;
  }

  .home .tiv7-title .elementor-heading-title,
  .home .tiv7-hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.3rem) !important;
  }
}

/* Accueil : Astra applique une marge de contenu de 64 px avant le premier bloc. */
.home #primary {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}


/* Correctif global : hero pleine largeur et hiérarchie cohérente sur toutes les pages V7. */
.hd-guides-page .site-content > .ast-container,
.hd-guides-page #primary,
.hd-guides-page .site-main,
.hd-guides-page article.ast-article-single,
.hd-guides-page article.ast-article-single > .entry-content,
.hd-guides-page article.ast-article-single > .entry-content > .elementor {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.hd-guides-page .tiv7-hero {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

.hd-guides-page .tiv7-hero .elementor-widget-container {
  max-width: 50rem;
}

.hd-guides-page .tiv7-title .elementor-heading-title,
.hd-guides-page .tiv7-hero h1 {
  max-width: 50rem;
  font-size: clamp(2.55rem, 4.1vw, 4.15rem) !important;
  line-height: 1 !important;
}

@media (max-width: 767px) {
  .hd-guides-page .tiv7-hero {
    min-height: 0;
    padding: 3.5rem 1.5rem 3.25rem;
  }

  .hd-guides-page .tiv7-title .elementor-heading-title,
  .hd-guides-page .tiv7-hero h1 {
    font-size: clamp(2.25rem, 10vw, 3.1rem) !important;
  }
}

/* Bloc final sur fond vert : le sous-texte ne doit jamais hériter de la couleur sombre du thème. */
.tiv7-final .tiv7-final-copy,
.tiv7-final .tiv7-final-copy p {
  color: rgba(255, 255, 255, .78) !important;
}

/* Correctif d'integration des pages secteur publiees */
body.hd-guides-page .entry-header{display:none!important;}
body.hd-guides-page .site-content > .ast-container{max-width:none!important;padding:0!important;}
body.hd-guides-page .entry-content{margin:0!important;}
.tiv7-hero .tiv7-lead{color:rgba(255,255,255,.92)!important;font-size:clamp(1.05rem,1.5vw,1.3rem)!important;line-height:1.65!important;max-width:38rem!important;}
.tiv7-hero .tiv7-button{display:inline-block!important;background:var(--tiv7-orange)!important;border:1px solid var(--tiv7-orange)!important;border-radius:0!important;color:var(--tiv7-ink)!important;font-size:.78rem!important;font-weight:900!important;letter-spacing:.04em!important;margin:1.5rem .6rem 0 0!important;padding:1rem 1.45rem!important;text-decoration:none!important;text-transform:uppercase!important;}
.tiv7-hero .tiv7-button--ghost{background:transparent!important;border-color:rgba(255,255,255,.82)!important;color:#fff!important;}
.tiv7-hero .tiv7-button:hover{background:#fff!important;border-color:#fff!important;color:var(--tiv7-ink)!important;}
