/* EcoÉclat — Bouskoura landing page, v9 */
:root {
  --ink: #172d28;
  --muted: #61716b;
  --green: #1f8a62;
  --green-dark: #123b32;
  --green-deep: #0b2a24;
  --mint: #eaf5ef;
  --paper: #fbfcfa;
  --line: #dce7e0;
  --white: #fff;
  --shadow: 0 22px 60px rgba(16, 51, 41, .11);
  --radius: 24px;
  --container: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 1000; padding: 12px 16px; background: var(--white); border-radius: 10px; }
.skip-link:focus { top: 16px; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(251,252,250,.93); border-bottom: 1px solid rgba(220,231,224,.85); backdrop-filter: blur(16px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand img, .footer-brand img { width: 166px; height: auto; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.site-nav > a:not(.button) { color: #42554e; font-size: .94rem; font-weight: 600; transition: color .2s ease; }
.site-nav > a:not(.button):hover, .site-nav > a[aria-current="page"] { color: var(--green); }
.menu-toggle { display: none; border: 1px solid var(--line); border-radius: 12px; background: var(--white); width: 46px; height: 44px; padding: 11px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 13px 21px; border: 1px solid transparent; border-radius: 999px; font-weight: 750; font-size: .95rem; cursor: pointer; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--green); box-shadow: 0 10px 24px rgba(31,138,98,.2); }
.button-primary:hover { background: #176f4e; box-shadow: 0 13px 28px rgba(31,138,98,.25); }
.button-dark { background: var(--green-dark); color: var(--white); }
.button-dark:hover { background: var(--green-deep); }
.button-outline { color: var(--ink); border-color: #cbd9d1; background: rgba(255,255,255,.6); }
.button-outline:hover { background: var(--white); }
.button-small { min-height: 43px; padding: 10px 18px; font-size: .88rem; }
.hero { position: relative; overflow: hidden; padding: 74px 0 88px; background: linear-gradient(115deg, #f4faf5 0%, #edf6f0 52%, #e1f0e7 100%); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: clamp(36px, 6vw, 78px); }
.hero-copy { max-width: 590px; padding: 10px 0 18px; }
.eyebrow { margin: 0 0 18px; display: flex; align-items: center; gap: 9px; color: #d2f0dd; font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow-green { color: var(--green); }
.eyebrow-dot { width: 8px; height: 8px; background: #5db78b; border-radius: 50%; box-shadow: 0 0 0 5px rgba(93,183,139,.14); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 650px; margin-bottom: 23px; font-size: clamp(2.7rem, 5.1vw, 4.7rem); line-height: 1.04; letter-spacing: -.055em; font-weight: 800; }
h1 span { color: var(--green); }
.hero-lead { max-width: 545px; margin-bottom: 30px; color: #53665e; font-size: clamp(1.05rem, 1.45vw, 1.2rem); line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { display: flex; align-items: center; gap: 11px; margin-top: 27px; color: #5e7067; font-size: .88rem; }
.note-icon { display: grid; place-items: center; width: 25px; height: 25px; flex: 0 0 25px; color: var(--green); background: #d8efe1; border-radius: 50%; font-size: .82rem; font-weight: 900; }
.hero-visual { position: relative; min-width: 0; padding: 0 10px 22px 0; }
.hero-image-frame { position: relative; z-index: 1; overflow: hidden; aspect-ratio: 1 / .94; border-radius: 44% 44% 28px 28px; background: #dce9e0; box-shadow: var(--shadow); }
.hero-image-frame::after { position: absolute; content: ""; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11,42,36,.18)); pointer-events: none; }
.hero-image-frame img { width: 100%; height: 100%; object-fit: cover; }
.image-label { position: absolute; z-index: 3; left: -25px; bottom: 4px; display: flex; align-items: center; gap: 12px; min-width: 205px; padding: 16px 20px; background: var(--white); border: 1px solid rgba(220,231,224,.8); border-radius: 17px; box-shadow: var(--shadow); }
.label-mark { display: grid; place-items: center; width: 42px; height: 42px; color: var(--green); background: var(--mint); border-radius: 13px; font-size: 1.4rem; }
.image-label strong, .image-label small { display: block; }
.image-label strong { font-size: .98rem; }
.image-label small { color: var(--muted); font-size: .78rem; }
.hero-orbit { position: absolute; top: -26px; right: -26px; width: 115px; height: 115px; border: 1px solid rgba(31,138,98,.22); border-radius: 50%; }
.hero-shape { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-shape-one { width: 330px; height: 330px; right: -150px; top: -210px; background: rgba(255,255,255,.4); }
.hero-shape-two { width: 190px; height: 190px; left: 36%; bottom: -155px; border: 1px solid rgba(31,138,98,.14); }
.hero-bottom-line { position: absolute; bottom: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, #1f8a62, #a7d9b9, #e0efe4); }
.section-pad { padding: 94px 0; }
.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(38px, 7vw, 100px); align-items: start; }
h2 { margin-bottom: 20px; font-size: clamp(2rem, 3.5vw, 3.15rem); line-height: 1.13; letter-spacing: -.045em; font-weight: 790; }
.intro h2 { max-width: 510px; }
.intro-text { color: var(--muted); font-size: 1.02rem; }
.intro-text p:last-child { margin-bottom: 0; }
.intro-text strong { color: var(--ink); }
.section-soft { background: #f0f6f1; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 38px; }
.section-heading h2 { max-width: 630px; margin-bottom: 0; }
.section-heading > p { max-width: 390px; margin-bottom: 4px; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; }
.service-card { overflow: hidden; background: var(--white); border: 1px solid #e1eae3; border-radius: 20px; box-shadow: 0 7px 25px rgba(16,51,41,.035); transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 18px 38px rgba(16,51,41,.09); }
.service-image { overflow: hidden; aspect-ratio: 1.55; background: #dfe9e2; }
.service-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .service-image img { transform: scale(1.04); }
.service-content { position: relative; padding: 25px 24px 27px; }
.service-number { display: inline-block; margin-bottom: 10px; color: var(--green); font-size: .76rem; font-weight: 850; letter-spacing: .12em; }
.service-content h3, .service-card-cta h3 { margin-bottom: 10px; font-size: 1.23rem; line-height: 1.25; letter-spacing: -.025em; }
.service-content p, .service-card-cta p { min-height: 78px; margin-bottom: 18px; color: var(--muted); font-size: .92rem; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--green); font-size: .9rem; font-weight: 800; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.service-card-cta { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 30px; background: var(--green-dark); color: var(--white); }
.service-card-cta p { color: #d0e1d7; }
.cta-symbol { display: grid; place-items: center; width: 49px; height: 49px; margin-bottom: 22px; color: #b9e6c9; background: rgba(255,255,255,.1); border-radius: 15px; font-size: 1.7rem; }
.process-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 8vw, 110px); align-items: center; }
.process-copy > p:not(.eyebrow) { max-width: 470px; margin-bottom: 26px; color: var(--muted); }
.steps { display: grid; gap: 0; padding: 0; margin: 0; list-style: none; }
.steps li { display: flex; align-items: flex-start; gap: 19px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.steps li:first-child { border-top: 1px solid var(--line); }
.steps li > span { display: grid; place-items: center; flex: 0 0 43px; height: 43px; color: var(--green); background: var(--mint); border-radius: 14px; font-weight: 850; }
.steps h3 { margin-bottom: 4px; font-size: 1.08rem; }
.steps p { margin-bottom: 0; color: var(--muted); font-size: .93rem; }
.gallery-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: 250px; gap: 16px; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; background: #dfe9e2; }
.gallery-grid .gallery-large { grid-row: span 1; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(35px, 7vw, 95px); align-items: start; }
.faq-intro { max-width: 360px; color: var(--muted); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 22px 36px 22px 0; cursor: pointer; list-style: none; font-weight: 750; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; right: 4px; top: 19px; content: "+"; color: var(--green); font-size: 1.5rem; font-weight: 500; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: -4px 35px 22px 0; color: var(--muted); font-size: .94rem; }
.quote-section { background: var(--green-dark); color: var(--white); }
.quote-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(38px, 8vw, 105px); align-items: start; }
.quote-copy { position: sticky; top: 120px; padding-top: 20px; }
.quote-copy h2 { max-width: 490px; }
.quote-copy > p:not(.eyebrow) { max-width: 440px; color: #c8dcd1; }
.contact-lines { display: grid; gap: 13px; margin-top: 32px; }
.contact-lines a { display: flex; align-items: center; gap: 12px; color: #e7f3eb; font-weight: 650; }
.contact-lines a span { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; }
.form-card { padding: clamp(24px, 4vw, 42px); color: var(--ink); background: var(--white); border-radius: 25px; box-shadow: 0 24px 65px rgba(0,0,0,.13); }
.form-card h3 { margin-bottom: 5px; font-size: 1.65rem; letter-spacing: -.03em; }
.form-intro { margin-bottom: 25px; color: var(--muted); font-size: .9rem; }
.lead-form { display: grid; gap: 17px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.lead-form label { display: grid; gap: 7px; color: #344b42; font-size: .88rem; font-weight: 750; }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; min-width: 0; padding: 13px 14px; border: 1px solid #d7e2da; border-radius: 11px; outline: none; color: var(--ink); background: #fbfdfb; font-size: .94rem; font-weight: 450; transition: border-color .2s ease, box-shadow .2s ease; }
.lead-form input, .lead-form select { min-height: 49px; }
.lead-form textarea { resize: vertical; min-height: 110px; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(31,138,98,.12); }
.button-submit { width: 100%; margin-top: 3px; border: 0; }
.privacy-note, .form-status { margin: -5px 0 0; color: var(--muted); font-size: .79rem; }
.form-status:not(:empty) { padding: 10px 12px; color: var(--green-dark); background: var(--mint); border-radius: 9px; }
.site-footer { background: #f9fbf9; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.1fr; gap: 38px; padding-top: 60px; padding-bottom: 50px; }
.footer-brand p { max-width: 260px; margin: 17px 0 0; color: var(--muted); font-size: .9rem; }
.footer-grid h2 { margin-bottom: 16px; font-size: .94rem; letter-spacing: 0; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-grid > div:not(:first-child) a { color: var(--muted); font-size: .88rem; }
.footer-grid a:hover { color: var(--green); }
.footer-bottom { padding: 18px 0; border-top: 1px solid var(--line); color: #718078; font-size: .82rem; }
.floating-actions { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; gap: 9px; }
.floating-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 112px; padding: 13px 17px; border-radius: 999px; color: var(--white); font-size: .86rem; font-weight: 800; box-shadow: 0 8px 25px rgba(0,0,0,.16); }
.floating-whatsapp { background: #20c96b; }
.floating-call { background: #1769bd; }
.floating-button:hover { transform: translateY(-2px); }
:focus-visible { outline: 3px solid #70c79a; outline-offset: 3px; }
@media (max-width: 950px) {
  .site-nav { gap: 16px; }
  .hero { padding: 58px 0 72px; }
  .hero-grid { gap: 38px; }
  h1 { font-size: clamp(2.6rem, 6vw, 4rem); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-content p { min-height: auto; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote-grid { gap: 36px; }
}
@media (max-width: 720px) {
  .container { width: min(100% - 36px, var(--container)); }
  .header-inner { min-height: 72px; }
  .brand img { width: 142px; }
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: calc(100% + 1px); left: 0; right: 0; padding: 18px; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 18px 25px rgba(16,51,41,.08); }
  .site-nav.is-open { display: flex; }
  .site-nav > a:not(.button) { padding: 12px 6px; }
  .site-nav .button { margin-top: 10px; }
  .hero { padding: 45px 0 62px; }
  .hero-grid { grid-template-columns: 1fr; gap: 37px; }
  .hero-copy { padding: 0; }
  h1 { max-width: 540px; font-size: clamp(2.65rem, 12vw, 4rem); }
  .hero-lead { font-size: 1.02rem; }
  .hero-visual { width: min(100%, 520px); margin-inline: auto; padding-left: 10px; }
  .hero-image-frame { aspect-ratio: 1.08 / 1; border-radius: 36% 36% 22px 22px; }
  .image-label { left: 0; min-width: 185px; padding: 12px 15px; }
  .hero-orbit { right: -4px; width: 75px; height: 75px; }
  .section-pad { padding: 66px 0; }
  .intro-grid, .process-grid, .faq-grid, .quote-grid { grid-template-columns: 1fr; gap: 25px; }
  .section-heading { display: block; margin-bottom: 28px; }
  .section-heading > p { margin-top: 17px; }
  h2 { font-size: clamp(1.9rem, 8vw, 2.65rem); }
  .service-grid { grid-template-columns: 1fr; gap: 15px; }
  .service-image { aspect-ratio: 1.8; }
  .service-content { padding: 22px; }
  .service-content p { margin-bottom: 15px; }
  .service-card-cta { min-height: 290px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 190px 150px; gap: 10px; }
  .gallery-grid .gallery-large { grid-column: 1 / -1; }
  .quote-copy { position: static; padding-top: 0; }
  .form-row { grid-template-columns: 1fr; gap: 17px; }
  .form-card { padding: 24px 19px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 22px; padding-top: 45px; padding-bottom: 35px; }
  .footer-brand { grid-column: 1 / -1; }
  .floating-actions { right: 12px; bottom: 12px; gap: 7px; }
  .floating-button { min-width: 103px; padding: 11px 14px; }
}
@media (max-width: 390px) {
  .container { width: calc(100% - 28px); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
