/* =========================================================
   PROVENCE CLOUD — Thème fidèle au site WordPress/Divi original
   provencecloud.com (couleurs, polices, espacements iso-aspect)
   ========================================================= */

/* --- Fonts (Divi original) --- */
@font-face { font-family:'Nunito Sans'; font-style:normal; font-weight:400; font-display:swap; src:url('../fonts/nunito-sans-400.woff2') format('woff2'); }
@font-face { font-family:'Nunito Sans'; font-style:normal; font-weight:600; font-display:swap; src:url('../fonts/nunito-sans-600.woff2') format('woff2'); }
@font-face { font-family:'Nunito Sans'; font-style:normal; font-weight:700; font-display:swap; src:url('../fonts/nunito-sans-700.woff2') format('woff2'); }
@font-face { font-family:'Nunito Sans'; font-style:normal; font-weight:800; font-display:swap; src:url('../fonts/nunito-sans-800.woff2') format('woff2'); }
@font-face { font-family:'Teko'; font-style:normal; font-weight:400; font-display:swap; src:url('../fonts/teko-400.woff2') format('woff2'); }
@font-face { font-family:'Teko'; font-style:normal; font-weight:600; font-display:swap; src:url('../fonts/teko-600.woff2') format('woff2'); }
@font-face { font-family:'Teko'; font-style:normal; font-weight:700; font-display:swap; src:url('../fonts/teko-700.woff2') format('woff2'); }
@font-face { font-family:'Lato'; font-style:normal; font-weight:400; font-display:swap; src:url('../fonts/lato-400.woff2') format('woff2'); }
@font-face { font-family:'Lato'; font-style:normal; font-weight:700; font-display:swap; src:url('../fonts/lato-700.woff2') format('woff2'); }

/* --- Variables (palette Divi provencecloud.com) --- */
:root {
  --accent:       #2EA3F2;
  --accent-hover: #2596BE;
  --accent-glow:  rgba(46,163,242,.25);
  --hero-from:    #46B3FF;
  --hero-to:      #0752FE;
  --app-navy:     #0B1F3A;
  --app-blue:     #1677FF;
  --app-cyan:     #27C4F4;
  --app-coral:    #FF6B61;
  --app-pale:     #EEF6FF;
  --dark:         #222222;
  --dark-footer:  #1f1f1f;
  --text:         #666666;
  --text-heading: #333333;
  --text-muted:   #959BAF;
  --light:        #f5f5f5;
  --white:        #ffffff;
  --radius:       0px;
  --radius-sm:    3px;
  --shadow:       0 4px 18px rgba(0,0,0,.08);
  --shadow-lg:    0 8px 32px rgba(0,0,0,.15);
  --shadow-btn:   0 12px 18px -6px rgba(0,0,0,.3);
  --transition:   all .3s ease;
  --header-height:96px;
  --header-strip: 6px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body {
  font-family:'Nunito Sans','Lato',Arial,sans-serif;
  color:var(--text);
  background:var(--white);
  font-size:16px;
  line-height:1.7em;
  font-weight:500;
  -webkit-font-smoothing:antialiased;
  padding-top:calc(var(--header-height) + var(--header-strip));
}
img { max-width:100%; height:auto; display:block; }
a { color:var(--accent); text-decoration:none; transition:var(--transition); }
a:hover { color:var(--accent-hover); text-decoration:none; }
ul { list-style:none; }
strong { font-weight:700; }
h1,h2,h3,h4,h5,h6 {
  font-family:'Nunito Sans','Lato',sans-serif;
  color:var(--text-heading);
  line-height:1.4em;
  font-weight:700;
  padding-bottom:10px;
}
h1 { font-size:30px; }
h2 { font-size:26px; }
h3 { font-size:22px; }
h4 { font-size:18px; }
p { padding-bottom:1em; }
p:last-child { padding-bottom:0; }

/* --- Layout --- */
.container { width:100%; max-width:1080px; margin:0 auto; padding:0 30px; }
.section { padding:54px 0; }
.section--light { background:var(--light); }
.section--dark { background:radial-gradient(circle at center, #2b87da 100%, #fff 100%); color:var(--white); }
.section--dark h1,.section--dark h2,.section--dark h3,.section--dark h4,.section--dark p { color:var(--white); }

.grid-2 { display:grid; grid-template-columns:repeat(2,1fr); gap:30px; }
.grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:30px; }
.grid-4 { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }

@media(max-width:980px){
  .grid-4 { grid-template-columns:repeat(2,1fr); }
  .grid-3 { grid-template-columns:repeat(2,1fr); }
}
@media(max-width:767px){
  .grid-4,.grid-3,.grid-2 { grid-template-columns:1fr; }
  .section { padding:40px 0; }
}

.text-center { text-align:center; }
.mt-8 { margin-top:8px; }
.mt-16 { margin-top:16px; }
.mt-24 { margin-top:24px; }
.mt-40 { margin-top:40px; }
.mb-8 { margin-bottom:8px; }
.mb-16 { margin-bottom:16px; }
.mb-32 { margin-bottom:32px; }
.mb-48 { margin-bottom:48px; }

/* --- Typography --- */
.overline {
  font-family:'Nunito Sans',sans-serif;
  font-size:.75rem;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--accent);
  padding-bottom:0;
}
.section-title {
  font-size:clamp(1.5rem,4vw,2.2rem);
  font-weight:700;
  margin-top:6px;
  padding-bottom:12px;
}
.section-subtitle {
  font-size:1rem;
  color:var(--text);
  margin-top:0;
  max-width:600px;
  padding-bottom:0;
}
.section-subtitle--center { margin-left:auto; margin-right:auto; }

/* --- Buttons (Divi: square, shadow, uppercase Teko) --- */
.btn {
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:.3em 1em;
  border-radius:var(--radius);
  font-family:'Teko','Nunito Sans',sans-serif;
  font-weight:600;
  font-size:20px;
  letter-spacing:4px;
  text-transform:uppercase;
  cursor:pointer;
  transition:var(--transition);
  border:2px solid transparent;
  text-decoration:none;
}
.btn-primary {
  background:var(--accent);
  color:var(--white);
  border-color:var(--accent);
  box-shadow:var(--shadow-btn);
}
.btn-primary:hover {
  background:var(--accent-hover);
  border-color:var(--accent-hover);
  color:var(--white);
  transform:translateY(-2px);
}
.btn-outline {
  border-color:var(--white);
  color:var(--white);
  background:transparent;
}
.btn-outline:hover { background:var(--white); color:var(--text-heading); }
.btn-outline-dark {
  border-color:var(--accent);
  color:var(--accent);
  background:transparent;
}
.btn-outline-dark:hover { background:var(--accent); color:var(--white); }

/* --- Header / Nav (white top band) --- */
.site-header {
  position:fixed;
  top:0; left:0; right:0;
  z-index:1000;
  background:var(--white);
  border-top:var(--header-strip) solid #1f6672;
  border-bottom:1px solid rgba(0,0,0,.06);
  transition:var(--transition);
}
.site-header.scrolled { box-shadow:0 4px 20px rgba(0,0,0,.08); }
.site-header .container {
  max-width:none;
  padding:0 clamp(30px,4.4vw,90px);
}
.header-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:var(--header-height);
}
.logo { display:flex; align-items:center; gap:10px; text-decoration:none; }
.logo img { height:40px; width:auto; }
.site-header .logo img {
  height:68px;
  max-width:210px;
  object-fit:contain;
}
.site-header .logo-lockup { display:none; }
.logo-lockup { display:flex; flex-direction:column; line-height:1; }
.logo-text {
  font-family:'Nunito Sans',sans-serif;
  font-weight:800;
  font-size:1.15rem;
  color:var(--white);
  line-height:1.05;
}
.logo-text span { color:var(--accent); }
.logo-tagline {
  margin-top:3px;
  font-size:.6rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:rgba(255,255,255,.5);
}
.site-header nav { display:flex; align-items:center; }
.nav-menu { display:flex; align-items:center; gap:28px; }
.nav-item { position:relative; }
.nav-link {
  display:flex;
  align-items:center;
  gap:10px;
  padding:8px 0;
  font-family:'Nunito Sans',sans-serif;
  font-weight:700;
  font-size:20px;
  color:#666666;
  transition:var(--transition);
  white-space:nowrap;
}
.nav-link::before {
  content:'';
  width:30px;
  height:30px;
  background:currentColor;
  flex-shrink:0;
}
.nav-link[href="index.html"]::before {
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h7v7H4V4Zm9 0h7v7h-7V4ZM4 13h7v7H4v-7Zm9 0h7v7h-7v-7Z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h7v7H4V4Zm9 0h7v7h-7V4ZM4 13h7v7H4v-7Zm9 0h7v7h-7v-7Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.nav-link[href="qui-sommes-nous.html"]::before {
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a5 5 0 1 0-5-5 5 5 0 0 0 5 5Zm0 2c-4.42 0-8 2.24-8 5v2h16v-2c0-2.76-3.58-5-8-5Z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a5 5 0 1 0-5-5 5 5 0 0 0 5 5Zm0 2c-4.42 0-8 2.24-8 5v2h16v-2c0-2.76-3.58-5-8-5Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.nav-link[href="#"]::before {
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 4h18v13H3V4Zm2 2v9h16V6H5Zm6 13h2v2h5v2H6v-2h5v-2Z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 4h18v13H3V4Zm2 2v9h16V6H5Zm6 13h2v2h5v2H6v-2h5v-2Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.nav-link[href="nous-contacter.html"]::before {
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 5h18v14H3V5Zm2 3.1V17h14V8.1l-7 5.1-7-5.1ZM6.5 7l5.5 4 5.5-4h-11Z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 5h18v14H3V5Zm2 3.1V17h14V8.1l-7 5.1-7-5.1ZM6.5 7l5.5 4 5.5-4h-11Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.nav-item > .nav-link[href="#"]::after {
  content:'';
  width:10px;
  height:10px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:rotate(45deg) translateY(-2px);
  margin-left:2px;
}
.site-header .nav-link:hover,
.site-header .nav-link.active {
  color:var(--accent);
}

/* Dropdown */
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown { opacity:1; visibility:visible; transform:translateY(0); }
.dropdown {
  position:absolute; top:calc(100% + 4px); left:0;
  background:var(--white);
  box-shadow:var(--shadow-lg);
  padding:6px 0;
  min-width:240px;
  opacity:0; visibility:hidden;
  transform:translateY(-4px);
  transition:var(--transition);
}
.dropdown a {
  display:block; padding:10px 20px; font-size:14px;
  color:var(--text); font-weight:600;
  transition:background .3s ease;
}
.dropdown a:hover { background:var(--light); color:var(--accent); }
.site-header .nav-cta {
  background:transparent !important;
  color:#666666 !important;
  padding:8px 0 !important;
}
.site-header .nav-cta:hover,
.site-header .nav-cta.active { color:var(--accent) !important; }

/* Mobile nav */
.nav-toggle {
  display:none;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
  padding:8px;
  background:transparent;
  border:none;
}
.nav-toggle::before {
  content:'';
  display:none;
  width:26px;
  height:18px;
  background:linear-gradient(#666666,#666666) 0 0/100% 2px no-repeat,
             linear-gradient(#666666,#666666) 0 50%/100% 2px no-repeat,
             linear-gradient(#666666,#666666) 0 100%/100% 2px no-repeat;
}
.nav-toggle span { width:24px; height:2px; background:#666666; border-radius:2px; transition:var(--transition); }

@media(max-width:980px){
  :root {
    --header-height:76px;
    --header-strip: 5px;
  }
  .nav-toggle {
    display:flex !important;
    position:absolute;
    top:calc(var(--header-strip) + 50%);
    right:30px;
    width:40px;
    height:40px;
    align-items:center;
    justify-content:center;
    transform:translateY(-50%);
    z-index:1002;
  }
  .nav-toggle::before { display:block; }
  .nav-toggle span { display:none; }
  .site-header .logo img { height:52px; max-width:170px; }
  .nav-menu {
    display:none;
    position:fixed;
    top:calc(var(--header-height) + var(--header-strip)); left:0; right:0;
    background:var(--white);
    flex-direction:column;
    align-items:stretch;
    padding:16px;
    gap:8px;
    border-top:1px solid rgba(0,0,0,.08);
    box-shadow:0 16px 32px rgba(0,0,0,.12);
  }
  .nav-menu.open { display:flex; }
  .nav-link { font-size:18px; }
  .dropdown {
    position:static; opacity:1; visibility:visible; transform:none;
    box-shadow:none; background:var(--light);
    margin-top:4px; display:none;
  }
  .dropdown a { color:var(--text); }
  .dropdown a:hover { background:rgba(46,163,242,.1); color:var(--accent); }
  .nav-item.open .dropdown { display:block; }
}

/* --- Hero (Divi fullwidth slider: blue gradient + background image) --- */
.hero {
  padding-top:80px;
  padding-bottom:60px;
  background:linear-gradient(180deg, var(--hero-from) 0%, var(--hero-to) 100%);
  position:relative;
  overflow:hidden;
  min-height:403px;
  display:flex;
  align-items:center;
}
.hero::before {
  content:'';
  position:absolute; inset:0;
  background:var(--accent-glow);
  pointer-events:none;
}
.hero-content { position:relative; z-index:1; text-align:center; max-width:700px; margin:0 auto; }
.hero-tag {
  display:inline-block;
  background:rgba(255,255,255,.15);
  border:1px solid rgba(255,255,255,.3);
  color:var(--white);
  font-family:'Nunito Sans',sans-serif;
  font-weight:700;
  font-size:14px;
  letter-spacing:.08em;
  text-transform:uppercase;
  padding:6px 14px;
  border-radius:100px;
  margin-bottom:20px;
}
.hero h1 {
  font-family:'Nunito Sans',sans-serif;
  font-size:clamp(1.8rem,5vw,46px);
  font-weight:800;
  color:var(--white) !important;
  line-height:1.2;
  text-shadow:0em 0.1em 0.1em rgba(0,0,0,0.4);
  padding-bottom:0;
}
.hero h1 em { font-style:normal; }
.hero-desc {
  font-size:20px;
  color:rgba(255,255,255,.9);
  max-width:600px;
  margin:16px auto 0;
  text-shadow:0 1px 4px rgba(0,0,0,.2);
  padding-bottom:0;
}
.hero-actions { display:flex; gap:16px; margin-top:28px; flex-wrap:wrap; justify-content:center; }
.hero-stats {
  display:flex; gap:40px; margin-top:36px;
  padding-top:28px;
  border-top:1px solid rgba(255,255,255,.2);
  flex-wrap:wrap;
  justify-content:center;
}
.stat-value {
  font-family:'Teko',sans-serif;
  font-size:2.4rem;
  font-weight:600;
  color:var(--white);
  line-height:1;
}
.stat-value span { color:var(--white); }
.stat-label { font-size:14px; color:rgba(255,255,255,.6); margin-top:4px; }
.section--dark .stat-value { color:var(--white); }
.section--dark .stat-label { color:rgba(255,255,255,.5); }

/* --- Page hero (sub-pages) --- */
.page-hero {
  padding-top:80px;
  padding-bottom:40px;
  background:linear-gradient(180deg, var(--hero-from) 0%, var(--hero-to) 100%);
  position:relative; overflow:hidden;
}
.page-hero::before {
  content:''; position:absolute; inset:0;
  background:var(--accent-glow);
  pointer-events:none;
}
.page-hero .container { position:relative; z-index:1; }
.page-hero h1 {
  font-size:clamp(1.5rem,4vw,2.4rem);
  font-weight:800;
  color:var(--white) !important;
  text-shadow:0em 0.1em 0.1em rgba(0,0,0,0.4);
  padding-bottom:0;
}
.page-hero .lead {
  font-size:18px;
  color:rgba(255,255,255,.85);
  margin-top:10px;
  max-width:600px;
  padding-bottom:0;
}
.breadcrumb {
  font-size:14px;
  color:rgba(255,255,255,.5);
  margin-bottom:10px;
  font-weight:600;
  padding-bottom:0;
}
.breadcrumb a { color:rgba(255,255,255,.5); }
.breadcrumb a:hover { color:var(--white); }
.breadcrumb span { color:var(--white); }

/* --- Cards / Blurbs (Divi circular icon, uppercase title) --- */
.card {
  background:var(--white);
  padding:40px 20px 28px;
  box-shadow:var(--shadow);
  transition:var(--transition);
  border:1px solid rgba(0,0,0,.05);
  text-decoration:none;
  color:var(--text);
  display:flex;
  flex-direction:column;
  height:100%;
}
.card:hover {
  transform:translateY(-4px);
  box-shadow:var(--shadow-lg);
  color:var(--text);
}
.card-icon {
  width:96px; height:96px;
  background:var(--accent);
  border:3px solid var(--accent);
  border-radius:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 20px;
  padding:25px;
}
.card-icon svg { width:100%; height:100%; fill:none; stroke:white; stroke-width:1.5; }
.card h3 {
  font-size:22px;
  font-weight:700;
  text-transform:uppercase;
  margin-bottom:10px;
  text-align:center;
  color:var(--text-heading);
  padding-bottom:0;
}
.card p {
  font-size:16px;
  color:var(--text-muted);
  line-height:1.7em;
  text-align:center;
  padding-bottom:0;
}
.card-link {
  display:block;
  text-align:center;
  font-family:'Teko',sans-serif;
  font-weight:600;
  font-size:18px;
  color:var(--accent);
  margin-top:auto;
  padding-top:18px;
  text-transform:uppercase;
  letter-spacing:2px;
}
.card-link:hover { color:var(--accent-hover); }

/* Feature card (check list) */
.feature-card {
  background:var(--white);
  padding:20px;
  border:1px solid rgba(0,0,0,.06);
  display:flex;
  align-items:flex-start;
  gap:16px;
}
.feature-card .check {
  width:32px; height:32px;
  border-radius:50%;
  background:rgba(46,163,242,.12);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
  margin-top:2px;
}
.feature-card .check svg { width:16px; height:16px; stroke:var(--accent); fill:none; stroke-width:2.5; }
.feature-card h4 { font-size:16px; font-weight:700; padding-bottom:0; }
.feature-card p { font-size:14px; color:var(--text-muted); margin-top:4px; padding-bottom:0; }

/* Pill tag */
.tag {
  display:inline-block;
  background:rgba(46,163,242,.1);
  color:var(--accent);
  font-size:14px;
  font-weight:700;
  padding:6px 14px;
  border-radius:100px;
  border:1px solid rgba(46,163,242,.2);
}

/* --- Services Grid --- */
.services-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:30px; }
@media(max-width:980px){ .services-grid { grid-template-columns:repeat(2,1fr); } }
@media(max-width:767px){ .services-grid { grid-template-columns:1fr; } }

/* --- CTA Banner --- */
.cta-banner {
  background:linear-gradient(135deg,var(--accent) 0%, var(--hero-to) 100%);
  padding:48px 40px;
  display:flex; align-items:center;
  justify-content:space-between;
  gap:24px; flex-wrap:wrap;
}
.cta-banner h2 { color:var(--white); font-size:1.75rem; }
.cta-banner p { color:rgba(255,255,255,.8); margin-top:8px; }

/* --- Contact Section --- */
.contact-section { background:var(--light); }
.contact-grid {
  display:grid;
  grid-template-columns:1fr 1.4fr;
  gap:48px;
  align-items:start;
}
@media(max-width:767px){ .contact-grid { grid-template-columns:1fr; } }

.contact-info h2 { font-size:1.5rem; }
.contact-info p { color:var(--text); margin-top:8px; }
.contact-detail { display:flex; align-items:flex-start; gap:14px; margin-top:20px; }
.contact-detail .icon {
  width:40px; height:40px;
  background:var(--white);
  border-radius:50%;
  box-shadow:var(--shadow);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.contact-detail .icon svg { width:18px; height:18px; stroke:var(--accent); fill:none; stroke-width:1.8; }
.contact-detail strong { font-size:14px; padding-bottom:0; }
.contact-detail span { font-size:14px; color:var(--text); }

.hours-block {
  margin-top:20px;
  background:var(--white);
  padding:16px 20px;
  box-shadow:var(--shadow);
}
.hours-block h4 { font-size:16px; margin-bottom:8px; padding-bottom:0; }
.hours-row {
  display:flex; justify-content:space-between;
  font-size:14px; padding:5px 0;
  border-bottom:1px solid var(--light);
  color:var(--text);
}
.hours-row:last-child { border-bottom:none; }
.hours-row strong { color:var(--text-heading); }

/* --- Forms (Divi style) --- */
.contact-form {
  background:var(--white);
  padding:32px;
  box-shadow:var(--shadow-lg);
}
.contact-form h3 { font-size:22px; margin-bottom:20px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media(max-width:480px){ .form-row { grid-template-columns:1fr; } }
.form-group { margin-bottom:16px; }
.form-group label {
  display:block;
  font-size:14px;
  font-weight:700;
  color:var(--text-heading);
  margin-bottom:6px;
  padding-bottom:0;
}
.form-group input,
.form-group textarea,
.form-group select {
  width:100%;
  padding:10px 14px;
  border:1px solid #ddd;
  font-family:'Nunito Sans','Lato',sans-serif;
  font-size:16px;
  color:var(--text-heading);
  background:var(--white);
  transition:var(--transition);
  outline:none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color:var(--accent); box-shadow:0 0 0 3px rgba(46,163,242,.12); }
.form-group textarea { resize:vertical; min-height:120px; }
.form-submit { width:100%; padding:14px; justify-content:center; }

/* --- Formations --- */
.formation-category {
  background:var(--white);
  overflow:hidden;
  box-shadow:var(--shadow);
  border:1px solid rgba(0,0,0,.05);
}
.formation-category-header {
  background:linear-gradient(180deg, var(--hero-from) 0%, var(--hero-to) 100%);
  padding:14px 20px;
  display:flex; align-items:center; gap:12px;
}
.formation-category-header svg { width:20px; height:20px; stroke:var(--white); fill:none; stroke-width:1.8; flex-shrink:0; }
.formation-category-header h3 { color:var(--white); font-size:16px; font-weight:700; padding-bottom:0; }
.formation-list { padding:10px 20px; }
.formation-item {
  display:flex; align-items:center; gap:10px;
  padding:8px 0;
  border-bottom:1px solid var(--light);
  font-size:16px;
}
.formation-item:last-child { border-bottom:none; }
.formation-item::before {
  content:'';
  width:6px; height:6px;
  border-radius:50%;
  background:var(--accent);
  flex-shrink:0;
}
.formation-item--download > span { flex:1; min-width:0; }
.formation-pdf-link {
  flex:0 0 auto;
  margin-left:auto;
  padding:5px 10px;
  border:1px solid rgba(46,163,242,.32);
  border-radius:100px;
  background:rgba(46,163,242,.09);
  color:var(--accent);
  font-size:12px;
  font-weight:800;
  line-height:1.2;
  text-decoration:none;
  transition:var(--transition);
}
.formation-pdf-link:hover,
.formation-pdf-link:focus-visible {
  background:var(--accent);
  color:var(--white);
}

/* Formations IA & réseau */
.formation-course-grid { margin-top:40px; align-items:stretch; }
.formation-course { display:flex; flex-direction:column; }
.formation-course .formation-category-header {
  min-height:102px;
  align-items:flex-start;
  justify-content:space-between;
}
.formation-course .formation-category-header h3 { line-height:1.35; }
.formation-course .formation-category-header h3 a { color:var(--white); }
.formation-course .formation-category-header h3 a:hover { color:#d8efff; }
.formation-duration {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:62px;
  padding:5px 9px;
  border:1px solid rgba(255,255,255,.5);
  border-radius:999px;
  color:var(--white);
  font-size:12px;
  font-weight:800;
  line-height:1;
  white-space:nowrap;
}
.formation-objective {
  padding:18px 20px 4px;
  color:var(--text-body);
  font-size:15px;
  line-height:1.55;
}
.formation-course .formation-list { flex:1; }
.formation-course .formation-item { align-items:flex-start; font-size:15px; }
.formation-course .formation-item::before { margin-top:8px; }
.formation-project {
  margin:0 20px 16px;
  padding:12px 14px;
  border-left:3px solid var(--accent);
  background:var(--light);
  color:var(--text-body);
  font-size:14px;
  line-height:1.5;
}
.formation-course-actions {
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:14px 20px;
  border-top:1px solid var(--light);
  font-size:14px;
  font-weight:800;
}
.formation-course-actions a:last-child { color:var(--text-body); }
.formation-course-actions a:hover { text-decoration:underline; }
.formation-course-note {
  margin-top:40px;
  padding:26px 30px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  background:var(--light);
  border-left:4px solid var(--accent);
}
.formation-course-note p { max-width:720px; }

/* Pages détaillées des formations */
.course-meta-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;
  margin-top:34px;
  background:rgba(255,255,255,.22);
  border:1px solid rgba(255,255,255,.22);
}
.course-meta-item { padding:15px 18px; background:rgba(8,27,72,.5); }
.course-meta-item span { display:block; color:#d8efff; font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; }
.course-meta-item strong { display:block; margin-top:4px; color:var(--white); font-size:16px; }
.course-content-grid { display:grid; grid-template-columns:minmax(0,2fr) minmax(280px,1fr); gap:42px; align-items:start; }
.course-summary {
  padding:24px;
  background:var(--light);
  border-top:4px solid var(--accent);
  box-shadow:var(--shadow);
}
.course-summary h2 { font-size:22px; }
.course-summary dl { margin-top:16px; }
.course-summary dt { margin-top:14px; color:var(--text-heading); font-weight:800; }
.course-summary dd { margin-top:3px; color:var(--text-body); }
.course-objectives { margin-top:22px; }
.course-objectives li,
.course-session li,
.course-info-list li { margin:8px 0; padding-left:20px; position:relative; }
.course-objectives li::before,
.course-session li::before,
.course-info-list li::before {
  content:'';
  position:absolute;
  top:9px;
  left:0;
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--accent);
}
.course-program { display:grid; gap:22px; margin-top:30px; }
.course-day { border:1px solid #e2e8f0; background:var(--white); box-shadow:0 10px 25px rgba(15,38,71,.06); }
.course-day h3 { padding:14px 20px; background:var(--hero-to); color:var(--white); font-size:18px; }
.course-session { padding:18px 20px; border-top:1px solid var(--light); }
.course-session:first-of-type { border-top:0; }
.course-session h4 { color:var(--text-heading); font-size:17px; }
.course-session p { color:var(--text-body); font-size:15px; }
.course-practical { margin-top:12px; padding:11px 13px; background:#eef7fd; border-left:3px solid var(--accent); font-size:14px; }
.course-download-panel {
  margin-top:30px;
  padding:26px;
  text-align:center;
  background:linear-gradient(180deg, var(--hero-from) 0%, var(--hero-to) 100%);
  color:var(--white);
}
.course-download-panel h2,
.course-download-panel p { color:var(--white); }
.course-download-panel .btn { margin-top:8px; background:var(--white); color:var(--hero-to); }
.course-related { display:flex; flex-wrap:wrap; gap:10px; margin-top:22px; }
.course-related a { padding:8px 12px; background:var(--light); border:1px solid #e2e8f0; font-size:14px; font-weight:700; }

@media(max-width:980px){
  .course-meta-grid { grid-template-columns:repeat(2,1fr); }
  .course-content-grid { grid-template-columns:1fr; }
}
@media(max-width:767px){
  .formation-course .formation-category-header { min-height:auto; }
  .formation-course-actions,
  .formation-course-note { align-items:flex-start; flex-direction:column; }
  .course-meta-grid { grid-template-columns:1fr; }
}

/* Tab nav */
.tab-nav { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:40px; }
.tab-btn {
  display:inline-block;
  padding:8px 18px;
  border-radius:100px;
  font-family:'Nunito Sans',sans-serif;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
  border:2px solid var(--accent);
  color:var(--accent);
  background:transparent;
  transition:var(--transition);
  text-decoration:none;
}
.tab-btn:hover,.tab-btn.active { background:var(--accent); color:var(--white); }

/* --- Footer (Divi: #222222) --- */
.site-footer {
  background:var(--dark);
  color:var(--white);
  padding:6% 0 0;
  font-size:14px;
  line-height:1.7em;
}
.footer-grid {
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr 1fr;
  gap:40px;
}
@media(max-width:980px){ .footer-grid { grid-template-columns:1fr 1fr; } }
@media(max-width:560px){ .footer-grid { grid-template-columns:1fr; } }

.footer-brand .logo-text { font-size:1.2rem; }
.footer-brand p { font-size:14px; line-height:1.7em; margin-top:12px; max-width:260px; color:rgba(255,255,255,.7); padding-bottom:0; }
.footer-col h4 {
  color:var(--accent);
  font-size:14px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  margin-bottom:14px;
  padding-bottom:0;
}
.footer-col ul li { margin-bottom:8px; }
.footer-col ul li a { font-size:14px; color:var(--white); }
.footer-col ul li a:hover { color:rgba(255,255,255,.7); }
.footer-bottom {
  border-top:1px solid rgba(255,255,255,.07);
  background:rgba(0,0,0,.32);
  padding:15px 0;
  margin-top:40px;
  display:flex; align-items:center;
  justify-content:space-between;
  flex-wrap:wrap; gap:12px;
}
.footer-bottom p { font-size:14px; color:#666; padding-bottom:0; }
.social-links { display:flex; gap:12px; }
.social-links a {
  width:36px; height:36px;
  border-radius:50%;
  background:rgba(255,255,255,.06);
  display:flex; align-items:center; justify-content:center;
  color:rgba(255,255,255,.5);
  transition:var(--transition);
  font-size:14px;
  font-weight:700;
  text-decoration:none;
}
.social-links a:hover { background:var(--accent); color:var(--white); }

/* --- Misc --- */
.divider {
  width:56px; height:4px;
  background:var(--accent);
  border-radius:4px;
  margin:8px 0 20px;
}
.divider-center { margin:8px auto 20px; }
.img-block { overflow:hidden; box-shadow:var(--shadow-lg); }
.img-block img { width:100%; object-fit:cover; }

.split-section { display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; }
@media(max-width:767px){ .split-section { grid-template-columns:1fr; gap:30px; } }
.split-section.reverse .split-img { order:-1; }
@media(max-width:767px){ .split-section.reverse .split-img { order:0; } }

.notice {
  background:rgba(46,163,242,.08);
  border-left:3px solid var(--accent);
  padding:14px 18px;
  font-size:16px;
  font-style:italic;
  color:var(--text);
}

.icon-list li {
  display:flex; align-items:flex-start; gap:12px;
  padding:8px 0;
  border-bottom:1px solid rgba(0,0,0,.05);
  font-size:16px;
}
.icon-list li:last-child { border-bottom:none; }
.icon-list .dot {
  width:6px; height:6px;
  border-radius:var(--radius-sm);
  border-style:solid;
  border-width:3px;
  border-color:var(--accent);
  flex-shrink:0;
  margin-top:8px;
}

.highlight {
  background:linear-gradient(135deg, var(--dark) 0%, #1a1a2e 100%);
  padding:32px;
  color:rgba(255,255,255,.85);
}
.highlight h3 { color:var(--white); margin-bottom:8px; }

/* --- Download code modal --- */
.download-code-modal[hidden] { display:none; }
.download-code-modal {
  position:fixed;
  inset:0;
  z-index:3000;
  display:grid;
  place-items:center;
  padding:24px;
}
.download-code-modal__backdrop {
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.62);
}
.download-code-modal__panel {
  position:relative;
  width:min(100%,420px);
  background:var(--white);
  box-shadow:var(--shadow-lg);
  padding:32px;
  color:var(--text);
}
.download-code-modal__panel h2 {
  font-size:26px;
  padding-bottom:6px;
}
.download-code-modal__panel p {
  font-size:15px;
  line-height:1.6em;
}
.download-code-modal__close {
  position:absolute;
  top:12px;
  right:12px;
  border:0;
  background:transparent;
  color:var(--text-muted);
  font:700 12px/1 'Nunito Sans',sans-serif;
  text-transform:uppercase;
  cursor:pointer;
}
.download-code-modal__close:hover { color:var(--text-heading); }
.download-code-form { margin-top:14px; }
.download-code-form label {
  display:block;
  font-size:13px;
  font-weight:700;
  color:var(--text-heading);
  margin-bottom:6px;
}
.download-code-form input {
  width:100%;
  padding:13px 14px;
  border:1px solid rgba(0,0,0,.14);
  border-radius:var(--radius-sm);
  font:600 18px/1.2 'Nunito Sans',sans-serif;
  letter-spacing:.08em;
  color:var(--text-heading);
  background:var(--white);
}
.download-code-form input:focus {
  outline:none;
  border-color:var(--accent);
  box-shadow:0 0 0 3px rgba(46,163,242,.12);
}
.download-code-form input[aria-invalid="true"] {
  border-color:#c9362c;
  box-shadow:0 0 0 3px rgba(201,54,44,.12);
}
.download-code-error {
  color:#c9362c;
  font-size:14px;
  font-weight:700;
  padding:8px 0 0;
}
.download-code-actions {
  display:flex;
  justify-content:flex-end;
  gap:12px;
  margin-top:22px;
}
.download-code-modal-open { overflow:hidden; }

@media(max-width:480px){
  .download-code-modal { padding:18px; }
  .download-code-modal__panel { padding:28px 22px 22px; }
  .download-code-actions { flex-direction:column-reverse; }
  .download-code-actions .btn { justify-content:center; width:100%; }
}

/* --- Offre Applications métier sur mesure --- */
.app-page .section--light,
.app-page .contact-section { background:var(--app-pale); }
.app-home-badge {
  align-self:center;
  display:inline-block;
  margin:-6px 0 12px;
  padding:4px 10px;
  border-radius:100px;
  background:rgba(22,119,255,.1);
  color:var(--app-blue);
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  line-height:1.3;
  text-transform:uppercase;
}
.app-anchor-section { scroll-margin-top:calc(var(--header-height) + var(--header-strip) + 16px); }
.app-section-heading {
  max-width:820px;
  margin-bottom:40px;
}
.app-section-heading .section-subtitle { max-width:730px; }
.app-section-conclusion {
  max-width:820px;
  margin-top:32px;
  text-align:center;
  font-weight:700;
  color:var(--app-navy);
}

.app-hero {
  position:relative;
  overflow:hidden;
  padding:64px 0 58px;
  background:
    radial-gradient(circle at 88% 12%, rgba(39,196,244,.22), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, var(--app-pale) 100%);
}
.app-hero::before {
  content:'';
  position:absolute;
  width:440px;
  height:440px;
  right:-240px;
  bottom:-280px;
  border:80px solid rgba(22,119,255,.08);
  border-radius:50%;
  pointer-events:none;
}
.app-hero__grid {
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);
  gap:46px;
  align-items:center;
  max-width:1240px;
}
.app-breadcrumb { color:var(--text-muted); }
.app-breadcrumb a { color:var(--text-muted); }
.app-breadcrumb a:hover { color:var(--app-blue); }
.app-breadcrumb span { color:var(--app-navy); }
.app-hero h1 {
  max-width:690px;
  margin-top:10px;
  color:var(--app-navy);
  font-size:clamp(2.1rem,4.3vw,3.65rem);
  line-height:1.08;
  letter-spacing:-.035em;
  padding-bottom:0;
}
.app-hero__lead {
  max-width:690px;
  margin-top:22px;
  color:#40516b;
  font-size:18px;
  line-height:1.7;
}
.app-hero__audience {
  display:inline-block;
  margin-top:2px;
  padding:5px 11px;
  color:var(--app-navy);
  background:rgba(22,119,255,.08);
  border-left:3px solid var(--app-blue);
  font-size:14px;
  font-weight:800;
}
.app-hero__actions {
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:24px;
}
.app-hero .btn,
.app-offer-card .btn,
.app-project-form .btn,
.app-final-cta .btn {
  min-height:48px;
  justify-content:center;
  text-align:center;
  font-size:18px;
  line-height:1.1;
  letter-spacing:1.8px;
}
.app-hero__trust {
  margin-top:22px;
  color:var(--app-navy);
  font-size:14px;
  font-weight:800;
}
.app-hero__trust span { color:var(--app-coral); margin:0 4px; }
.app-hero__note {
  max-width:680px;
  color:#66758b;
  font-size:12px;
  line-height:1.55;
  padding-bottom:0;
}
.app-hero__visual img {
  width:100%;
  border-radius:18px;
  box-shadow:0 24px 64px rgba(11,31,58,.18);
}

.app-benefits-grid,
.app-examples-grid,
.app-steps,
.app-offers-grid { margin-top:0; }
.app-feature-card {
  min-height:100%;
  padding:24px 20px;
  border-top:3px solid var(--app-blue);
  box-shadow:0 8px 24px rgba(11,31,58,.07);
}
.app-feature-card h3 {
  color:var(--app-navy);
  font-size:17px;
  line-height:1.35;
  padding-bottom:0;
}
.app-feature-card p {
  margin-top:7px;
  color:var(--text);
  font-size:14px;
  line-height:1.6;
}

.app-example-card {
  padding:28px;
  border:1px solid rgba(22,119,255,.12);
}
.app-example-card:hover { border-color:rgba(22,119,255,.34); }
.app-card-icon {
  display:flex;
  align-items:center;
  justify-content:center;
  width:54px;
  height:54px;
  margin-bottom:20px;
  border-radius:14px;
  background:linear-gradient(135deg, var(--app-blue), var(--app-cyan));
  box-shadow:0 10px 24px rgba(22,119,255,.2);
}
.app-card-icon svg {
  width:28px;
  height:28px;
  fill:none;
  stroke:var(--white);
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.app-example-card h3 {
  color:var(--app-navy);
  font-size:19px;
  line-height:1.35;
  text-align:left;
  text-transform:none;
}
.app-example-card p {
  color:var(--text);
  text-align:left;
}

.app-flow-section { padding-top:64px; }
.app-wide-visual {
  display:block;
  overflow:hidden;
  border-radius:16px;
  box-shadow:0 18px 48px rgba(11,31,58,.14);
}
.app-wide-visual img { width:100%; }
.app-process-flow {
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:24px;
  margin:28px 0 20px;
  list-style:none;
  counter-reset:flow;
}
.app-process-flow li {
  position:relative;
  min-height:52px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:9px 10px;
  border:1px solid rgba(22,119,255,.2);
  background:var(--app-pale);
  color:var(--app-navy);
  text-align:center;
  font-size:13px;
  font-weight:800;
  line-height:1.3;
}
.app-process-flow li:not(:last-child)::after {
  content:'→';
  position:absolute;
  right:-20px;
  z-index:2;
  color:var(--app-blue);
  font-size:18px;
}
.app-flow-copy {
  max-width:760px;
  margin:0 auto;
  color:var(--app-navy);
  text-align:center;
  font-size:17px;
  font-weight:700;
}

.app-support-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:52px;
  align-items:center;
}
.app-support-list {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin:20px 0;
}
.app-support-list li,
.app-security-list li {
  position:relative;
  padding:11px 12px 11px 38px;
  background:var(--white);
  border:1px solid rgba(22,119,255,.12);
  color:var(--app-navy);
  font-size:14px;
  font-weight:700;
}
.app-support-list li::before,
.app-security-list li::before {
  content:'✓';
  position:absolute;
  left:14px;
  color:var(--app-blue);
  font-weight:900;
}
.app-integration-note {
  padding:14px 16px;
  border-left:3px solid var(--app-cyan);
  background:rgba(255,255,255,.7);
  color:#4c5d72;
  font-size:14px;
}
.app-support-visual {
  display:block;
  overflow:hidden;
  border-radius:16px;
  box-shadow:0 18px 48px rgba(11,31,58,.14);
}
.app-support-visual img { width:100%; }

.app-steps { list-style:none; }
.app-step-card {
  position:relative;
  padding:68px 22px 26px;
  overflow:hidden;
}
.app-step-number {
  position:absolute;
  top:18px;
  left:22px;
  display:flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  border-radius:50%;
  background:var(--app-blue);
  color:var(--white);
  font-family:'Teko',sans-serif;
  font-size:24px;
  font-weight:600;
}
.app-step-card h3 {
  color:var(--app-navy);
  font-size:17px;
  line-height:1.35;
  text-align:left;
  text-transform:none;
}
.app-step-card p {
  color:var(--text);
  text-align:left;
  font-size:14px;
}
.app-scope-note {
  margin-top:30px;
  padding:20px 22px;
  border-left:4px solid var(--app-coral);
  background:#fff7f6;
  color:#4d5360;
  font-size:14px;
}
.app-scope-note strong { color:var(--app-navy); }

.app-offer-card {
  display:flex;
  flex-direction:column;
  padding:34px;
  background:var(--white);
  border:1px solid rgba(11,31,58,.1);
  box-shadow:0 12px 36px rgba(11,31,58,.09);
}
.app-offer-card--featured { border-top:5px solid var(--app-blue); }
.app-offer-label {
  align-self:flex-start;
  margin-bottom:14px;
  padding:5px 10px;
  border-radius:100px;
  background:rgba(22,119,255,.1);
  color:var(--app-blue);
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.app-offer-card h3 {
  color:var(--app-navy);
  font-size:25px;
}
.app-offer-intro {
  color:#40516b;
  font-weight:700;
}
.app-check-list {
  margin:8px 0 28px;
  flex:1;
}
.app-check-list li {
  position:relative;
  padding:9px 0 9px 28px;
  border-bottom:1px solid rgba(11,31,58,.07);
  color:#4c5d72;
  font-size:14px;
  line-height:1.55;
}
.app-check-list li::before {
  content:'✓';
  position:absolute;
  left:2px;
  color:var(--app-blue);
  font-weight:900;
}
.app-offer-card .btn { width:100%; }
.app-offer-reassurance {
  max-width:820px;
  margin-top:28px;
  color:var(--app-navy);
  text-align:center;
  font-weight:700;
}
.app-estimate-card {
  max-width:820px;
  margin-top:14px;
  padding:20px 24px;
  background:var(--app-navy);
  color:rgba(255,255,255,.9);
  text-align:center;
}
.app-estimate-card strong { color:var(--white); }

.app-security-grid {
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:50px;
  align-items:center;
}
.app-security-statement {
  padding:14px 16px;
  border-left:3px solid var(--app-blue);
  background:var(--app-pale);
  color:var(--app-navy);
  font-weight:700;
}
.app-security-list {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.app-security-list li { background:var(--app-pale); }

.app-faq-list {
  max-width:860px;
}
.app-faq-list details {
  margin-bottom:12px;
  background:var(--white);
  border:1px solid rgba(11,31,58,.1);
  box-shadow:0 5px 18px rgba(11,31,58,.05);
}
.app-faq-list summary {
  position:relative;
  padding:20px 58px 20px 22px;
  color:var(--app-navy);
  font-weight:800;
  line-height:1.45;
  cursor:pointer;
  list-style:none;
}
.app-faq-list summary::-webkit-details-marker { display:none; }
.app-faq-list summary::after {
  content:'+';
  position:absolute;
  right:22px;
  top:50%;
  transform:translateY(-50%);
  color:var(--app-blue);
  font-size:26px;
  font-weight:600;
}
.app-faq-list details[open] summary::after { content:'−'; }
.app-faq-list details p {
  padding:0 22px 22px;
  color:#4c5d72;
}

.app-form-intro {
  max-width:820px;
  margin-bottom:34px;
}
.app-form-intro > p { max-width:720px; margin:0 auto; }
.app-service-area {
  margin-top:10px !important;
  color:var(--app-navy);
  font-size:14px;
  font-weight:700;
}
.app-project-form {
  max-width:1020px;
  border-top:5px solid var(--app-blue);
}
.app-form-row-3 { grid-template-columns:1fr 1fr 1.3fr; }
.app-fieldset {
  min-width:0;
  padding:0;
  border:0;
}
.app-fieldset legend {
  margin-bottom:8px;
  color:var(--text-heading);
  font-size:14px;
  font-weight:700;
}
.app-choice-grid {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.app-choice {
  display:flex !important;
  align-items:center;
  gap:8px;
  min-height:44px;
  margin:0 !important;
  padding:8px 12px;
  border:1px solid #d7dfea;
  background:#fbfdff;
  cursor:pointer;
}
.app-choice input,
.app-consent input {
  width:18px;
  height:18px;
  padding:0;
  flex:0 0 auto;
  accent-color:var(--app-blue);
}
.app-choice span { line-height:1.3; }
.app-project-form input[type='file'] {
  min-height:44px;
  padding:8px;
  font-size:13px;
}
.app-project-form small {
  display:block;
  margin-top:5px;
  color:var(--text-muted);
  line-height:1.35;
}
.app-optional { color:var(--text-muted); font-weight:400; }
.app-honeypot {
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  white-space:nowrap !important;
  border:0 !important;
}
.app-consent {
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin:8px 0 20px;
  color:#40516b;
  font-size:14px;
  font-weight:600;
  cursor:pointer;
}
.app-consent input { margin-top:3px; }
.form-status {
  min-height:24px;
  margin-top:14px;
  padding-bottom:0;
  text-align:center;
  font-size:14px;
  font-weight:700;
}
.form-status:empty { min-height:0; margin-top:0; }
.form-status.is-success {
  padding:12px 14px;
  background:#ecf9f1;
  color:#176b3a;
  border:1px solid #b8e4c9;
}
.form-status.is-error {
  padding:12px 14px;
  background:#fff2f1;
  color:#a7322a;
  border:1px solid #f0c2be;
}

.app-final-cta {
  background:
    radial-gradient(circle at 20% 20%, rgba(39,196,244,.2), transparent 30%),
    linear-gradient(135deg, var(--app-navy), #123b70);
  color:var(--white);
}
.app-final-cta h2 {
  max-width:760px;
  margin:0 auto;
  color:var(--white);
  font-size:clamp(1.8rem,4vw,2.8rem);
}
.app-final-cta p {
  max-width:720px;
  margin:10px auto 22px;
  color:rgba(255,255,255,.82);
  font-size:17px;
}
.app-backup-link {
  display:block;
  margin-top:16px;
  color:rgba(255,255,255,.76);
  font-size:14px;
  text-decoration:underline;
}
.app-backup-link:hover { color:var(--white); }

.app-hero a:focus-visible,
.app-faq-list summary:focus-visible,
.app-choice:focus-within,
.app-consent:focus-within,
.app-project-form input:focus-visible,
.app-project-form select:focus-visible,
.app-project-form textarea:focus-visible {
  outline:3px solid rgba(22,119,255,.35);
  outline-offset:3px;
}

@media(max-width:980px){
  .app-hero__grid { grid-template-columns:1fr 1fr; gap:30px; }
  .app-hero h1 { font-size:clamp(2rem,5vw,3rem); }
  .app-support-grid,
  .app-security-grid { gap:34px; }
  .app-process-flow { grid-template-columns:repeat(3,1fr); row-gap:12px; }
  .app-process-flow li:nth-child(3)::after { display:none; }
  .app-form-row-3 { grid-template-columns:1fr 1fr; }
  .app-form-row-3 .form-group:last-child { grid-column:1 / -1; }
}

@media(max-width:767px){
  .app-hero { padding:42px 0; }
  .app-hero__grid,
  .app-support-grid,
  .app-security-grid { grid-template-columns:1fr; }
  .app-hero__visual { margin-top:6px; }
  .app-hero__visual img { border-radius:12px; }
  .app-section-heading { margin-bottom:28px; }
  .app-wide-visual,
  .app-support-visual { border-radius:10px; }
  .app-support-list,
  .app-security-list { grid-template-columns:1fr; }
  .app-flow-section { padding-top:40px; }
  .app-offer-card { padding:28px 22px; }
  .app-project-form { padding:26px 22px; }
}

@media(max-width:560px){
  .app-hero__actions { display:grid; grid-template-columns:1fr; }
  .app-hero .btn,
  .app-offer-card .btn,
  .app-final-cta .btn { width:100%; }
  .app-process-flow { grid-template-columns:1fr; gap:8px; }
  .app-process-flow li { min-height:44px; }
  .app-process-flow li:not(:last-child)::after {
    content:'↓';
    right:auto;
    left:50%;
    bottom:-16px;
    transform:translateX(-50%);
  }
  .app-process-flow li:nth-child(3)::after { display:block; }
  .app-form-row-3 { grid-template-columns:1fr; }
  .app-form-row-3 .form-group:last-child { grid-column:auto; }
  .app-choice-grid { display:grid; grid-template-columns:1fr 1fr; }
  .app-choice:last-child { grid-column:1 / -1; }
  .app-final-cta .container { padding-left:22px; padding-right:22px; }
}

@media(prefers-reduced-motion:reduce){
  html { scroll-behavior:auto; }
  *, *::before, *::after {
    scroll-behavior:auto !important;
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
  }
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity:0; transform:translateY(20px); }
  to   { opacity:1; transform:translateY(0); }
}
.animate-in { animation:fadeInUp .5s ease both; }
.delay-1 { animation-delay:.1s; }
.delay-2 { animation-delay:.2s; }
.delay-3 { animation-delay:.3s; }

/* --- Article / Blog --- */
.article { max-width:820px; margin:0 auto; }
.article-meta { color:var(--text-muted); font-size:15px; margin-bottom:26px; }
.article-meta span + span::before { content:"·"; margin:0 8px; color:var(--text-muted); }
.article p { font-size:17px; line-height:1.75em; }
.article > p.lead { font-size:20px; color:var(--text-heading); font-weight:600; line-height:1.6em; margin-bottom:8px; }
.article h2 { font-size:24px; margin-top:44px; padding-bottom:12px; }
.article ul { list-style:disc; padding-left:22px; margin:0 0 1em; }
.article ul li { margin-bottom:8px; line-height:1.7em; }
.article figure { margin:30px 0; }
.article figure img { border:1px solid #e6e9ef; box-shadow:var(--shadow); border-radius:var(--radius-sm); width:100%; }
.article figcaption { font-size:14px; color:var(--text-muted); margin-top:10px; font-style:italic; }
.article .callout { padding:26px 28px; border-left:4px solid var(--accent); background:var(--app-pale); margin-top:40px; border-radius:var(--radius-sm); }
.article .callout p { margin-bottom:16px; }
.article .callout p:last-child { margin-bottom:0; }
@media (max-width:768px) {
  .article > p.lead { font-size:18px; }
  .article h2 { font-size:22px; margin-top:36px; }
}

/* Blog listing */
.post-card {
  background:var(--white);
  box-shadow:var(--shadow);
  border:1px solid rgba(0,0,0,.05);
  display:flex;
  flex-direction:column;
  height:100%;
  overflow:hidden;
  transition:var(--transition);
  color:var(--text);
  text-decoration:none;
}
.post-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); color:var(--text); }
.post-card .post-thumb { display:block; overflow:hidden; aspect-ratio:16/9; background:var(--light); }
.post-card .post-thumb img { width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.post-card:hover .post-thumb img { transform:scale(1.04); }
.post-card .post-body { padding:24px 24px 28px; display:flex; flex-direction:column; flex:1; }
.post-card .post-date { font-size:13px; color:var(--text-muted); text-transform:uppercase; letter-spacing:1px; margin-bottom:8px; }
.post-card h3 { font-size:20px; line-height:1.35em; color:var(--text-heading); padding-bottom:10px; }
.post-card p { font-size:15px; color:var(--text-muted); line-height:1.7em; padding-bottom:0; }
.post-card .post-more {
  margin-top:auto; padding-top:16px;
  font-family:'Teko',sans-serif; font-weight:600; font-size:17px;
  color:var(--accent); text-transform:uppercase; letter-spacing:2px;
}
.post-card:hover .post-more { color:var(--accent-hover); }

/* Correctif responsive mobile — articles de blog */
.article a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.article .callout .btn {
  max-width: 100%;
  justify-content: center;
  text-align: center;
  white-space: normal;
}

@media (max-width: 560px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .article .callout {
    padding: 22px 18px;
  }

  .article .callout .btn {
    display: flex;
    width: 100%;
    padding-left: 14px;
    padding-right: 14px;
    font-size: 18px;
    letter-spacing: 2px;
  }
}

.catalog-nav {
  justify-content: center;
  margin-top: 40px;
}

.formation-grid-spaced {
  margin-top: 40px;
}

/* Espacements partagés : les éléments restent sans style inline. */
.mt-12 { margin-top: 12px; }
.mt-18 { margin-top: 18px; }
.mt-48 { margin-top: 48px; }
.center-mb-16 { margin: 0 auto 16px; }
.items-center { align-items: center; }
.service-area-note { font-size: .875rem; color: #5A6B8A; margin-top: 4px; }
.text-blue-light { color: #91D3FF; }
