/*
Theme Name: Grouzia Maçonnerie – Divi Child
Template: Divi
Author: Media Web Vision
Author URI: https://creation-site-internet-gard.com
Description: Thème enfant sur mesure pour Grouzia Maçonnerie, maçon à Alès (piscines, rénovation, toiture, carrelage).
Version: 1.0
*/

:root{
  --gz-ink:#1C2226; --gz-ink-2:#12181B; --gz-muted:#3C464B; --gz-stone:#F4F0E9; --gz-sand:#E6DED1;
  --gz-teal:#156B73; --gz-teal-d:#0E4E54; --gz-aqua:#9FE0DD; --gz-clay:#F2B48C; --gz-line:#C9C2B6;
}
body{font-family:'Inter',system-ui,sans-serif;color:var(--gz-ink);background:var(--gz-stone);font-size:16px;line-height:1.65}
h1,h2,h3,h4{font-family:'Archivo',sans-serif;color:var(--gz-ink);font-weight:800;line-height:1.05;padding-bottom:0;letter-spacing:-.01em}
#page-container{overflow-x:hidden}
.et_pb_section{padding:0;background-color:transparent}
.et_pb_row{width:90%;max-width:1240px;padding:0}
.et_pb_text_inner>*:last-child{margin-bottom:0}
a{color:var(--gz-teal)} a:hover{color:var(--gz-teal-d)}
#main-content{background:var(--gz-stone)}

/* ---------- Header ---------- */
#main-header{background:var(--gz-ink)!important;box-shadow:none!important;border-bottom:1px solid rgba(255,255,255,.06)}
#main-header .container{width:90%;max-width:1240px}
#top-menu li a,#et_mobile_nav_menu .mobile_menu_bar:before{color:#fff!important;font-weight:500;font-size:15px}
#top-menu li a:hover{opacity:1;color:var(--gz-aqua)!important}
#top-menu li.current-menu-item>a{color:var(--gz-aqua)!important}
#top-menu li.gz-menu-call>a{border:1px solid rgba(255,255,255,.55);padding:12px 22px!important;border-radius:999px;margin-top:-12px}
#top-menu li.gz-menu-call>a:hover{background:#fff;color:var(--gz-ink)!important}
.et_mobile_menu{background:var(--gz-ink)!important;border-top-color:var(--gz-teal)!important}
.et_mobile_menu li a{color:#fff!important}
#logo{max-height:60%!important}

/* ---------- Buttons ---------- */
.gz-btn{display:inline-flex;align-items:center;gap:10px;font-weight:700;font-size:16px;min-height:54px;padding:0 30px;border-radius:999px;text-decoration:none;transition:all .2s ease;line-height:1.2}
.gz-btn svg{width:18px;height:18px}
.gz-btn--light{background:#fff;color:#12383C!important}
.gz-btn--light:hover{background:var(--gz-aqua);transform:translateY(-1px)}
.gz-btn--ghost{border:1px solid rgba(255,255,255,.7);color:#fff!important;font-weight:600}
.gz-btn--ghost:hover{background:#fff;color:var(--gz-ink)!important}
.gz-btn--teal{background:var(--gz-teal);color:#fff!important}
.gz-btn--teal:hover{background:var(--gz-teal-d)}
.gz-actions{display:flex;flex-wrap:wrap;gap:14px}

/* ---------- Eyebrow ---------- */
.gz-eyebrow{font-family:'Archivo',sans-serif;font-size:13px;font-weight:700;letter-spacing:.3em;text-transform:uppercase;color:var(--gz-teal);margin-bottom:14px}
.gz-dark .gz-eyebrow{color:var(--gz-aqua)}
.gz-eyebrow--clay{color:var(--gz-clay)!important}

/* ---------- Parallax bands ---------- */
.gz-px{position:relative;overflow:hidden}
.gz-px:before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none}
.gz-px .et_pb_row{position:relative;z-index:2}
.gz-px--hero:before{background:linear-gradient(180deg,rgba(14,22,26,.55) 0%,rgba(14,22,26,.25) 45%,rgba(14,22,26,.82) 100%)}
.gz-px--side:before{background:linear-gradient(90deg,rgba(14,22,26,.84) 0%,rgba(14,22,26,.35) 75%)}
.gz-px--teal:before{background:linear-gradient(180deg,rgba(12,52,56,.80),rgba(12,52,56,.90))}

/* ---------- Hero ---------- */
.gz-hero{min-height:calc(100vh - 80px);display:flex;align-items:flex-end}
.gz-hero .et_pb_row{padding:140px 0 96px}
.gz-hero h1{color:#fff;font-weight:900;font-size:clamp(42px,6.2vw,92px);line-height:.98;letter-spacing:-.02em;max-width:980px;margin-bottom:26px}
.gz-hero .gz-lead{color:#EDF2F2;font-size:19px;max-width:640px;margin-bottom:36px}
.gz-badges{display:flex;flex-wrap:wrap;gap:28px;margin-top:48px;color:#EDF2F2;font-weight:500;font-size:15px}
.gz-badges span{display:flex;align-items:center;gap:8px}
.gz-badges svg{width:20px;height:20px;stroke:var(--gz-aqua);flex:none}

/* ---------- Métiers band ---------- */
.gz-band{background:var(--gz-ink)!important}
.gz-band .et_pb_row{padding:26px 0}
.gz-trades{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 40px;font-family:'Archivo',sans-serif;font-weight:700;font-size:17px;letter-spacing:.2em;color:var(--gz-sand)}
.gz-trades i{font-style:normal;color:#5FB8B4}

/* ---------- Sections ---------- */
.gz-sec{padding:120px 0!important}
.gz-sec--dark{background:var(--gz-ink)!important}
.gz-dark h2,.gz-dark h3,.gz-dark h1{color:#fff}
.gz-dark p{color:#D5DCDE}
.gz-h2{font-size:48px;margin-bottom:0}
.gz-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:56px}
.gz-head p{max-width:460px;font-size:17px;color:var(--gz-muted);margin:0}

/* ---------- Split piscines ---------- */
.gz-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:64px;align-items:center}
.gz-split p{font-size:17px;color:var(--gz-muted);margin-top:24px}
.gz-list{list-style:none;padding:0!important;margin:28px 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 24px;font-weight:500}
.gz-list li{display:flex;gap:10px;align-items:center;padding:0}
.gz-list li:before{content:"";width:8px;height:8px;border-radius:2px;background:var(--gz-teal);flex:none}
.gz-mosaic{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.gz-mosaic img{width:100%;height:260px;object-fit:cover;border-radius:6px;display:block}
.gz-mosaic img:first-child{grid-column:span 2;height:340px}

/* ---------- Big parallax text ---------- */
.gz-mid{min-height:520px;display:flex;align-items:center}
.gz-mid .et_pb_row{padding:110px 0}
.gz-mid h2{color:#fff;font-size:52px;max-width:640px}
.gz-mid p{color:#EDEAE4;font-size:18px;max-width:640px;margin-top:22px}

/* ---------- Service cards ---------- */
.gz-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.gz-card{background:#fff;border-radius:6px;overflow:hidden}
.gz-card-img{height:220px;overflow:hidden}
.gz-card-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s ease}
.gz-card:hover .gz-card-img img{transform:scale(1.05)}
.gz-card-body{padding:28px}
.gz-card-body h3{font-size:22px;margin:0}
.gz-card-body p{font-size:15px;color:var(--gz-muted);margin:10px 0 0}

/* ---------- Gallery ---------- */
.gz-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:260px;gap:16px}
.gz-gallery figure{margin:0;position:relative;overflow:hidden;border-radius:6px}
.gz-gallery figure.tall{grid-row:span 2}
.gz-gallery img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s ease}
.gz-gallery figure:hover img{transform:scale(1.05)}
.gz-gallery figcaption{position:absolute;left:0;right:0;bottom:0;padding:18px;background:linear-gradient(transparent,rgba(0,0,0,.72));color:#fff;font-weight:600}

/* ---------- Engagements ---------- */
.gz-commit{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:40px}
.gz-commit .n{font-family:'Archivo',sans-serif;font-weight:900;font-size:15px;letter-spacing:.2em;color:var(--gz-teal)}
.gz-commit h3{font-size:22px;margin:12px 0 0}
.gz-commit p{font-size:15px;color:var(--gz-muted);margin:10px 0 0}

/* ---------- CTA parallax ---------- */
.gz-cta{min-height:460px;display:flex;align-items:center;text-align:center}
.gz-cta .et_pb_row{padding:90px 0}
.gz-cta h2{color:#fff;font-weight:900;font-size:56px;max-width:820px;margin:0 auto}
.gz-cta p{color:#E3F2F1;font-size:19px;max-width:620px;margin:22px auto 0}
.gz-cta .gz-actions{justify-content:center;margin-top:34px}

/* ---------- Contact ---------- */
.gz-contact{display:grid;grid-template-columns:5fr 7fr;gap:64px;align-items:start}
.gz-contact .gz-h2{margin-bottom:22px}
.gz-contact p{font-size:17px;color:var(--gz-muted)}
.gz-info{list-style:none;padding:0!important;margin:34px 0 0;display:flex;flex-direction:column;gap:18px}
.gz-info li{display:flex;gap:14px;align-items:center;padding:0;font-size:17px;font-weight:500}
.gz-info svg{width:20px;height:20px;stroke:var(--gz-teal);flex:none}
.gz-info a{color:var(--gz-ink)}
.gz-form .et_pb_contact_form_container{background:#fff;border-radius:6px;padding:40px}
.gz-form .et_pb_contact_main_title{font-family:'Archivo',sans-serif;font-size:24px;margin-bottom:20px}
.gz-form input.input,.gz-form textarea.input{background:#FBFAF7!important;border:1px solid var(--gz-line)!important;border-radius:4px!important;padding:14px!important;font-size:15px!important;color:var(--gz-ink)!important}
.gz-form .et_pb_contact_submit{background:var(--gz-teal)!important;color:#fff!important;border:0!important;border-radius:999px!important;font-weight:700!important;font-size:16px!important;padding:14px 34px!important}
.gz-form .et_pb_contact_submit:after{display:none}
.gz-form .et_pb_contact_submit:hover{background:var(--gz-teal-d)!important;padding:14px 34px!important}

/* ---------- Inner page hero ---------- */
.gz-phero{min-height:420px;display:flex;align-items:flex-end}
.gz-phero .et_pb_row{padding:120px 0 70px}
.gz-phero h1{color:#fff;font-size:56px;font-weight:900}
.gz-phero p{color:#EDF2F2;font-size:19px;max-width:640px;margin-top:16px}
.gz-legal h2{font-size:26px;margin:36px 0 12px}
.gz-legal p{color:var(--gz-muted)}

/* ---------- Footer ---------- */
#main-footer{display:none}
.gz-footer{background:var(--gz-ink-2);color:#AEB8BB;padding:70px 0 0;font-size:15px}
.gz-footer-in{width:90%;max-width:1240px;margin:0 auto;display:grid;grid-template-columns:2fr 1fr 1fr;gap:48px;padding-bottom:48px}
.gz-footer h4{color:#fff;font-size:16px;margin-bottom:16px}
.gz-footer a{color:#D5DCDE} .gz-footer a:hover{color:var(--gz-aqua)}
.gz-footer ul{list-style:none;padding:0;margin:0;line-height:2}
.gz-footer-brand{font-family:'Archivo',sans-serif;font-weight:900;letter-spacing:.2em;color:#fff;font-size:22px;margin-bottom:12px}
.gz-footer-bottom{border-top:1px solid rgba(255,255,255,.08);padding:22px 0}
.gz-footer-bottom .gz-footer-in{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;padding:0;font-size:14px}
.gz-callfab{display:none}

/* Nettoyage des balises ajoutées par l'éditeur */
.gz-grid>p,.gz-grid>br,.gz-gallery>p,.gz-gallery>br,.gz-mosaic>p,.gz-mosaic>br,.gz-split>p:empty,.gz-commit>p,.gz-commit>br,.gz-contact>p:empty{display:none}

/* ---------- Responsive ---------- */
@media (max-width:980px){
  .gz-hero{min-height:auto}
  .gz-hero .et_pb_row{padding:110px 0 80px}
  .gz-sec{padding:84px 0!important}
  .gz-split,.gz-contact{grid-template-columns:1fr;gap:44px}
  .gz-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gz-gallery{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:220px}
  .gz-commit{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gz-h2,.gz-mid h2{font-size:38px}
  .gz-cta h2{font-size:42px}
  .gz-phero h1{font-size:42px}
  .gz-footer-in{grid-template-columns:1fr 1fr}
}
@media (max-width:640px){
  .gz-hero h1{font-size:40px}
  .gz-hero .gz-lead{font-size:17px}
  .gz-badges{gap:14px 22px}
  .gz-grid,.gz-commit,.gz-list{grid-template-columns:1fr}
  .gz-gallery{grid-template-columns:1fr;grid-auto-rows:240px}
  .gz-gallery figure.tall{grid-row:span 1}
  .gz-mosaic img,.gz-mosaic img:first-child{height:220px}
  .gz-h2,.gz-mid h2,.gz-cta h2{font-size:31px}
  .gz-trades{gap:8px 18px;font-size:14px}
  .gz-form .et_pb_contact_form_container{padding:24px}
  .gz-footer-in{grid-template-columns:1fr}
  .gz-btn{width:100%;justify-content:center}
  .gz-callfab{display:flex;position:fixed;left:16px;right:16px;bottom:16px;z-index:9999;justify-content:center;align-items:center;gap:10px;background:var(--gz-teal);color:#fff!important;font-weight:700;padding:16px;border-radius:999px;box-shadow:0 12px 30px -8px rgba(0,0,0,.45);text-decoration:none}
  .gz-callfab svg{width:20px;height:20px}
  body{padding-bottom:84px}
}
