/*
Theme Name: Divi Child Pixemea
Description: Child theme optimisé Divi 5 + Site Kit + Rank Math
Author: Manny
Template: Divi
Version: 4.1.0
Text Domain: divi-child-pixemea
*/





/* ==========================================================================
   TWIN TRANSPORT LEVAGE — style.css (Divi > Éditeur de fichiers des thèmes)
   ⚠️ Fichier GLOBAL au site : ne pas dupliquer le "SOCLE COMMUN" ci-dessous
   à chaque nouvelle page. Pour chaque nouvelle page créée, ajouter un
   nouveau bloc "/* === PAGE XXX === */" TOUT EN BAS de ce fichier,
   après le bloc "PAGE ACCUEIL", sans jamais toucher au socle commun.

   ⚠️ Note sur @import (police Google Fonts) : dans un style.css de thème,
   la règle @import doit être la toute première ligne du fichier pour
   fonctionner. Si ce style.css contient déjà du code au-dessus (boilerplate
   du thème enfant Divi), le navigateur ignorera cet @import. Dans ce cas,
   il vaut mieux charger la police via Divi > Thème > Général > Typographie,
   ou via un lien <link> dans l'en-tête du site plutôt que via cet @import.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');


/* ==========================================================================
   ============================ SOCLE COMMUN ================================
   Variables, typographie, boutons, structure générique. Utilisé par TOUTES
   les pages (Accueil, Services, Secteurs & zones, Qui sommes-nous, Contact...).
   À NE COLLER QU'UNE SEULE FOIS.
   ========================================================================== */

.ttl-home * { box-sizing: border-box; }

.ttl-home {
  --navy: #16345C;
  --navy-deep: #0E2440;
  --steel: #2E5C8A;
  --gold: #C9A227;
  --gold-dark: #A6841C;
  --grey-bg: #F4F5F7;
  --text: #1A1F26;
  --text-muted: #55606E;
  font-family: 'Inter', sans-serif;
  color: var(--text);
}

.ttl-home h1, .ttl-home h2, .ttl-home h3 {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 800;
  line-height: 1.05;
  margin: 0;
}

.ttl-home .ttl-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.ttl-home .ttl-eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 12px;
  position: relative;
  padding-left: 18px;
}
.ttl-home .ttl-eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 12px; height: 2px;
  background: var(--gold-dark);
  transform: translateY(-50%);
}

.ttl-home .ttl-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  padding: 15px 28px;
  white-space: nowrap;
  transition: background .2s ease, transform .15s ease, color .2s ease;
}
.ttl-home .ttl-btn-primary {
  background: var(--gold);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
  clip-path: polygon(5% 0, 100% 0, 95% 100%, 0% 100%);
}
.ttl-home .ttl-btn-primary:hover { background: #ddb43a; transform: translateY(-1px); }
.ttl-home .ttl-btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
  clip-path: polygon(5% 0, 100% 0, 95% 100%, 0% 100%);
}
.ttl-home .ttl-btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.ttl-home .ttl-btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  clip-path: polygon(5% 0, 100% 0, 95% 100%, 0% 100%);
}
.ttl-home .ttl-btn-outline-navy:hover { background: var(--navy); color: #fff; }

/* ============ SECTION GÉNÉRIQUE (réutilisée sur toutes les pages) ============ */
.ttl-section { padding: 80px 0; }
.ttl-section.ttl-bg-grey { background: var(--grey-bg); }
.ttl-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.ttl-section-head h2 { font-size: 32px; color: var(--navy); max-width: 640px; }
.ttl-section-head p { color: var(--text-muted); font-size: 15px; max-width: 420px; margin: 10px 0 0; }

/* ============ BANDEAU CTA INTERMÉDIAIRE (réutilisé sur toutes les pages) ============ */
.ttl-mid-cta {
  background: var(--navy);
  border-left: 6px solid var(--gold);
  padding: 30px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.ttl-mid-cta p {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: #fff;
  margin: 0;
  max-width: 560px;
  line-height: 1.2;
}
.ttl-mid-cta .ttl-btn-primary { flex-shrink: 0; }
@media (max-width: 700px) {
  .ttl-mid-cta { padding: 24px; flex-direction: column; align-items: flex-start; }
  .ttl-mid-cta p { font-size: 19px; }
}

/* ============ PANELS / DEUX COLONNES (réutilisé — ex. Secteurs & zones, Qui sommes-nous) ============ */
.ttl-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.ttl-panel { background: #fff; border: 1px solid #E7EAEE; padding: 34px; }
.ttl-panel h3 { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 19px; color: var(--navy); margin-bottom: 14px; }
.ttl-panel p { font-size: 14.5px; color: var(--text-muted); line-height: 1.6; margin: 0 0 18px; }
.ttl-tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.ttl-tag { background: var(--grey-bg); color: var(--navy); font-size: 12.5px; font-weight: 600; padding: 7px 13px; }
.ttl-zone-list { columns: 2; column-gap: 14px; list-style: none; margin: 0 0 20px; padding: 0; }
.ttl-zone-list li { font-size: 14px; color: var(--text); padding: 6px 0; border-bottom: 1px dashed #E7EAEE; }
.ttl-zone-list li strong { color: var(--gold-dark); }
@media (max-width: 900px) { .ttl-two-col { grid-template-columns: 1fr; } }

/* ============ FAQ (réutilisé — Accueil en mini-FAQ, Qui sommes-nous en FAQ complète) ============ */
.ttl-faq { max-width: 780px; margin: 0 auto; }
.ttl-faq-item { border-bottom: 1px solid #E7EAEE; }
.ttl-faq-q-wrap { margin: 0; font-weight: normal; }
.ttl-faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 20px 4px; font-family: 'Inter', sans-serif; font-weight: 700; font-size: 15.5px;
  color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.ttl-faq-q svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--gold-dark); transition: transform .25s ease; }
.ttl-faq-item.is-open .ttl-faq-q svg { transform: rotate(45deg); }
.ttl-faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.ttl-faq-a p { font-size: 14.5px; color: var(--text-muted); line-height: 1.65; padding: 0 4px 20px; margin: 0; }

/* ============ CTA FINAL (réutilisé sur toutes les pages) ============ */
.ttl-final-cta {
  background: var(--gold);
  clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
  padding: 70px 0 60px;
  text-align: center;
}
.ttl-final-cta h2 { font-size: 30px; color: #fff; margin-bottom: 12px; }
.ttl-final-cta p { font-size: 15.5px; color: rgba(255,255,255,0.9); margin: 0 0 28px; }


/* ==========================================================================
   ============================ PAGE ACCUEIL =================================
   Styles utilisés UNIQUEMENT sur la page d'accueil.
   ========================================================================== */

/* ============ HERO ============ */
.ttl-hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.ttl-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.ttl-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(9,23,42,0.95) 0%, rgba(14,36,64,0.88) 40%, rgba(22,52,92,0.45) 75%, rgba(22,52,92,0.25) 100%);
}
.ttl-hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 110px;
  padding-right: 24px;
  padding-bottom: 130px;
  padding-left: calc(24px + max(0px, (100vw - 1180px) / 2));
  margin: 0;
  max-width: none;
  text-align: left;
}
.ttl-hero h1 {
  font-size: 48px;
  color: #fff;
  margin-bottom: 20px;
  max-width: 640px;
  text-align: left;
}
.ttl-hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.ttl-hero p.ttl-lead {
  font-size: 17.5px;
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin: 0 0 30px;
  text-align: left;
}
.ttl-hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; justify-content: flex-start; }
.ttl-hero-cut {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: #fff;
  clip-path: polygon(0 100%, 100% 40%, 100% 100%, 0 100%);
  z-index: 2;
}
@media (max-width: 900px) {
  .ttl-hero { min-height: 560px; }
  .ttl-hero-inner { padding: 90px 24px 120px; }
  .ttl-hero h1 { font-size: 32px; }
}

/* ============ CHIFFRES CLÉS ============ */
.ttl-stats { background: #fff; padding: 0 0 70px; position: relative; }
.ttl-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: -50px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(15,52,92,0.12);
  position: relative;
  z-index: 3;
}
.ttl-stat { padding: 28px 18px; text-align: center; border-right: 1px solid #EAECEF; }
.ttl-stat:last-child { border-right: none; }
.ttl-stat strong {
  display: block;
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 800;
  font-size: 34px;
  color: var(--navy);
  white-space: nowrap;
}
.ttl-stat span { display: block; font-size: 12.5px; color: var(--text-muted); font-weight: 500; margin-top: 4px; line-height: 1.3; }
@media (max-width: 900px) {
  .ttl-stats-grid { grid-template-columns: repeat(2, 1fr); margin-top: -30px; }
  .ttl-stat { border-bottom: 1px solid #EAECEF; }
  .ttl-stat:nth-child(2n) { border-right: none; }
}

/* ============ INTRO SEO ============ */
.ttl-intro-section { padding: 70px 0; }
.ttl-intro-grid {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 56px;
  margin-top: 24px;
}
.ttl-intro-lead {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
  color: var(--navy);
  border-left: 4px solid var(--gold);
  padding-left: 20px;
}
.ttl-intro-body p {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0 0 16px;
}
.ttl-intro-body p:last-child { margin-bottom: 0; }
.ttl-intro-collapse {
  position: relative;
  max-height: 90px;
  overflow: hidden;
  transition: max-height .4s ease;
}
.ttl-intro-collapse.is-expanded { max-height: 1200px; }
.ttl-intro-collapse::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #fff 100%);
  transition: opacity .3s ease;
}
.ttl-intro-collapse.is-expanded::after { opacity: 0; }
.ttl-intro-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--gold-dark);
  padding: 0;
}
.ttl-intro-toggle svg { width: 14px; height: 14px; transition: transform .3s ease; }
.ttl-intro-toggle.is-expanded svg { transform: rotate(180deg); }
@media (max-width: 900px) {
  .ttl-intro-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ============ SERVICES ============ */
.ttl-services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ttl-service-card {
  position: relative;
  height: 340px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  transition: transform .3s ease, box-shadow .3s ease;
  clip-path: polygon(0 0, 100% 0, 100% 97%, 0 100%);
}
.ttl-service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(15,52,92,0.25); }
.ttl-service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  z-index: 0;
}
.ttl-service-card:hover img { transform: scale(1.08); }
.ttl-service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9,23,42,0.95) 0%, rgba(14,36,64,0.75) 35%, rgba(14,36,64,0.15) 65%, transparent 100%);
  z-index: 1;
}
.ttl-service-card-content {
  position: relative;
  z-index: 2;
  padding: 20px 18px;
  width: 100%;
}
.ttl-service-card-tag {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 3px 9px;
  margin-bottom: 10px;
}
.ttl-service-card h3 { font-family: 'Big Shoulders Display', sans-serif; font-weight: 800; font-size: 18px; color: #fff; margin-bottom: 6px; line-height: 1.15; }
.ttl-service-card p { font-size: 12.5px; color: rgba(255,255,255,0.8); line-height: 1.45; margin: 0 0 12px; }
.ttl-service-card a { font-size: 12.5px; font-weight: 700; color: var(--gold); text-decoration: none; }
.ttl-service-card a:hover { text-decoration: underline; }
@media (max-width: 1100px) { .ttl-services-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .ttl-services-grid { grid-template-columns: repeat(2, 1fr); } .ttl-service-card { height: 280px; } }

/* ============ POURQUOI NOUS CHOISIR ============ */
.ttl-why-banner {
  position: relative;
  padding: 90px 0;
  overflow: hidden;
}
.ttl-why-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.ttl-why-banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(120deg, rgba(9,23,42,0.92) 0%, rgba(14,36,64,0.88) 100%);
}
.ttl-why-banner .ttl-wrap { position: relative; z-index: 2; }
.ttl-why-banner .ttl-section-head h2,
.ttl-why-banner .ttl-eyebrow { color: #fff; }
.ttl-why-banner .ttl-eyebrow { color: var(--gold); }
.ttl-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ttl-why-card {
  padding: 30px 26px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  position: relative;
}
.ttl-why-card h3 { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 17px; margin-bottom: 12px; color: var(--gold); }
.ttl-why-card p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.85); margin: 0; }
@media (max-width: 900px) { .ttl-why-grid { grid-template-columns: 1fr; } }

/* ============ À PROPOS ============ */
.ttl-about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: center; }
.ttl-about-photo img { width: 100%; height: 340px; object-fit: cover; clip-path: polygon(0 0, 96% 0, 100% 100%, 4% 100%); }
.ttl-about-text p { font-size: 15px; line-height: 1.7; color: var(--text-muted); margin: 0 0 16px; }
@media (max-width: 900px) { .ttl-about-grid { grid-template-columns: 1fr; } .ttl-about-photo img { height: 240px; } }

/* ==========================================================================
   Prochaine page : ajouter ici un nouveau bloc du type
   ============================ PAGE SERVICES ================================
   puis faire de même pour Secteurs & zones, Qui sommes-nous, Contact, etc.
   ========================================================================== */
