/* =========================================================
   OPTIDOMIA — Design system
   Reprend à l'identique la charte du site d'origine (optidomia.fr) :
   bleu marine #24255F, orange #F5821C, Roboto, titres orange,
   texte noir justifié, séparateurs inclinés, bandeaux photo.
   ========================================================= */

:root {
    --navy: #24255F;
    --navy-700: #2f3175;
    --orange: #F5821C;
    --orange-600: #e0700c;
    --ink: #000000;
    --text: #1a1a1a;
    --muted: #54595F;
    --line: #e2e2e2;
    --bg: #ffffff;
    --bg-soft: #F8F8F8;
    --bg-grey: #F0F0F0;
    --bg-band: #E4E4E4;
    --white: #ffffff;
    --radius: 0px;
    --radius-sm: 3px;
    --container: 1140px;
    --ff: "Roboto", Helvetica, Arial, sans-serif;
    --ff-menu: Helvetica, Verdana, Arial, sans-serif;
    --ff-script: "Rochester", cursive;
    --t: .3s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--ff);
    font-weight: 400;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    font-size: 16px;
    overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--orange); }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--ff); line-height: 1.35; color: var(--orange); font-weight: 400; overflow-wrap: break-word; }
h1 { font-size: 24px; }
h2 { font-size: 24px; }
h3 { font-size: 20px; }
p { margin-bottom: 0; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
::selection { background: var(--navy); color: #fff; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .7rem 1.2rem; z-index: 999; }
.skip-link:focus { left: 8px; top: 8px; }

/* --- Layout --- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 10px; }
@media (max-width: 1160px) { .container { padding-inline: 20px; } }
.section { padding-block: 50px; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--grey { background: var(--bg-grey); }
.section--band { background: var(--bg-band); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
section.section--navy p { color: #fff; }
.narrow { max-width: 860px; margin-inline: auto; }
.ico { width: 1.05em; height: 1.05em; fill: currentColor; flex: none; }

/* Texte courant : noir, justifié comme sur l'ancien site */
.text-block p, .split p, .prose p, .section-sub { text-align: justify; }
.text-block > * + * { margin-top: 1.4em; }
.text-block ul { list-style: disc; padding-left: 1.4em; display: grid; gap: .3em; }
.text-block a { color: var(--navy); font-weight: 500; }
.text-block a:hover { color: var(--orange); }

/* --- Séparateurs inclinés (forme « tilt-opacity » d'Elementor) --- */
.shape { position: absolute; left: 0; width: 100%; overflow: hidden; line-height: 0; pointer-events: none; z-index: 1; }
.shape svg { display: block; width: calc(100% + 1.3px); position: relative; left: 50%; transform: translateX(-50%); }
.shape path { fill: #fff; }
.shape--top { top: -1px; }
.shape--bottom { bottom: -1px; transform: rotate(180deg); }
.shape--flip svg { transform: translateX(-50%) rotateY(180deg); }

/* --- Titres de section --- */
.eyebrow { display: none; }
.section-head { max-width: none; margin-bottom: 30px; }
.section-head--center { text-align: center; }
.section-title { font-size: 24px; font-weight: 400; color: var(--orange); }
.section-sub { margin-top: 1em; color: var(--ink); font-size: 16px; }
.section-head--center .section-sub { max-width: 860px; margin-inline: auto; text-align: center; }
.section--navy .section-sub { color: #fff; }

/* Petit trait orange sous les titres */
.divider { width: 12%; min-width: 60px; height: 0; border-top: 2px solid var(--orange); margin: 15px 0 20px; }
.section-head--center .divider, .divider--center { margin-inline: auto; }
.divider--grey { border-top: 1px solid #BFBFBF; width: 14%; }

/* --- Boutons (style Elementor d'origine) --- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    font-family: var(--ff); font-weight: 500; font-size: 15px; line-height: 1;
    padding: 12px 24px; border-radius: var(--radius-sm); transition: var(--t);
    text-align: center; white-space: nowrap; color: #fff; background: #000;
}
.btn:hover { color: #fff; background: var(--orange); }
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--lg { padding: 15px 30px; font-size: 16px; }
.btn--primary { background: #000; color: #fff; }
.btn--primary:hover { background: var(--orange); }
.btn--navy { background: var(--navy); color: #fff; border-radius: 6px; }
.btn--navy:hover { background: var(--orange); }
.btn--white { background: #fff; color: #000; }
.btn--white:hover { background: var(--orange); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--ghost-white, .btn--outline-white { background: transparent; color: #fff; border: 1px solid #fff; border-radius: 50px; padding: 10px 20px; }
.btn--ghost-white:hover, .btn--outline-white:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

/* Bouton deux lignes (« Je demande un devis / gratuit ») */
.btn-multi {
    display: inline-flex; align-items: center; gap: 20px; background: var(--navy); color: #fff;
    border-radius: 6px; padding: 14px 40px; transition: var(--t); line-height: 1.3; text-align: left;
}
.btn-multi:hover { background: var(--orange); color: #fff; }
.btn-multi svg { width: 20px; height: 20px; fill: #fff; flex: none; }
.btn-multi strong { display: block; font-size: 18px; font-weight: 600; }
.btn-multi span { display: block; font-size: 14px; }

/* --- Badges --- */
.badge {
    display: inline-block; font-weight: 500; font-size: .75rem; letter-spacing: .04em;
    text-transform: uppercase; color: var(--navy); background: #fff; border: 1px solid var(--line); padding: .3rem .65rem;
}
.badge--light { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .25); color: #fff; }

/* --- Partenaires --- */
.partners { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 3rem; }
.partners img { height: 110px; width: auto; max-width: 100%; }

/* =========================================================
   HEADER (Astra d'origine : fond blanc, logo à gauche, menu à droite)
   ========================================================= */
.header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid #eaeaea; transition: box-shadow var(--t); }
.header.is-scrolled { box-shadow: 0 2px 12px rgba(0, 0, 0, .08); }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 106px; gap: 1rem; max-width: 1240px; }
.header__logo img { width: 310px; height: auto; }

/* --- Nav --- */
.nav { display: flex; align-items: center; }
.nav__menu { display: flex; align-items: center; }
.nav__item { position: relative; }
.nav__link {
    display: inline-flex; align-items: center; gap: .2rem;
    font-family: var(--ff-menu); font-weight: 400; font-size: 16px; color: var(--navy);
    padding: 0 .85em; line-height: 106px; transition: color var(--t);
}
.nav__link:hover, .nav__item:hover > .nav__link { color: var(--orange); }
.nav__chevron { width: 1em; height: 1em; fill: currentColor; transition: transform var(--t); }

.nav__submenu {
    position: absolute; top: 100%; left: 0; min-width: 240px;
    background: #fff; border-top: 2px solid var(--navy); box-shadow: 0 4px 10px -2px rgba(0, 0, 0, .1);
    opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease; z-index: 50;
}
.nav__item--has-children:hover .nav__submenu,
.nav__submenu:focus-within { opacity: 1; visibility: visible; }
.nav__submenu li + li { border-top: 1px solid #eaeaea; }
.nav__sublink { display: block; padding: .9em 1em; font-family: var(--ff-menu); font-size: 15px; color: var(--navy); }
.nav__sublink:hover, .nav__sublink.is-active { color: var(--orange); }

.nav__toggle { display: none; width: 44px; height: 44px; position: relative; background: var(--navy); border-radius: 2px; }
.nav__bars, .nav__bars::before, .nav__bars::after { position: absolute; left: 11px; width: 22px; height: 2px; background: #fff; transition: var(--t); }
.nav__bars { top: 21px; }
.nav__bars::before { content: ""; top: -7px; left: 0; }
.nav__bars::after { content: ""; top: 7px; left: 0; }
.nav.is-open .nav__bars { background: transparent; }
.nav.is-open .nav__bars::before { top: 0; transform: rotate(45deg); }
.nav.is-open .nav__bars::after { top: 0; transform: rotate(-45deg); }

/* =========================================================
   ACCUEIL : SLIDER
   ========================================================= */
.slider { position: relative; height: 50vh; min-height: 380px; overflow: hidden; background: #222; }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s ease; display: flex; align-items: center; justify-content: center; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.slide__content { position: relative; z-index: 2; max-width: 540px; padding: 50px; text-align: center; color: #fff; }
.slide__title { color: #fff; font-size: 28px; font-weight: 700; line-height: 46px; text-shadow: 2px 2px 4px #000; }
.slide__text { margin-top: 10px; color: #fff; font-size: 15px; text-shadow: 2px 2px 4px #000; }
.slide .btn--outline-white { margin-top: 20px; }
.slider__arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 62px; height: 62px;
    background: #fff; color: #000; display: grid; place-items: center; transition: var(--t);
}
.slider__arrow:hover { background: #000; color: #fff; }
.slider__arrow svg { width: 24px; height: 24px; fill: currentColor; }
.slider__arrow--prev { left: 0; }
.slider__arrow--next { right: 0; }
.slider__dots { position: absolute; bottom: 20px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.slider__dot { width: 20px; height: 5px; background: rgba(255, 255, 255, .27); transition: var(--t); }
.slider__dot:hover { background: rgba(255, 255, 255, .52); }
.slider__dot.is-active { background: #fff; }

/* --- Intro accueil --- */
.intro { padding: 50px 0 20px; }
.intro h1 { font-size: 24px; font-weight: 400; color: var(--orange); margin-bottom: 20px; }

/* --- Bande des 5 pictos (fond gris, bords inclinés) --- */
.assets { background: var(--bg-grey); padding: 82px 0 80px; position: relative; }
.assets .shape--top svg { height: 39px; }
.assets .shape--bottom svg { height: 52px; }
.assets__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; z-index: 2; }
.asset { text-align: center; }
.asset img { width: 50%; max-width: 110px; margin: 0 auto 20px; }
.asset__title { font-size: 17px; font-weight: 400; color: var(--orange); line-height: 1.4; }

/* --- Grille des solutions (tuiles photo) --- */
.solutions-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 30px; }
.tile { position: relative; min-height: 250px; display: flex; align-items: flex-end; overflow: hidden; color: #fff; }
.tile:hover { color: #fff; }
.tile__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .6s ease; }
.tile::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .29); transition: background var(--t); }
.tile:hover::after { background: rgba(240, 215, 167, .41); }
.tile:hover .tile__bg { transform: scale(1.04); }
.tile__content { position: relative; z-index: 2; padding: 30px; }
.tile__title { display: block; color: #fff; font-size: 29px; font-weight: 700; line-height: 31px; text-shadow: 2px 2px 4px #000; }
.tile__text { display: block; margin-top: 10px; color: #fff; text-shadow: 2px 2px 4px #000; }
.tile--tall { grid-row: span 2; }
.tile--wide { grid-column: span 2; }
.tile--wide .tile__bg { background-position: center bottom; }

/* --- Labels + savoir-faire --- */
.knowhow { padding: 50px 0 40px; }
.knowhow__row { display: grid; grid-template-columns: 40.5% 59.5%; align-items: start; }
.knowhow__photo { width: 100%; }
.knowhow__labels { display: grid; grid-template-columns: 1fr 1fr; align-items: center; justify-items: center; gap: 10px; margin-top: 20px; }
.knowhow__labels img:first-child { width: 42%; }
.knowhow__labels img:last-child { width: 80%; }
.knowhow__text { padding-left: 20px; }
.knowhow__text h2 { margin-bottom: 20px; }

/* =========================================================
   BANDEAU DES PAGES INTÉRIEURES (photo + voile noir + forme)
   ========================================================= */
.page-hero { position: relative; background: #333 center / cover no-repeat; padding: 100px 0; text-align: center; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.page-hero__inner { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: 36px; font-weight: 600; line-height: 1.25; text-shadow: 0 0 10px #000; max-width: 900px; margin-inline: auto; }
.page-hero__lead { margin: 20px auto 0; color: var(--orange); font-size: 22px; line-height: 1.4; text-shadow: 0 0 10px #000; max-width: 860px; }
.page-hero__actions { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.page-hero .shape--bottom svg { height: 70px; }

/* --- Breadcrumb --- */
.breadcrumb-bar { padding-block: 12px 0; }
.breadcrumb { font-size: 13px; color: #7a7a7a; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; list-style: none; padding: 0; margin: 0; }
.breadcrumb a { color: #7a7a7a; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb li:not(:last-child)::after { content: "›"; margin-left: .4rem; opacity: .6; }

/* --- Bandeau « Bonne nouvelle » (photo plein écran) --- */
.goodnews { position: relative; padding: 200px 0; background: #333 center / cover no-repeat; text-align: center; color: #fff; overflow: hidden; }
.goodnews::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.goodnews .container { position: relative; z-index: 2; }
.goodnews__title { color: #fff; font-size: 36px; font-weight: 600; text-shadow: 0 0 10px #000; }
.goodnews__text { margin-top: 20px; color: #fff; font-weight: 700; font-size: 18px; }
.goodnews .btn { margin-top: 25px; }
.goodnews .shape--top svg { height: 88px; }
.goodnews .shape--bottom svg { height: 103px; }
@media (min-width: 1025px) { .goodnews { background-attachment: fixed; } }

/* --- Bloc « Une installation par des experts » --- */
.experts { background: var(--bg-band); padding: 50px 0; position: relative; }
.experts .shape--top svg { height: 42px; }
.experts h2 { text-align: center; font-size: 36px; margin-bottom: 30px; position: relative; z-index: 2; }
.experts__row { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; position: relative; z-index: 2; }

/* =========================================================
   CARTES / CONTENUS
   ========================================================= */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #fff; border: 1px solid var(--line); overflow: hidden; transition: var(--t); display: flex; flex-direction: column; height: 100%; color: var(--ink); }
.card:hover { box-shadow: 0 6px 20px rgba(0, 0, 0, .1); color: var(--ink); }
.card__media { aspect-ratio: 16/11; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 20px; margin-bottom: .5rem; }
.card__text { color: var(--ink); font-size: 15px; flex: 1; }
.card__link { margin-top: 1rem; display: inline-flex; align-items: center; gap: .4rem; font-weight: 500; color: var(--navy); }
.card__link svg { width: 1.05em; height: 1.05em; fill: currentColor; }

/* Pictogramme + titre orange (comme les 5 atouts de l'accueil) */
.feature { background: transparent; padding: 10px; text-align: center; height: 100%; color: var(--ink); }
.feature__icon { width: 64px; height: 64px; display: grid; place-items: center; color: var(--orange); margin: 0 auto 15px; }
.feature__icon svg { width: 52px; height: 52px; fill: currentColor; }
.feature__title { font-size: 17px; font-weight: 400; color: var(--orange); margin-bottom: .5rem; }
.feature__text { color: var(--ink); font-size: 15px; }
a.feature:hover .feature__title { color: var(--navy); }
.section--navy .feature__text { color: #fff; }
.section--navy .feature__icon { color: var(--orange); }

/* =========================================================
   SPLIT (texte + image)
   ========================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split--reverse .split__media { order: -1; }
.split__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split__title { font-size: 20px; font-weight: 400; color: var(--orange); }
.split p { margin-top: 1em; color: var(--ink); }

/* --- Listes --- */
.checklist { margin-top: 1em; display: grid; gap: .4rem; padding-left: 1.3em; list-style: disc; }
.checklist li { color: var(--ink); }
.checklist li svg { display: none; }
.section--navy .checklist li { color: #fff; }

/* --- Tarifs --- */
.price-list { margin-top: 1.4rem; border-top: 1px solid var(--line); }
.price-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .3rem 1.2rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.price-row__label { font-weight: 500; }
.price-row__value { white-space: nowrap; font-weight: 700; font-size: 1.15rem; color: var(--orange); }
.section--navy .price-row { border-color: rgba(255, 255, 255, .2); }
.section--navy .price-row__label { color: #fff; }

/* =========================================================
   ÉTAPES
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.step { position: relative; text-align: center; }
.step__num {
    width: 54px; height: 54px; border-radius: 50%; background: var(--orange); color: #fff;
    font-weight: 700; font-size: 22px; display: grid; place-items: center; margin: 0 auto 15px;
}
.step__title { font-size: 18px; margin-bottom: .4rem; }
.step__text { color: var(--ink); font-size: 15px; }
.section--navy .step__title { color: var(--orange); }
.section--navy .step__text { color: #fff; }

/* =========================================================
   CHIFFRES
   ========================================================= */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat__num { font-weight: 700; font-size: 40px; color: var(--orange); line-height: 1; }
.stat__label { margin-top: .5rem; color: var(--ink); font-size: 15px; }
.section--navy .stat__label { color: #fff; }

/* =========================================================
   GALERIES
   ========================================================= */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.gallery__item { overflow: hidden; aspect-ratio: 1; background: var(--bg-soft); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery--masonry { display: block; column-count: 4; column-gap: 5px; }
.gallery--masonry .gallery__item { aspect-ratio: auto; display: block; break-inside: avoid; margin-bottom: 5px; }
.gallery--masonry .gallery__item img { width: 100%; height: auto; object-fit: initial; display: block; }
.gallery__item.is-filtered-out { display: none; }

.gallery-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 25px; }
.gallery-filter { font-weight: 500; font-size: 14px; cursor: pointer; padding: 10px 18px; border: 1px solid var(--navy); background: #fff; color: var(--navy); transition: var(--t); }
.gallery-filter:hover { background: var(--bg-grey); }
.gallery-filter.is-active { background: var(--navy); color: #fff; }
.gallery-filter__count { opacity: .7; margin-left: .35em; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { max-width: 900px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid #d5d8dc; background: #fff; }
.faq__item:first-child { border-top: 1px solid #d5d8dc; }
.faq__q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 15px 20px; font-weight: 500; font-size: 17px; color: var(--navy); }
.faq__q:hover { color: var(--orange); }
.faq__q svg { width: 1.2em; height: 1.2em; fill: var(--orange); transition: transform var(--t); flex: none; }
.faq__item.is-open .faq__q { color: var(--orange); }
.faq__item.is-open .faq__q svg { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq__a-inner { padding: 0 20px 18px; color: var(--ink); text-align: justify; }

/* =========================================================
   AVIS CLIENTS
   ========================================================= */
.reviews { padding: 50px 0 60px; }
.reviews h2 { color: #FF8814; font-weight: 500; font-size: 24px; }
.reviews__layout { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: center; margin-top: 20px; }
.reviews__summary { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; font-size: 14px; }
.reviews__summary > strong { font-size: 22px; font-weight: 700; }
.reviews__summary .stars svg { width: 28px; height: 28px; }
.reviews__google { font-size: 26px; font-weight: 500; letter-spacing: -.02em; }
.reviews__google b { font-weight: 500; }
.stars { display: inline-flex; gap: 2px; color: #f6bb06; }
.stars svg { width: 18px; height: 18px; fill: currentColor; }
.reviews__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 10px; scrollbar-width: none; }
.reviews__track::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; background: #fff; border-radius: 6px; box-shadow: 0 1px 6px rgba(0, 0, 0, .15); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.review__head { display: flex; align-items: center; gap: 10px; }
.review__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.review__name { font-weight: 700; font-size: 15px; color: #000; line-height: 1.2; }
.review__date { font-size: 13px; color: #777; }
.review__text { font-size: 14px; line-height: 1.55; color: #222; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.reviews__nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 15px; }
.reviews__nav button { width: 40px; height: 40px; background: #fff; border: 1px solid #ccc; display: grid; place-items: center; }
.reviews__nav button:hover { background: #000; color: #fff; border-color: #000; }
.reviews__nav svg { width: 20px; height: 20px; fill: currentColor; }

/* =========================================================
   PIED DE PAGE (bleu marine, bord incliné, slogan manuscrit)
   ========================================================= */
.footer { background: var(--navy); color: #fff; position: relative; padding: 70px 0 50px; }
.footer .shape--top path { fill: #fff; }
.footer .shape--top svg { height: 57px; }
.footer__grid { display: grid; grid-template-columns: 19% 56% 25%; align-items: center; gap: 0; position: relative; z-index: 2; padding-top: 20px; }
.footer__logo { width: 100%; max-width: 190px; height: auto; }
.footer__slogan { font-family: var(--ff-script); font-size: 33px; font-weight: 400; color: #fff; line-height: 1.3; text-align: center; padding: 0 20px; }
.footer__title { color: #fff; font-size: 22px; font-weight: 600; margin-bottom: 12px; }
.footer__contact li { display: flex; gap: 6px; align-items: flex-start; padding-bottom: 7px; }
.footer__contact svg { width: 14px; height: 14px; fill: #fff; margin-top: .35em; flex: none; }
.footer__contact a { color: #fff; }
.footer__contact a:hover { color: var(--orange); }

.footer-bottom { background: #fff; color: #000; font-size: 15px; }
.footer-bottom__inner { display: grid; grid-template-columns: 47% 53%; align-items: center; padding-block: 15px; gap: 10px; }
.footer-bottom__copy { text-align: center; }
.footer-bottom__copy a { color: #000; font-weight: 500; }
.footer-bottom__copy a:hover { color: var(--orange); }
.footer-bottom__legal { display: flex; gap: 6px 18px; flex-wrap: wrap; justify-content: center; }
.footer-bottom__legal a { color: #000; display: inline-flex; align-items: center; gap: 6px; }
.footer-bottom__legal a::before { content: "›"; color: var(--navy); }
.footer-bottom__legal a:hover { color: var(--orange); }

/* Bouton « Rappelez-moi » / retour en haut */
.scroll-top { position: fixed; right: 20px; bottom: 20px; width: 42px; height: 42px; background: var(--navy); color: #fff; display: grid; place-items: center; z-index: 90; opacity: 0; visibility: hidden; transition: var(--t); }
.scroll-top.is-visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--orange); color: #fff; }
.scroll-top svg { width: 20px; height: 20px; fill: currentColor; }

/* =========================================================
   FORMULAIRES
   ========================================================= */
.form { display: grid; gap: 1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-weight: 500; font-size: 15px; color: var(--navy); }
.field input, .field textarea, .field select { border: 1px solid #ccc; border-radius: 2px; padding: 10px 12px; background: #fafafa; transition: var(--t); color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--navy); background: #fff; }
.field textarea { resize: vertical; min-height: 130px; }
.form__consent { font-size: 14px; color: var(--muted); display: flex; gap: .6rem; align-items: flex-start; }
.form__note { font-size: 14px; color: var(--muted); }

.info-card { background: #fff; border: 1px solid var(--line); padding: 25px; }
.info-card h3 { margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem; }
.info-card h3 svg { width: 1.2em; height: 1.2em; fill: var(--orange); flex: none; }
.info-list li { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: 1rem; }
.info-list svg { width: 1.2em; height: 1.2em; fill: var(--orange); margin-top: .2em; flex: none; }
.info-list strong { display: block; color: var(--navy); font-weight: 600; }
.info-list span { color: var(--ink); font-size: 15px; }

/* =========================================================
   PROSE (dossiers, articles)
   ========================================================= */
.prose { max-width: 860px; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 22px; margin-top: 1.8em; }
.prose h3 { font-size: 19px; margin-top: 1.5em; }
.prose p, .prose li { color: var(--ink); }
.prose ul { list-style: disc; padding-left: 1.4em; display: grid; gap: .35em; }
.prose a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--orange); }
.prose img { margin-block: 1.4rem; }
.prose blockquote { border-left: 3px solid var(--orange); padding: .3rem 0 .3rem 1.2rem; color: var(--navy); font-style: italic; }

.callout { background: var(--bg-grey); border-left: 4px solid var(--orange); padding: 25px 30px; }
.callout h3 { color: var(--orange); margin-bottom: .5rem; }

.with-aside { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.aside-sticky { position: sticky; top: 120px; display: grid; gap: 20px; }

/* =========================================================
   BLOG
   ========================================================= */
.post-card { background: #fff; border: 1px solid var(--line); overflow: hidden; transition: var(--t); display: flex; flex-direction: column; height: 100%; color: var(--ink); }
.post-card:hover { box-shadow: 0 6px 20px rgba(0, 0, 0, .1); color: var(--ink); }
.post-card__media { aspect-ratio: 16/10; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font-size: 13px; color: var(--navy); font-weight: 500; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .5rem; }
.post-card__title { font-size: 19px; margin-bottom: .5rem; }
.post-card__excerpt { color: var(--ink); font-size: 15px; flex: 1; }
.post-card__link { margin-top: 1rem; font-weight: 500; color: var(--navy); display: inline-flex; gap: .4rem; align-items: center; }
.post-card__link svg { width: 1.05em; height: 1.05em; fill: currentColor; }

.article-head { max-width: 860px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 1rem; color: #7a7a7a; font-size: 14px; margin-top: .8rem; }
.article-cover { width: 100%; max-height: 460px; object-fit: cover; margin-block: 1.6rem; }
.tag { display: inline-block; background: var(--bg-grey); color: var(--navy); font-size: 13px; font-weight: 500; padding: .2rem .7rem; }

/* =========================================================
   ANIMATIONS
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } .slide { transition: none; } html { scroll-behavior: auto; } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
    .header__logo img { width: 240px; }
    .nav__link { padding: 0 .55em; font-size: 15px; }
}

@media (max-width: 1024px) {
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .steps, .stats { grid-template-columns: repeat(2, 1fr); }
    .with-aside { grid-template-columns: 1fr; }
    .aside-sticky { position: static; grid-template-columns: 1fr 1fr; }
    .assets__grid { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
    .reviews__track { grid-auto-columns: calc((100% - 20px) / 2); }
    .reviews__layout { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: repeat(3, 1fr); }
    .gallery--masonry { column-count: 3; }
    .footer__grid { grid-template-columns: 1fr 1fr; row-gap: 30px; }
    .footer__slogan { grid-column: 1 / -1; order: -1; }
}

@media (max-width: 921px) {
    .header__inner { min-height: 72px; position: relative; }
    .header__logo img { width: 188px; }
    .nav__toggle { display: block; z-index: 120; }
    .nav__menu {
        position: absolute; top: 100%; left: 0; right: 0; width: 100%;
        flex-direction: column; align-items: stretch; background: #fff;
        border-top: 1px solid #eaeaea; box-shadow: 0 8px 16px rgba(0, 0, 0, .1);
        max-height: 0; overflow: hidden; transition: max-height .35s ease; z-index: 110;
    }
    .header .container.header__inner { position: static; }
    .nav.is-open .nav__menu { max-height: calc(100dvh - 72px); overflow-y: auto; }
    .nav__item { border-bottom: 1px solid #eaeaea; }
    .nav__link { width: 100%; justify-content: space-between; padding: 0 20px; line-height: 50px; }
    .nav__submenu { position: static; opacity: 1; visibility: visible; box-shadow: none; border: 0; max-height: 0; overflow: hidden; transition: max-height .3s ease; background: #fafafa; }
    .nav__item--has-children.is-open .nav__submenu { max-height: 600px; }
    .nav__item--has-children.is-open .nav__chevron { transform: rotate(180deg); }
    .nav__sublink { padding-left: 35px; }
    .split { grid-template-columns: 1fr; }
    .split--reverse .split__media { order: 0; }
    .knowhow__row { grid-template-columns: 1fr; gap: 30px; }
    .knowhow__labels { max-width: 420px; margin-inline: auto; }
    .knowhow__text { padding-left: 0; }
    .experts__row { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}

@media (max-width: 767px) {
    .slide__title { font-size: 30px; line-height: 36px; }
    .slide__content { padding: 30px 60px; }
    .slider__arrow { width: 44px; height: 44px; }
    .solutions-grid { grid-template-columns: repeat(2, 1fr); }
    .tile--wide { grid-column: span 2; }
    .tile__title { font-size: 24px; line-height: 27px; }
    .tile__content { padding: 20px; }
    .assets__grid { grid-template-columns: repeat(2, 1fr); }
    .page-hero { padding: 70px 0; }
    .page-hero h1 { font-size: 28px; }
    .page-hero__lead { font-size: 18px; }
    .goodnews { padding: 120px 0; }
    .goodnews__title, .experts h2 { font-size: 28px; }
    .grid--2, .grid--3, .grid--4, .stats, .steps { grid-template-columns: 1fr; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .gallery--masonry { column-count: 2; }
    .form__row { grid-template-columns: 1fr; }
    .aside-sticky { grid-template-columns: 1fr; }
    .reviews__track { grid-auto-columns: 88%; }
    .footer__grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
    .footer__contact li { justify-content: center; }
    .footer-bottom__inner { grid-template-columns: 1fr; }
    .text-block p, .split p, .prose p, .section-sub { text-align: left; }
}

@media (max-width: 420px) {
    .slide__content { padding: 20px 50px; }
    .slide__title { font-size: 26px; line-height: 31px; }
    .solutions-grid { grid-template-columns: 1fr; }
    .tile--wide, .tile--tall { grid-column: auto; grid-row: auto; }
    .assets__grid { grid-template-columns: 1fr 1fr; }
    .gallery { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   BLOG : reproduction à l'identique de optidomia.fr/blog/
   (grille Unlimited Elements, 3 colonnes, pagination ronde)
   ========================================================= */
.wpb { padding: 50px 0 20px; }
.wpb__inner { max-width: 1140px; margin: 0 auto; padding: 10px; }
.wpb__title { font-family: "Roboto", sans-serif; font-size: 24px; font-weight: 400; line-height: 1.4; color: #F5821C; margin: 0 0 20px; }
.wpb__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; text-align: center; font-family: "Lora", serif; color: #010101; line-height: 1.65; }
.wpb__item { display: flex; flex-direction: column; position: relative; }
.wpb__image { display: block; }
.wpb__img { position: relative; height: 250px; background: #fff; overflow: hidden; }
.wpb__img img { width: 100%; height: 250px; object-fit: cover; display: block; }
.wpb__content { position: relative; flex-grow: 1; display: flex; background: #EEEEEE; padding: 30px; margin: -30px 20px 0; }
.wpb__content-inner { display: flex; flex-direction: column; justify-content: space-between; width: 100%; }
.wpb__post-title, .wpb__post-title a { font-family: "Roboto", sans-serif; font-size: 21px; font-weight: 700; line-height: 26.4px; color: #F5821C; }
.wpb__post-title a:hover { color: #F5821C; }
.wpb__text { font-family: "Roboto", sans-serif; font-size: 16px; line-height: 26.4px; color: #636363; margin-top: 10px; }
.wpb__btn-wrap { margin-top: auto; padding-top: 0; }
.wpb__btn { display: inline-block; margin-top: 10px; padding: 10px 20px; background: #F5821C; color: #fff; font-family: "Roboto", sans-serif; font-size: 16px; line-height: 26.4px; transition: background-color .3s, color .3s; }
.wpb__btn:hover { color: #fff; }
.wpb__pagination { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 40px 0; font-family: "Lora", serif; }
.wpb__pagination .page-numbers { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid transparent; background: #F0F0F0; color: #333; font-size: 16px; }
.wpb__pagination .page-numbers.current { background: #0073AA; color: #fff; }
.wpb__pagination a.page-numbers { transition: background-color .2s, transform .2s; }
.wpb__pagination a.page-numbers:hover { background: #E0E0E0; color: #333; transform: translateY(-2px); }
.wpb__pagination .dots { background: #F0F0F0; }
@media (max-width: 767px) {
    .wpb__grid { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================
   ARTICLE : reproduction du gabarit Astra de l'ancien site
   ========================================================= */
.wps { background: #F5F5F5; font-family: "Lora", serif; font-size: 16px; line-height: 1.65; color: #010101; }
.wps__container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.wps__primary { margin: 64px 0; }
.wps__article { background: #fff; padding: 48px; }
.wps__thumb { margin: 0 0 32px; text-align: left; }
.wps__thumb img { display: block; max-width: 100%; height: auto; }
.wps__header { margin: 0; }
.wps__title { display: none; }
.wps__content { text-align: left; }
.wps__content::after { content: ""; display: table; clear: both; }
.wps__content p { margin: 0 0 1.6em; text-align: left; }
.wps__content > :last-child { margin-bottom: 0; }
.wps__content h2 { font-family: Helvetica, Verdana, Arial, sans-serif; font-size: 26px; font-weight: 400; line-height: 1.3; color: #F5821C; margin: 0 0 20px; }
.wps__content h3 { font-family: Helvetica, Verdana, Arial, sans-serif; font-size: 22px; font-weight: 400; color: #F5821C; margin: 0 0 20px; }
.wps__content ul { list-style: disc; margin: 0 0 1.5em 3em; padding: 0; }
.wps__content ol { list-style: decimal; margin: 0 0 1.5em 3em; padding: 0; }
.wps__content strong { font-weight: 700; }
.wps__content a { color: #24255F; }
.wps__content a:hover { color: #F5821C; }
.wps__content img { display: inline; max-width: 100%; height: auto; vertical-align: middle; }
.wps__content .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wps__content .alignright { float: right; margin: 0 0 0 1.5em; }
.wps__content .alignleft { float: left; margin: 0 1.5em 0 0; }
.wps__content table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid #E5E5E5; border-width: 1px 0 0 1px; margin: 0 0 1.5em; }
.wps__content th, .wps__content td { border: 1px solid #E5E5E5; border-width: 0 1px 1px 0; padding: .7em 1em; vertical-align: middle; }
.wps__content th { font-weight: 600; }
.wps__content iframe { max-width: 100%; }
.wps__nav { display: flex; justify-content: space-between; padding: 32px 0 0; line-height: 1; }
.wps__nav a { display: inline-block; margin: 2px; color: #24255F; }
.wps__nav a:hover { color: #F5821C; }
@media (max-width: 921px) {
    .wps__primary { margin: 24px 0; }
    .wps__article { padding: 24px 2.14em; }
}
@media (max-width: 544px) {
    .wps__container { padding: 0 .54em; }
    .wps__article { padding: 24px 16px; }
    .wps__nav { padding-top: 24px; }
}
