/* Rochez Optique — main.css
   Palette + composants copiés du site original (Bricks), étendus pour pages internes. */
:root{
  --rochez-navy:#1b4169;
  --rochez-navy-deep:#143657;
  --rochez-navy-darker:#0a1628;
  --rochez-blue:#0f5ca8;
  --rochez-blue-hover:#1670c0;
  --rochez-blue-light:#4a90d9;
  --rochez-text:#17395e;
  --rochez-text-soft:#5d7693;
  --rochez-surface:#fff;
  --rochez-border:rgba(23,61,103,.12);
  --rochez-shadow:0 20px 44px rgba(13,44,78,.16);
  --rochez-page-bg:linear-gradient(180deg,#16395e 0,#edf3f9 18%,#edf3f9 100%);
  --rochez-radius:4px;
  --ff:'Inter',system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  --ff-serif:'Playfair Display','Times New Roman',Georgia,serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--ff);color:var(--rochez-text);background:#edf3f9;line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block;height:auto}
a{color:var(--rochez-blue);text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3{color:var(--rochez-text);margin:0 0 .6em;letter-spacing:-.01em}
h1{font-size:58px;line-height:1.03;letter-spacing:-.04em;font-weight:900}
h2{font-size:26px;line-height:1.15;font-weight:800}
h3{font-size:19px;line-height:1.3;font-weight:700}
p{margin:0 0 1em}
.skip{position:absolute;left:-9999px}
.skip:focus{left:8px;top:8px;background:#fff;padding:8px 12px;z-index:9999}

/* Wrap */
.rochez-wrap{width:min(1200px,calc(100% - 36px));margin-inline:auto}

/* Page background */
.rochez-page{padding:28px 0 42px;background:var(--rochez-page-bg);min-height:100vh}

/* Header shell (full bleed) */
.rochez-header-shell{width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);box-shadow:var(--rochez-shadow);margin-bottom:18px}
.rochez-header{display:grid;grid-template-columns:auto 1fr auto;gap:24px;align-items:center;padding:16px 26px;background:linear-gradient(135deg,var(--rochez-navy),var(--rochez-navy-deep));color:#fff}
.rochez-brand{display:inline-flex;align-items:center;gap:14px;color:#fff;text-decoration:none;background:#fff;padding:8px 18px;border-radius:8px;box-shadow:0 6px 14px rgba(0,0,0,.15)}
.rochez-brand:hover{text-decoration:none}
.rochez-logo{height:48px;width:auto;display:block}
.rochez-nav{display:flex;justify-content:center;gap:22px;flex-wrap:wrap}
.rochez-nav a{color:#fff;text-decoration:none;font-weight:600;padding-bottom:7px;border-bottom:3px solid transparent}
.rochez-nav a:hover,.rochez-nav a.is-active{border-bottom-color:rgba(255,255,255,.88)}
.rochez-phones{display:flex;gap:10px;flex-wrap:wrap}
.rochez-phone{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);border-radius:999px;padding:11px 14px;color:#fff;text-decoration:none;font-weight:600;font-size:.88rem}
.rochez-phone:hover{background:rgba(255,255,255,.08);text-decoration:none}
.rochez-nav-toggle{display:none;background:transparent;border:1px solid rgba(255,255,255,.4);border-radius:8px;color:#fff;padding:8px 12px;font:inherit;cursor:pointer}

/* Buttons */
.rochez-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;background:linear-gradient(180deg,#1670c0,#0f5ca8);border-radius:var(--rochez-radius);color:#fff;text-decoration:none;font-weight:700;box-shadow:0 10px 18px rgba(15,92,168,.22);transition:transform .15s,box-shadow .15s;border:none;cursor:pointer;font:inherit}
.rochez-btn:after{content:"›";margin-left:10px;font-size:1.2em}
.rochez-btn:hover{transform:translateY(-1px);box-shadow:0 14px 26px rgba(15,92,168,.32);text-decoration:none}
.rochez-btn-ghost{background:#fff;color:var(--rochez-text);box-shadow:0 4px 12px rgba(0,0,0,.08)}
.rochez-btn-ghost:after{color:var(--rochez-blue)}

/* Hero */
.rochez-hero{display:grid;grid-template-columns:.92fr 1.08fr;min-height:560px;background:linear-gradient(90deg,rgba(24,60,98,.94) 0,rgba(37,75,112,.82) 43%,rgba(255,255,255,0) 43%);overflow:hidden;box-shadow:var(--rochez-shadow);margin-bottom:18px}
.rochez-hero-copy{padding:84px 58px 62px;color:#fff;display:flex;flex-direction:column;justify-content:center}
.rochez-hero-copy h1{margin:0 0 18px;color:#fff;font-size:58px;line-height:1.03;letter-spacing:-.04em;font-weight:900;max-width:440px}
.rochez-hero-copy p.tagline{margin:0 0 24px;font-size:22px;line-height:1.35;max-width:400px;color:#fff;font-weight:500}
.rochez-hero-copy .lead{margin:0 0 28px;font-size:16px;line-height:1.75;max-width:520px;color:rgba(255,255,255,.92)}
.rochez-hero-media{position:relative}
.rochez-hero-media img{width:100%;height:100%;min-height:560px;object-fit:cover;display:block}

/* Strip (3 features) */
.rochez-strip{display:grid;grid-template-columns:repeat(3,1fr);background:#fff;box-shadow:var(--rochez-shadow)}
.rochez-strip-item{padding:28px 26px 22px;text-align:center;border-right:1px solid var(--rochez-border)}
.rochez-strip-item:last-child{border-right:0}
.rochez-strip-item svg{width:68px;height:68px;fill:var(--rochez-blue);margin:0 auto 14px;display:block}
.rochez-strip-item h3{margin:0 0 10px;color:var(--rochez-text);font-size:19px}
.rochez-strip-item p{margin:0;color:var(--rochez-text-soft);line-height:1.7}

/* Sections */
.rochez-section{padding-top:24px}

/* Rich text helper */
.rochez-rich p{margin:0;color:var(--rochez-text-soft);line-height:1.75}
.rochez-rich h2,.rochez-rich h3{margin:0;color:var(--rochez-text);line-height:1.2}
.rochez-rich a{color:var(--rochez-blue);font-weight:600}
.rochez-section-head{max-width:920px;margin:0 auto 24px;text-align:center}

/* Location split */
.rochez-location{display:grid;grid-template-columns:.92fr 1.08fr;overflow:hidden;background:linear-gradient(90deg,rgba(255,255,255,.98),rgba(232,240,250,.9));box-shadow:var(--rochez-shadow)}
.rochez-location-copy{padding:44px 44px 38px}
.rochez-location-copy h2,.rochez-title{margin:0 0 18px;padding-bottom:12px;border-bottom:2px solid var(--rochez-border);color:var(--rochez-text);font-size:26px;line-height:1.15;font-weight:800}
.rochez-location-copy p{margin:0 0 14px;color:var(--rochez-text);font-size:18px}
.rochez-location-copy .desc{font-size:16px;line-height:1.75;color:var(--rochez-text-soft)}
.rochez-location-media img{width:100%;height:100%;object-fit:cover;display:block;min-height:340px}

/* Services panel */
.rochez-services{padding:34px;background:#fff;box-shadow:var(--rochez-shadow)}
.rochez-services-head{text-align:center;margin-bottom:22px}
.rochez-services-head p{margin:0 auto;max-width:840px;color:var(--rochez-text-soft);line-height:1.75}
.rochez-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.rochez-grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.rochez-service-card{overflow:hidden;background:#fff;box-shadow:var(--rochez-shadow);transition:transform .2s}
.rochez-service-card:hover{transform:translateY(-3px)}
.rochez-service-card img{width:100%;aspect-ratio:1.32/1;object-fit:cover;display:block}
.rochez-service-body{padding:18px 20px 22px;text-align:center}
.rochez-service-body h3{margin:0 0 14px;padding-bottom:12px;border-bottom:1px solid var(--rochez-border);color:var(--rochez-text);font-size:19px}
.rochez-service-body p{margin:0 0 18px;color:var(--rochez-text-soft);line-height:1.75}

/* Expertise split */
.rochez-split{display:grid;grid-template-columns:1.15fr .85fr;gap:24px}
.rochez-expertise{padding:36px;background:#fff;box-shadow:var(--rochez-shadow)}
.rochez-feature{padding:28px 30px;background:linear-gradient(180deg,rgba(23,61,103,.98),rgba(16,40,68,.98));color:#fff}
.rochez-feature h3{margin:0 0 16px;font-size:22px;color:#fff}
.rochez-feature ul{margin:0;padding-left:18px;display:grid;gap:12px}
.rochez-feature ul li{color:rgba(255,255,255,.92);line-height:1.5}

/* Process */
.rochez-process-card,.rochez-faq-card{padding:26px;background:#fff;box-shadow:var(--rochez-shadow)}
.rochez-step{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;margin-bottom:16px;border-radius:50%;background:rgba(15,94,166,.12);color:var(--rochez-blue);font-weight:800;font-size:.95rem}
.rochez-process-card h3{margin:0 0 10px;color:var(--rochez-text)}
.rochez-process-card p,.rochez-faq-card p{color:var(--rochez-text-soft);line-height:1.75;margin:0}
.rochez-faq-card h3{color:var(--rochez-text);margin:0 0 10px}

/* Bottom split */
.rochez-bottom{display:grid;grid-template-columns:1.55fr .95fr;gap:18px}

/* Offer */
.rochez-offer{display:grid;grid-template-columns:.95fr 1.05fr;background:linear-gradient(90deg,rgba(255,255,255,.98),rgba(235,242,250,.92));overflow:hidden;box-shadow:var(--rochez-shadow);margin-bottom:18px}
.rochez-offer-copy{padding:36px 40px}
.rochez-offer-copy h2,.rochez-contact-copy h2,.rochez-side-body h2{margin:0 0 18px;padding-bottom:12px;border-bottom:2px solid var(--rochez-border);color:var(--rochez-text);font-size:26px;font-weight:800}
.rochez-offer-copy .big{margin:0 0 12px;color:var(--rochez-text);font-size:54px;line-height:1;font-weight:900}
.rochez-offer-copy .big small{font-size:.45em;font-weight:700;line-height:1.4;display:block;margin-top:6px}
.rochez-offer-copy p,.rochez-contact-copy p{margin:0 0 18px;color:var(--rochez-text-soft);line-height:1.75}
.rochez-offer-media img,.rochez-contact-image img{width:100%;height:100%;object-fit:cover;display:block;min-height:240px}

/* Contact (homepage) */
.rochez-contact{display:grid;grid-template-columns:.7fr 1.3fr;background:linear-gradient(90deg,rgba(255,255,255,.98),rgba(235,242,250,.92));overflow:hidden;box-shadow:var(--rochez-shadow);margin-top:18px}
.rochez-contact-copy{padding:30px 34px}

/* Aside / side */
.rochez-side{background:linear-gradient(180deg,var(--rochez-navy),var(--rochez-navy-deep));color:#fff;box-shadow:var(--rochez-shadow);display:flex;flex-direction:column}
.rochez-map{position:relative;min-height:286px;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(241,245,250,.95));overflow:hidden}
.rochez-map-grid{position:absolute;inset:0;background:linear-gradient(90deg,rgba(23,61,103,.08) 0 1px,transparent 1px 100%),linear-gradient(rgba(23,61,103,.08) 0 1px,transparent 1px 100%);background-size:54px 54px;transform:rotate(12deg) scale(1.2)}
.rochez-map-pin{position:absolute;top:50%;left:50%;width:84px;height:84px;border-radius:50%;background:rgba(23,61,103,.94);transform:translate(-50%,-50%);display:grid;place-items:center;box-shadow:0 14px 22px rgba(0,0,0,.2)}
.rochez-map-pin svg{width:42px;height:42px;fill:#fff}
.rochez-side-body{padding:28px 30px 30px}
.rochez-side-body h2{color:#fff;border-bottom-color:rgba(255,255,255,.16)}
.rochez-side-body .rochez-list li{color:#fff}
.rochez-side-body .rochez-list svg{fill:#fff}
.rochez-rdv{margin:18px 0 0;font-weight:700}

/* List */
.rochez-list{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:14px}
.rochez-list li{display:flex;gap:12px;align-items:flex-start;color:var(--rochez-text);font-size:14px;line-height:1.5}
.rochez-list svg{width:18px;height:18px;fill:var(--rochez-blue);flex:0 0 18px;margin-top:3px}

/* Footer */
.rochez-footer{background:var(--rochez-navy-darker);color:#a0aec0;padding:54px 0 18px;margin-top:0}
.rochez-footer h3{color:#fff;font-size:1rem;margin:0 0 .8em;text-transform:uppercase;letter-spacing:.12em;font-weight:600;font-family:var(--ff);font-size:13px}
.rochez-footer a{color:#a0aec0;font-size:13px}
.rochez-footer a:hover{color:#fff;text-decoration:none}
.rochez-footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:32px}
.rochez-footer-plain{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px}
.rochez-footer-bot{margin-top:36px;border-top:1px solid rgba(255,255,255,.08);padding-top:16px;display:flex;flex-wrap:wrap;gap:18px;justify-content:space-between;color:#6b7a8f;font-size:12px}
.rochez-footer-bot a{color:#6b7a8f;font-size:12px}
.rochez-contact-list li{display:flex;align-items:flex-start;gap:10px}
.rochez-contact-list .ico{color:var(--rochez-blue-light);flex:0 0 18px;font-size:14px;margin-top:1px}
.saec-credit{color:#6b7a8f;font-size:11px;opacity:.9}
.saec-credit a{color:#a0aec0;text-decoration:none;font-weight:600}
.saec-credit a:hover{color:#fff;text-decoration:underline}

.cookie-banner{position:fixed;left:14px;right:14px;bottom:14px;z-index:1000;background:#0a1628;color:#e8edf1;border:1px solid rgba(255,255,255,.1);border-radius:10px;padding:14px 18px;box-shadow:0 18px 40px rgba(0,0,0,.4)}
.cookie-banner .wrap{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:0;max-width:1180px;margin:0 auto}
.cookie-banner p{margin:0;font-size:.88rem;line-height:1.5;flex:1;min-width:240px}
.cookie-banner a{color:var(--rochez-blue-light);text-decoration:underline}
.cookie-banner .rochez-btn-ghost{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.3)}
.cookie-banner .rochez-btn-ghost:hover{background:rgba(255,255,255,.08)}

/* ===== Pages internes (about/services/faq/contact app forms) ===== */
.rochez-pagehead{background:linear-gradient(135deg,var(--rochez-navy),var(--rochez-navy-deep));color:#fff;padding:64px 0 48px;margin-bottom:18px;box-shadow:var(--rochez-shadow)}
.rochez-pagehead h1{color:#fff;font-size:42px;line-height:1.1;font-weight:800;margin:0 0 .4em}
.rochez-pagehead p{color:rgba(255,255,255,.88);font-size:18px;max-width:680px;margin:0}

.rochez-article{background:#fff;padding:36px 40px;box-shadow:var(--rochez-shadow);max-width:880px;margin:0 auto}
.rochez-article h2{margin:1.4em 0 .5em;color:var(--rochez-text)}
.rochez-article h2:first-child{margin-top:0}
.rochez-article p,.rochez-article li{color:var(--rochez-text);line-height:1.75;font-size:16px}

.rochez-form-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:18px}
.rochez-form-panel{background:#fff;padding:32px;box-shadow:var(--rochez-shadow)}
.rochez-form-panel h2{margin:0 0 18px;padding-bottom:12px;border-bottom:2px solid var(--rochez-border)}
.rochez-form-panel label{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:.9rem;color:var(--rochez-text);margin-bottom:14px}
.rochez-form-panel input,.rochez-form-panel textarea{font:inherit;padding:11px 14px;border:1px solid var(--rochez-border);border-radius:var(--rochez-radius);background:#fff;color:var(--rochez-text)}
.rochez-form-panel input:focus,.rochez-form-panel textarea:focus{outline:2px solid var(--rochez-blue);outline-offset:1px;border-color:var(--rochez-blue)}
.rochez-form-panel .row2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.rochez-form-panel .check-inline{flex-direction:row;align-items:flex-start;gap:10px;font-weight:400;font-size:.9rem;color:var(--rochez-text-soft)}
.alert{padding:12px 16px;border-radius:var(--rochez-radius);margin-bottom:16px;border:1px solid transparent}
.alert-success{background:#e6f4ed;border-color:#b7ddc6;color:#0e5b2e}
.alert-error{background:#fdecea;border-color:#f5c2bd;color:#8a1f15}
.err{color:#b00020;font-weight:500;font-size:.85rem}

/* Hours block reused */
.hours{list-style:none;padding:0;margin:0}
.hours li{display:flex;justify-content:space-between;border-bottom:1px dashed var(--rochez-border);padding:8px 0;font-size:.92rem}
.hours li:last-child{border-bottom:none}
.hours span:first-child{color:var(--rochez-text);font-weight:600}
.hours span:last-child{color:var(--rochez-text-soft)}

/* FAQ */
.rochez-faq details{border:1px solid var(--rochez-border);border-radius:var(--rochez-radius);padding:16px 20px;background:#fff;margin-bottom:10px}
.rochez-faq details[open]{box-shadow:var(--rochez-shadow)}
.rochez-faq summary{cursor:pointer;font-weight:700;color:var(--rochez-text);list-style:none}
.rochez-faq summary::-webkit-details-marker{display:none}
.rochez-faq summary::after{content:"+";float:right;color:var(--rochez-blue);font-weight:700;font-size:1.3em;line-height:1}
.rochez-faq details[open] summary::after{content:"−"}
.rochez-faq details p{color:var(--rochez-text-soft);line-height:1.75;margin:.8em 0 0}

/* Responsive */
@media (max-width:980px){
  .rochez-header,
  .rochez-hero,
  .rochez-strip,
  .rochez-location,
  .rochez-grid-3,
  .rochez-grid-4,
  .rochez-split,
  .rochez-bottom,
  .rochez-offer,
  .rochez-contact,
  .rochez-form-grid{grid-template-columns:1fr}
  .rochez-strip-item{border-right:0;border-bottom:1px solid var(--rochez-border)}
  .rochez-strip-item:last-child{border-bottom:0}
  .rochez-hero-copy{padding:34px 28px}
  .rochez-hero-copy h1{font-size:38px}
  .rochez-hero{background:linear-gradient(135deg,var(--rochez-navy),var(--rochez-navy-deep));min-height:auto}
  .rochez-hero-media{display:none}
  .rochez-services{padding:20px}
  .rochez-location-copy,.rochez-offer-copy,.rochez-contact-copy{padding:24px}
  .rochez-footer-grid{grid-template-columns:1fr 1fr;gap:24px}
  .rochez-nav{display:none}
  .rochez-nav.is-open{display:flex;flex-direction:column;width:100%;align-items:flex-start;padding:8px 0}
  .rochez-nav.is-open a{padding:8px 0}
  .rochez-nav-toggle{display:inline-block}
  .rochez-header{grid-template-columns:1fr auto}
  .rochez-phones{display:none}
}
@media (max-width:560px){
  .rochez-footer-grid{grid-template-columns:1fr}
  .rochez-pagehead h1{font-size:30px}
}
