/* Linné Copies — feuille de style du site statique.
   Reprend l'identité de l'ancien site (thème The7) : bleu nuit, dégradé bleu/vert, Roboto. */

/* ---------- Polices (hébergées sur le site) ---------- */
@font-face { font-family: "Roboto"; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/roboto-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 400; font-style: italic; font-display: swap; src: url(../fonts/roboto-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 500; font-style: normal; font-display: swap; src: url(../fonts/roboto-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 700; font-style: normal; font-display: swap; src: url(../fonts/roboto-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 900; font-style: normal; font-display: swap; src: url(../fonts/roboto-latin-900-normal.woff2) format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 300; font-style: normal; font-display: swap; src: url(../fonts/open-sans-latin-300-normal.woff2) format("woff2"); }

:root {
  --navy: #02467a;
  --navy-dark: #013860;
  --blue: #00578a;
  --accent: #1ebbf0;
  --accent-2: #39dfaa;
  --accent-dark: #0d7fb0;
  --gradient: linear-gradient(135deg, #1ebbf0 30%, #39dfaa 100%);
  --gradient-hover: linear-gradient(135deg, #23aadd 30%, #37ce9d 100%);
  --text: #6f7178;
  --heading: #333333;
  --light: #f7f7f7;
  --line: rgba(0, 0, 0, .08);
  --footer: #1a1c20;
  --yellow: #ffcc00;
  --container: 1240px;
  --radius: 5px;
  --shadow: 0 10px 30px rgba(2, 70, 122, .12);
  --font: "Roboto", Helvetica, Arial, Verdana, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/28px var(--font); color: var(--text); background: #fff; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4, h5 { font-family: var(--font); color: var(--heading); font-weight: 700; margin: 0 0 .6em; }
h2 { font-size: 26px; line-height: 36px; }
h3 { font-size: 22px; line-height: 32px; }
strong { color: var(--heading); font-weight: 500; }
ul { padding-left: 1.2em; }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 30px; }
.visually-hidden, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 10px; top: -60px; z-index: 1000; background: #fff; color: var(--navy); padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 10px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Boutons et liens ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: 14px 28px; border: 0; border-radius: var(--radius);
  background: var(--gradient); color: #fff; font: 700 14px/1.2 var(--font); text-transform: uppercase; letter-spacing: .04em; cursor: pointer;
  transition: background .3s, transform .2s, box-shadow .3s; }
.btn:hover { color: #fff; background: var(--gradient-hover); box-shadow: 0 8px 20px rgba(30, 187, 240, .3); transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn--outline { background: transparent; color: var(--accent-dark); box-shadow: inset 0 0 0 2px var(--accent); }
.btn--outline:hover { background: var(--gradient); color: #fff; box-shadow: none; }
.more { font-weight: 700; color: var(--accent-dark); }
.more::after { content: " →"; transition: margin .2s; }
.more:hover::after { margin-left: 4px; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: -38px; z-index: 100; background: var(--navy); }
.top-bar { background: var(--navy-dark); color: #b1b4b8; font-size: 13px; line-height: 20px; }
.top-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 38px; }
.top-bar-info { display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 0; }
.top-bar-info a, .top-bar-info span { display: inline-flex; align-items: center; gap: 8px; color: #b1b4b8; }
.top-bar-info a:hover { color: #fff; }
.top-bar-info .icon { font-size: 14px; color: var(--accent); }
.social { display: flex; gap: 8px; margin: 0; }
.social a { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--gradient); color: #fff; font-size: 13px; transition: transform .2s, opacity .2s; }
.social a:hover { transform: scale(1.1); color: #fff; }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; height: 90px; transition: height .3s; }
.logo img { height: 75px; width: auto; transition: height .3s; }
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(0, 0, 0, .25); }
.site-header.is-scrolled .header-inner { height: 64px; }
.site-header.is-scrolled .logo img { height: 52px; }

.main-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav > ul > li { position: relative; display: flex; align-items: center; }
.main-nav > ul > li > a { position: relative; display: block; padding: 10px 14px; color: #fff; font-weight: 700; font-size: 16px; line-height: 20px; }
.main-nav > ul > li > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--gradient); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.main-nav > ul > li > a:hover, .main-nav > ul > li.is-active > a { color: #7fd3f5; }
.main-nav > ul > li > a:hover::after, .main-nav > ul > li.is-active > a::after { transform: scaleX(1); }
.sub-toggle { display: none; }
.sub-menu { position: absolute; top: 100%; left: 0; min-width: 360px; list-style: none; margin: 0; padding: 12px; background: #fff; border-radius: var(--radius);
  box-shadow: 0 15px 40px rgba(0, 0, 0, .2); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility .25s; }
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu, .has-sub.is-open .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: var(--radius); color: var(--heading); line-height: 1.3; }
.sub-menu a:hover, .sub-menu a[aria-current] { background: #f0f8fc; }
.sub-menu img { width: 50px; height: 50px; object-fit: cover; border-radius: 4px; }
.sub-menu strong { display: block; font-weight: 700; font-size: 14px; text-transform: uppercase; color: var(--heading); }
.sub-menu small { display: block; font-size: 13px; color: var(--text); margin-top: 2px; }
.menu-toggle { display: none; }

/* ---------- Bandeau d'accueil ---------- */
.hero { position: relative; display: grid; place-items: center; min-height: clamp(460px, 78vh, 680px); padding: 60px 20px; text-align: center; color: #fff;
  background: var(--blue) url(../img/fond-accueil.gif) center / cover no-repeat; overflow: hidden; }
.hero-content > * { animation: hero-in .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-content > :nth-child(2) { animation-delay: .35s; }
.hero-content > :nth-child(3) { animation-delay: .6s; }
.hero-content > :nth-child(4) { animation-delay: .8s; }
.hero-title { margin: 0; color: #fff; font: 900 clamp(48px, 9vw, 96px)/1 var(--font); text-transform: uppercase; letter-spacing: .02em; }
.hero-kicker { display: block; margin-top: .35em; font: 300 clamp(22px, 3.6vw, 40px)/1.2 "Open Sans", var(--font); text-transform: none; letter-spacing: 0; }
.hero-logo { width: 164px; margin: 34px auto 30px; }
.hero-tagline { margin: 0 0 8px; color: var(--yellow); font-weight: 700; font-size: clamp(16px, 2vw, 20px); }
.hero-address { margin: 0; font-weight: 500; }
.hero-address a { color: #fff; }
@keyframes hero-in { from { opacity: 0; transform: translateY(30px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Titre des pages intérieures ---------- */
.page-title { padding: 90px 0 80px; text-align: center; background: var(--blue) url(../img/fond-titre.gif) center top / cover no-repeat; }
.page-title h1 { margin: 0; color: #fff; font-size: clamp(32px, 5vw, 50px); line-height: 1.2; text-transform: uppercase; }
.page-title p { margin: 14px auto 0; max-width: 820px; color: #5fd0f7; font-size: clamp(18px, 2.4vw, 24px); line-height: 1.4; }

/* ---------- Sections ---------- */
.section { padding: 70px 0; }
.section--pattern { background: #f2f3f3 url(../img/fond-rayures.gif) center / 1200px auto; }
.section--light { background: var(--light); }
.section-heading { max-width: 900px; margin: 0 auto 48px; text-align: center; }
.section-heading h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.25; }
.section-heading h2::after { content: ""; display: block; width: 70px; height: 3px; margin: 20px auto 0; border-radius: 2px; background: var(--gradient); }
.section-heading p { margin: 18px 0 0; }

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

.icon-box { display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: var(--radius); background: var(--gradient); color: #fff; font-size: 34px;
  box-shadow: 0 10px 24px rgba(30, 187, 240, .3); }
.icon-box .icon { stroke-width: 1.7; }
.feature { text-align: center; }
.feature .icon-box { margin-bottom: 24px; transition: transform .3s; }
.feature:hover .icon-box { transform: translateY(-4px) rotate(-3deg); }
.feature h2, .feature h3 { font-size: 22px; line-height: 30px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split--top { align-items: start; }
.split--reverse .split-text { order: 2; }
.split-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.split-text .icon-box { margin-bottom: 20px; }
.lead { font-size: 18px; line-height: 30px; color: var(--heading); }

.highlight { padding: 34px 0; background: var(--gradient); text-align: center; }
.highlight p { margin: 0; color: #fff; font-weight: 700; font-size: clamp(16px, 2vw, 20px); line-height: 1.5; text-transform: uppercase; letter-spacing: .03em; }
.highlight a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--gradient); }
.check-list li::after { content: ""; position: absolute; left: 7px; top: 8px; width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

.advice h3 { font-size: 20px; line-height: 28px; padding-bottom: 12px; border-bottom: 2px solid transparent; border-image: var(--gradient) 1; display: inline-block; }

/* ---------- Portfolio ---------- */
.project-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 18px rgba(0, 0, 0, .06); transition: box-shadow .3s, transform .3s; }
.project-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.project-img { position: relative; display: block; aspect-ratio: 1; overflow: hidden; }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.project-img::after { content: ""; position: absolute; inset: 0; background: var(--gradient); opacity: 0; transition: opacity .3s; }
.project-more { position: absolute; z-index: 1; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; display: grid; place-items: center;
  border-radius: 50%; background: #fff; color: var(--accent-dark); font: 300 34px/1 var(--font); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .3s; }
.project-card:hover .project-img img { transform: scale(1.06); }
.project-card:hover .project-img::after { opacity: .75; }
.project-card:hover .project-more { opacity: 1; transform: none; }
.project-body { padding: 22px 24px 8px; }
.project-body h3 { font-size: 18px; line-height: 26px; margin-bottom: 4px; }
.project-body h3 a { color: var(--heading); }
.project-body h3 a:hover { color: var(--accent-dark); }
.project-cat { font-size: 13px; color: var(--accent-dark); font-weight: 500; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px; }
.project-body p:last-child { font-size: 15px; line-height: 25px; }

.carousel { position: relative; }
.carousel-track { display: flex; gap: 30px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 10px 4px 26px; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { flex: 0 0 calc((100% - 90px) / 4); scroll-snap-align: start; }
.carousel-nav { position: absolute; top: calc(50% - 40px); z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: var(--gradient); color: #fff; font-size: 22px; cursor: pointer; box-shadow: 0 6px 16px rgba(0, 0, 0, .15); transition: transform .2s; }
.carousel-nav:hover { transform: scale(1.08); }
.carousel-prev { left: -22px; }
.carousel-next { right: -22px; }

.dual-buttons { display: flex; align-items: center; justify-content: center; gap: 0; margin-top: 40px; }
.dual-buttons .btn { font-size: 16px; padding: 18px 30px; min-width: 260px; }
.dual-or { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; margin: 0 -10px; border-radius: 50%; background: #fff;
  color: var(--heading); font-weight: 700; font-size: 13px; text-transform: uppercase; box-shadow: 0 2px 10px rgba(0, 0, 0, .15); }

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.filters button { padding: 9px 20px; border: 2px solid transparent; border-radius: 100px; background: #f0f2f4; color: var(--heading); font: 500 14px/1.2 var(--font); cursor: pointer; transition: background .2s, color .2s; }
.filters button:hover { border-color: var(--accent); }
.filters button.is-active { background: var(--gradient); color: #fff; }
.project-card[hidden] { display: none; }

.project { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: start; }
.project-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.project-meta { display: flex; align-items: center; gap: 8px; color: var(--accent-dark); }

.post-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; margin-top: 60px; padding-top: 30px; border-top: 1px solid var(--line); }
.post-nav a { color: var(--heading); font-weight: 700; }
.post-nav small { display: block; color: var(--text); font-weight: 400; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.post-nav-next { text-align: right; }
.post-nav-all { padding: 10px 18px; border-radius: 100px; background: #f0f2f4; font-size: 14px; }

.photo-card .project-body { padding-bottom: 14px; }

/* ---------- Instagram ---------- */
.insta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0; }
.insta-grid a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.insta-caption { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px;
  background: linear-gradient(135deg, rgba(30, 187, 240, .9) 30%, rgba(57, 223, 170, .9) 100%); color: #fff; font-size: 15px; line-height: 1.45; text-align: center;
  opacity: 0; transition: opacity .3s; }
.insta-caption .icon { font-size: 30px; }
.insta-grid a:hover img, .insta-grid a:focus-visible img { transform: scale(1.06); }
.insta-grid a:hover .insta-caption, .insta-grid a:focus-visible .insta-caption { opacity: 1; }
.insta-follow { margin: 36px 0 0; text-align: center; }

/* ---------- Visionneuse ---------- */
.lightbox { max-width: min(92vw, 760px); padding: 0; border: 0; border-radius: var(--radius); background: #000; overflow: visible; }
.lightbox::backdrop { background: rgba(1, 20, 36, .88); }
.lightbox figure { margin: 0; }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; }
.lightbox figcaption { padding: 14px 18px; background: #fff; color: var(--heading); font-size: 15px; line-height: 1.45; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--gradient); color: #fff; font-size: 26px; cursor: pointer; }
.lb-close { top: -16px; right: -16px; }
.lb-prev { left: -22px; top: calc(50% - 22px); }
.lb-next { right: -22px; top: calc(50% - 22px); }

/* ---------- Chiffres clés ---------- */
.counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.counter-value { display: block; font: 900 clamp(40px, 6vw, 60px)/1.1 var(--font); background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.counter-label { display: block; margin-top: 8px; color: var(--heading); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; font-size: 14px; }
.section--accent { padding: 60px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Clients ---------- */
.clients { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
.clients img { width: 100%; max-width: 200px; margin: 0 auto; opacity: .65; filter: grayscale(1); transition: opacity .3s, filter .3s; }
.clients li:hover img { opacity: 1; filter: none; }

/* ---------- Reliures ---------- */
.slideshow { position: relative; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.slideshow-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s; }
.slideshow-slide.is-active { opacity: 1; }
.slideshow-slide img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; box-shadow: none; }
.slideshow-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; }
.slideshow-dots button { width: 11px; height: 11px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: transparent; cursor: pointer; }
.slideshow-dots button[aria-current] { background: #fff; }
.binding .split-media > img { aspect-ratio: 3 / 2; object-fit: cover; }

/* ---------- Tarifs ---------- */
.price-table table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 18px rgba(0, 0, 0, .06); font-size: 15px; }
.price-table caption { caption-side: top; text-align: left; padding-bottom: 16px; color: var(--heading); font-weight: 700; font-size: 22px; line-height: 30px; }
.price-table th, .price-table td { padding: 12px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table thead th { background: var(--gradient); color: #fff; text-transform: uppercase; font-size: 13px; letter-spacing: .05em; }
.price-table tbody th { color: var(--heading); font-weight: 500; }
.price-table tbody tr:nth-child(even) { background: #f8fafb; }
.price-table td { white-space: nowrap; }

/* ---------- Formulaires ---------- */
.form label { display: block; margin-bottom: 18px; color: var(--heading); font-weight: 500; font-size: 14px; }
.form label span { color: var(--accent-dark); }
.form input, .form textarea, .form select { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid #dcdfe3; border-radius: 3px; background: #fafbfc;
  font: 400 15px/1.5 var(--font); color: var(--heading); transition: border-color .2s, box-shadow .2s; }
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px rgba(30, 187, 240, .15); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-note { font-size: 13px; line-height: 1.5; }
.contact-card img { width: 100%; border-radius: var(--radius); margin-bottom: 20px; }
.contact-name { color: var(--heading); font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 20px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; line-height: 1.5; }
.contact-list .icon { margin-top: 3px; color: var(--accent); font-size: 18px; }
.contact-list small { color: var(--text); }
.contact-social { display: flex; flex-wrap: wrap; gap: 18px; }
.contact-social a { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.quote-aside { padding: 36px; background: var(--light); border-radius: var(--radius); }
.quote-logo { margin-top: 24px; padding: 14px 20px; background: var(--navy); border-radius: var(--radius); box-sizing: content-box; }

.form-modal { width: min(440px, calc(100% - 40px)); padding: 36px 32px 30px; border: 0; border-radius: 10px; text-align: center; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
.form-modal::backdrop { background: rgba(1, 30, 52, .6); }
.form-modal-icon { width: 60px; height: 60px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: var(--gradient); color: #fff; font-size: 30px; font-weight: 700; }
.form-modal.is-error .form-modal-icon { background: #e0534a; }
.form-modal h2 { font-size: 22px; }
.form-modal .btn { width: 100%; margin-top: 10px; }

/* ---------- Pages simples ---------- */
.prose { max-width: 860px; }
.prose h2 { margin-top: 1.6em; font-size: 22px; }
.prose--center { text-align: center; }
.links-inline { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; list-style: none; padding: 0; margin: 0 0 30px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--footer); color: #9a9ca2; font-size: 15px; line-height: 26px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 60px; padding-top: 70px; padding-bottom: 50px; }
.footer-title { color: #eee; font-size: 16px; line-height: 24px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 20px; }
.site-footer a { color: #eee; }
.site-footer a:hover { color: var(--accent); }
.site-footer strong { color: #eee; }
.footer-portfolio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.footer-portfolio img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; transition: opacity .2s; }
.footer-portfolio a:hover img { opacity: .7; }
.footer-links { list-style: none; padding: 0; margin: 0 0 20px; }
.footer-links li { padding: 3px 0; }
.footer-bottom { padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .1); background: #16181b; font-size: 13px; line-height: 22px; color: #9a9ca2; }
.footer-bottom p { margin: 0; text-align: center; }

.back-to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius);
  background: var(--gradient); color: #fff; font-size: 20px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s, visibility .3s; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { color: #fff; }

/* ---------- Animation à l'apparition ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s, transform .8s; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grid-4, .clients { grid-template-columns: repeat(3, 1fr); }
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
  .carousel-track > * { flex-basis: calc((100% - 60px) / 3); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .main-nav > ul > li > a { padding: 10px 10px; font-size: 15px; }
}
@media (max-width: 992px) {
  .site-header { top: 0; }
  .top-bar { display: none; }
  .header-inner { height: 70px; }
  .logo img { height: 56px; }
  .menu-toggle { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: var(--radius); background: rgba(255, 255, 255, .1); cursor: pointer; }
  .menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
  .menu-toggle-bars { position: relative; }
  .menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .menu-toggle-bars::before { top: -7px; }
  .menu-toggle-bars::after { top: 7px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 70px); overflow-y: auto; background: var(--navy); border-top: 1px solid rgba(255, 255, 255, .1);
    display: none; padding: 10px 0 20px; }
  .main-nav.is-open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { flex-wrap: wrap; }
  .main-nav > ul > li > a { flex: 1; padding: 14px 30px; font-size: 17px; }
  .main-nav > ul > li > a::after { display: none; }
  .sub-toggle { display: grid; place-items: center; width: 56px; height: 48px; border: 0; background: none; color: #fff; cursor: pointer; }
  .sub-toggle::before { content: ""; width: 9px; height: 9px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .3s; }
  .has-sub.is-open .sub-toggle::before { transform: rotate(-135deg); }
  .sub-menu { position: static; flex-basis: 100%; min-width: 0; margin: 0 20px; padding: 6px; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; }
  .has-sub:hover .sub-menu { display: none; }
  .has-sub.is-open .sub-menu, .has-sub.is-open:hover .sub-menu { display: block; }
  .split, .project { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse .split-text { order: 0; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .section { padding: 50px 0; }
  .container { padding: 0 20px; }
  .grid-2, .grid-3, .grid-4, .form-row { grid-template-columns: 1fr; }
  .grid { gap: 32px; }
  .clients { grid-template-columns: repeat(2, 1fr); }
  .insta-grid { gap: 10px; }
  .insta-caption { font-size: 13px; padding: 10px; }
  .lb-prev { left: 6px; }
  .lb-next { right: 6px; }
  .lb-close { right: 6px; top: 6px; }
  .counters { grid-template-columns: 1fr; gap: 24px; }
  .carousel-track > * { flex-basis: 82%; }
  .carousel-nav { display: none; }
  .dual-buttons { flex-direction: column; gap: 0; }
  .dual-buttons .btn { width: 100%; min-width: 0; }
  .dual-or { margin: -10px 0; }
  .footer-grid { grid-template-columns: 1fr; padding-top: 50px; }
  .page-title { padding: 60px 0 54px; }
  .post-nav { grid-template-columns: 1fr; text-align: center; }
  .post-nav-next { text-align: center; }
  .price-table { overflow-x: auto; }
  .price-table table { font-size: 14px; }
  .price-table th, .price-table td { padding: 10px 8px; }
  .price-table td { white-space: normal; }
  .quote-aside { padding: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
