/* AltiGlace — palette bleu marine et blanc */
:root {
  --navy: #0b2946;
  --navy-2: #123b60;
  --ink: #18344f;
  --muted: #53697d;
  --line: #d8e1e9;
  --pale: #f1f5f8;
  --white: #fff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(11, 41, 70, .07);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, "Segoe UI", Arial, sans-serif; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
.container { width: min(1100px, calc(100% - 40px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; min-width: 0; flex: 0 0 auto; }
.brand-logo { display: block; width: 175px; max-height: 68px; object-fit: contain; }
.brand-wordmark { display: flex; flex-direction: column; color: var(--navy); line-height: 1; }
.brand-wordmark strong { font-size: 29px; letter-spacing: -.06em; }
.brand-wordmark span { margin-top: 7px; font-size: 9px; letter-spacing: .22em; }
.main-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(10px, 1.35vw, 18px); flex: 1 1 auto; min-width: 0; white-space: nowrap; font-size: 13px; font-weight: 650; }
.main-nav a { padding: 12px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a.active { border-color: var(--navy); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 46px; padding: 12px 22px; border: 1px solid var(--navy); border-radius: 6px; background: var(--navy); color: #fff; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; transition: background .2s, transform .2s; }
.button:hover { background: var(--navy-2); transform: translateY(-1px); }
.button-small { min-height: 40px; padding: 9px 16px; white-space: nowrap; font-size: 12px; }
.button-outline { background: transparent; color: var(--navy); }
.button-outline:hover { color: white; }
.hero .button { background: #8ed8ff; border-color: #8ed8ff; color: #0b2946; }
.hero .button:hover { background: #b3e7ff; border-color: #b3e7ff; }
.hero .button-outline { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.hero .button-outline:hover { background: rgba(255,255,255,.12); color: #fff; }
.menu-toggle { display: none; }
.hero { border-bottom: 1px solid var(--line); background: linear-gradient(125deg, #0b2946 0%, #103b60 100%); color: #fff; overflow: hidden; }
.hero-content { display: block; padding-top: 62px; padding-bottom: 38px; }
.hero-text { min-width: 0; max-width: 900px; }
.hero .eyebrow { color: #9ddfff; }
.hero-trust { margin: 17px 0 0; color: #c4d6e5; font-size: 12px; letter-spacing: .01em; }
.hero-points { grid-column: 1 / -1; }
.eyebrow { margin: 0 0 10px; color: var(--navy-2); font-size: 11px; font-weight: 800; letter-spacing: .15em; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 16px; color: var(--navy); font-size: clamp(38px, 5.2vw, 61px); line-height: 1.06; letter-spacing: -.045em; }
.hero h1 { color: #fff; font-size: clamp(39px, 4.7vw, 57px); }
h1 span { color: var(--navy-2); }
.hero-copy { max-width: 660px; margin-bottom: 23px; font-size: 17px; color: #e0eaf3; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 31px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); }
.hero-points > div, .contact-note { display: flex; align-items: center; gap: 12px; }
.hero-points > div:not(:last-child) { border-right: 1px solid var(--line); padding-right: 14px; }
.line-icon, .large-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; color: var(--navy); }
.hero .line-icon { color: #9ddfff; }
.hero-points b { color: #fff; }
.hero-points small { color: #c4d6e5; }
.hero-points > div:not(:last-child) { border-color: rgba(255,255,255,.18); }
.line-icon svg { width: 38px; height: 38px; }
svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hero-points b, .contact-note b { display: block; font-size: 12px; }
.hero-points small, .contact-note small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.hero-points small { color: #c4d6e5; }
.section { padding: 62px 0; }
.section-tint { background: var(--pale); }
.section-heading { max-width: 700px; margin-bottom: 28px; }
.section-heading h2, .about-layout h2, .contact-intro h2 { margin-bottom: 12px; color: var(--navy); font-size: clamp(27px, 3.5vw, 36px); line-height: 1.15; letter-spacing: -.035em; }
.section-heading h2::after, .about-layout h2::after, .contact-intro h2::after { content: ""; display: block; width: 42px; height: 3px; margin-top: 14px; background: var(--navy); }
.section-heading p:last-child { max-width: 670px; margin-bottom: 0; color: var(--muted); }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.benefit { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.large-icon svg { width: 48px; height: 48px; }
.benefit h3 { margin: 16px 0 7px; font-size: 17px; color: var(--navy); }
.benefit p { margin: 0; color: var(--muted); font-size: 14px; }
.workflow-section { background: #f8fafc; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.workflow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.workflow-card { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.workflow-card > span { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-bottom: 17px; border-radius: 50%; background: #e8f1f7; color: var(--navy); font-size: 13px; font-weight: 800; }
.workflow-card h3 { margin-bottom: 8px; color: var(--navy); font-size: 17px; }
.workflow-card p { margin-bottom: 0; color: var(--muted); font-size: 13px; }
.sector-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.sector-card { position: relative; display: flex; min-height: 170px; flex-direction: column; align-items: center; justify-content: center; padding: 17px 10px 27px; border: 1px solid #e0e7ed; border-radius: 9px; background: white; text-align: center; transition: box-shadow .2s, border-color .2s, transform .2s; }
.sector-card:hover { border-color: #a9bac9; box-shadow: var(--shadow); transform: translateY(-2px); }
.sector-card svg { width: 59px; height: 59px; margin-bottom: 12px; color: var(--navy); }
.sector-card strong { color: var(--navy); font-size: 13px; line-height: 1.25; }
.sector-card span { margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.3; }
.sector-card i { position: absolute; right: 13px; bottom: 7px; color: var(--navy); font-size: 20px; font-style: normal; }
.about-layout { display: grid; grid-template-columns: 1.5fr .8fr; gap: 70px; align-items: center; }
.about-layout p { max-width: 690px; color: var(--muted); }
.text-link { display: inline-flex; gap: 10px; align-items: center; margin-top: 6px; color: var(--navy); font-weight: 750; }
.area-card { padding: 24px; border-left: 1px solid var(--line); }
.area-card h3 { margin: 12px 0 6px; color: var(--navy); }
.area-card p { margin-bottom: 10px; }
.small-note { font-size: 12px; }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 55px; align-items: start; }
.contact-intro > p:not(.eyebrow) { color: var(--muted); }
.contact-note { align-items: flex-start; margin-top: 30px; padding: 17px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.65); }
.quote-form { padding: 26px; border: 1px solid var(--line); border-radius: 10px; background: white; box-shadow: var(--shadow); }
.quote-form h3 { margin-bottom: 20px; color: var(--navy); font-size: 23px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 18px; }
.quote-form label { display: flex; flex-direction: column; gap: 6px; color: #304b64; font-size: 12px; font-weight: 650; }
.quote-form em { color: var(--navy-2); font-style: normal; }
input, select, textarea { width: 100%; min-height: 42px; padding: 10px 12px; border: 1px solid #cbd7e1; border-radius: 5px; background: white; color: var(--ink); font: inherit; font-size: 13px; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid #9cb4c9; outline-offset: 1px; border-color: var(--navy); }
.full-width { grid-column: 1 / -1; }
.quote-form .button { margin-top: 18px; }
.form-help, .form-status { margin: 12px 0 0; color: var(--muted); font-size: 11px; }
.form-status { color: var(--navy); font-weight: 700; }
.site-footer { background: var(--navy); color: white; }
.footer-main { display: grid; grid-template-columns: 1.5fr .7fr .9fr 1.1fr; gap: 36px; padding-top: 38px; padding-bottom: 34px; }
.footer-brand { align-self: start; }
.footer-brand { display: inline-flex; align-items: center; justify-content: center; background: #fff; padding: 6px; border: 2px solid #fff; border-radius: 3px; width: fit-content; box-sizing: border-box; }
.footer-brand .brand-logo { display: block; width: 220px; max-height: 68px; background: transparent; border-radius: 0; padding: 0; box-sizing: content-box; }
.footer-main h3 { margin-bottom: 12px; font-size: 13px; }
.footer-main a:not(.brand) { display: block; margin: 7px 0; color: #d5e0e9; font-size: 12px; }
.footer-main p { color: #d5e0e9; font-size: 12px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.17); padding: 14px 0; color: #d5e0e9; font-size: 11px; }
@media (max-width: 1050px) {
  .header-inner { gap: 14px; }
  .brand-logo { width: 155px; }
  .main-nav { gap: 10px; font-size: 12px; }
  .header-inner > .button { display: none; }
  .sector-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-points { grid-template-columns: repeat(2, 1fr); }
  .hero-points > div:nth-child(2) { border-right: 0; }
  .about-layout { gap: 30px; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 30px, 520px); }
  .header-inner { min-height: 72px; flex-wrap: wrap; padding: 8px 0; }
  .brand-logo { width: 155px; max-height: 52px; }
  .menu-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 5px; padding: 8px 10px; background: white; color: var(--navy); font-weight: 700; }
  .main-nav { display: none; order: 3; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 0 10px; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 4px; border-bottom: 1px solid var(--line); }
  .hero-content { padding-top: 38px; }
  .hero-points { grid-column: 1; }
  h1 { font-size: clamp(34px, 9vw, 48px); }
  .hero-copy { font-size: 15px; }
  .hero-trust { line-height: 1.6; }
  .hero-points { gap: 18px 12px; margin-top: 28px; }
  .hero-points > div { border-right: 0 !important; padding-right: 0 !important; align-items: flex-start; }
  .line-icon svg { width: 30px; height: 30px; }
  .hero-points b { font-size: 11px; }
  .hero-points small { font-size: 10px; }
  .section { padding: 45px 0; }
  .benefit-grid, .workflow-grid { grid-template-columns: 1fr; }
  .benefit { padding: 20px; }
  .sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sector-card { min-height: 150px; }
  .about-layout, .contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .area-card { border-left: 0; border-top: 1px solid var(--line); padding: 22px 0 0; }
  .quote-form { padding: 20px 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .full-width { grid-column: auto; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 18px; }
  .footer-brand { grid-column: 1 / -1; }
}

.quote-form .button:disabled { opacity: .65; cursor: wait; transform: none; }

/* Optional photo attachments in the quote form */
.quote-form input[type="file"] { width: 100%; padding: 12px; border: 1px dashed var(--line); border-radius: 7px; background: #f8fafc; color: var(--text); font: inherit; font-size: 13px; }
.file-help { color: var(--muted); font-size: 11px; font-weight: 400; line-height: 1.5; }


/* Galerie avant/après : deux images côte à côte par équipement */
.photo-credit { margin: 12px 0 0; color: var(--muted); font-size: 11px; }




/* Galerie avant/après */
.photo-section { padding-top: 52px; padding-bottom: 52px; }
.comparison-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.comparison-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.comparison-card h3 { margin: 0; padding: 15px 16px; color: var(--navy); font-size: 16px; }
.comparison-grid-final { align-items: start; }
.comparison-full { display: block; width: 100%; height: auto; object-fit: contain; }
.photo-credit { margin: 12px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
@media (max-width: 760px) { .comparison-grid { grid-template-columns: 1fr; } }


/* Pages de contenu et référencement */
.content-hero { background: linear-gradient(125deg,#0b2946 0%,#103b60 100%); color:#fff; padding:58px 0 52px; }
.content-hero .eyebrow { color:#9ddfff; }
.content-hero h1 { color:#fff; max-width:850px; }
.content-hero p { max-width:780px; color:#e0eaf3; font-size:17px; }
.breadcrumbs { padding:16px 0 0; color:var(--muted); font-size:12px; }
.breadcrumbs a { color:var(--navy-2); text-decoration:underline; text-underline-offset:3px; }
.content-layout { display:grid; grid-template-columns:minmax(0, 1fr) 280px; gap:42px; align-items:start; }
.article-content h2 { margin-top:32px; color:var(--navy); font-size:26px; line-height:1.2; }
.article-content h3 { margin-top:22px; color:var(--navy); font-size:18px; }
.article-content p, .article-content li { color:#465f75; }
.article-content ul, .article-content ol { padding-left:22px; }
.article-content li { margin:7px 0; }
.info-panel { padding:22px; border:1px solid var(--line); border-radius:var(--radius); background:#f5f8fa; }
.info-panel h2,.info-panel h3 { color:var(--navy); margin-top:0; }
.info-panel a { color:var(--navy-2); text-decoration:underline; text-underline-offset:3px; }
.info-panel a.button, .info-panel a.button:visited { color:#fff; text-decoration:none; }
.info-panel a.button:hover { color:#fff; }
.internal-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-top:22px; }
.internal-link-card { display:block; padding:20px; border:1px solid var(--line); border-radius:var(--radius); background:white; transition:transform .2s,box-shadow .2s; }
.internal-link-card:hover { transform:translateY(-2px); box-shadow:var(--shadow); }
.internal-link-card strong { display:block; margin-bottom:5px; color:var(--navy); }
.internal-link-card span { color:var(--muted); font-size:13px; }
.faq-item { padding:18px 0; border-bottom:1px solid var(--line); }
.faq-item h3 { margin:0 0 8px; }
.faq-item p { margin:0; }
@media(max-width:900px){.content-layout{grid-template-columns:1fr;gap:28px}.main-nav{gap:10px;font-size:11px}.brand-logo{width:175px}}
@media(max-width:640px){.content-hero{padding:40px 0}.content-layout{grid-template-columns:1fr}.internal-links{grid-template-columns:1fr}.main-nav{font-size:13px}}

/* Espacement de la zone de liens sous le bouton de devis */
.info-panel a.button + h3 { margin-top: 30px; padding-top: 8px; }
.info-panel h3 { margin-bottom: 14px; }
.faq-section { margin-top: 42px; padding-top: 8px; }
.faq-section > h2 { margin-top: 0; color: var(--navy); font-size: 26px; line-height: 1.2; }


/* Illustration de chantier sur les pages de prestations */
.case-study-figure { margin: 2rem 0 2.25rem; padding: 0; }
.case-study-figure img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid rgba(11, 41, 70, .12); }
.case-study-figure figcaption { margin-top: .85rem; padding: 0 0 0 .9rem; border-left: 3px solid #6aaed6; color: #536476; font-size: .96rem; line-height: 1.65; }
.case-study-figure figcaption strong { display: block; color: #0b2946; margin-bottom: .2rem; }
