/*
Theme Name: GeneratePress Child (Terrasse Design)
Template: generatepress
Author: Terrasse Design
Description: Thème enfant Terrasse Design — direction outdoor chaleureuse (bois, terracotta, sauge).
Version: 1.0
*/

:root{
  --paper:#f6f1e8; --surface:#fffdf9; --surface2:#efe7d8;
  --ink:#241f18; --ink2:#5c5347; --ink3:#8a8074;
  --line:#e6dcc9; --line2:#d8ccb4;
  --terra:#c25a36; --terra-dk:#a8472a; --terra-soft:#f6e3da;
  --sage:#6d7b4d; --sage-dk:#566340; --sage-soft:#e7ecdb;
  --wood:#b9874f;
  --display:'Fraunces',Georgia,serif;
  --sans:'Mulish',system-ui,sans-serif;
  --w:1180px; --gutter:clamp(16px,4vw,44px);
  --r:22px; --r-sm:14px; --pill:100px;
  --sh:0 8px 30px rgba(60,42,20,.08); --sh-lg:0 22px 60px rgba(60,42,20,.16);
}

body{ background:var(--paper); color:var(--ink); font-family:var(--sans); font-size:17.5px; line-height:1.7; }
a{ color:var(--terra); text-decoration:none; } a:hover{ color:var(--terra-dk); }
h1,h2,h3,h4,h5{ font-family:var(--display); color:var(--ink); line-height:1.14; font-weight:600; letter-spacing:-.01em; }
img{ max-width:100%; height:auto; }
.site-content{ display:block !important; padding:0 !important; }
.site-header.grid-container{ display:none; }
.hot-inner{ max-width:var(--w); margin:0 auto; padding-left:var(--gutter); padding-right:var(--gutter); }
.site-main{ margin:0 !important; } .entry-header,.page-header{ display:none; }

/* HEADER */
.hot-headnav{ position:sticky; top:0; z-index:1000; background:rgba(255,253,249,.9); backdrop-filter:blur(10px); border-bottom:1px solid var(--line); }
.hot-navi-in{ display:flex; align-items:center; gap:20px; height:76px; }
.hot-identity{ display:flex; align-items:center; gap:12px; }
.hot-sigil{ width:44px; height:44px; border-radius:13px; background:linear-gradient(135deg,var(--terra),var(--wood)); display:flex; align-items:center; justify-content:center; box-shadow:0 6px 16px rgba(194,90,54,.3); flex:none; }
.hot-sigil svg{ width:25px; height:25px; }
.hot-logo-tx{ display:flex; flex-direction:column; line-height:1.05; }
.hot-mark-nm{ font-family:var(--display); font-weight:600; font-size:21px; }
.hot-identity-under{ font-size:11px; color:var(--ink3); letter-spacing:.06em; text-transform:uppercase; margin-top:2px; }
.hot-nav2{ display:flex; align-items:center; gap:2px; margin:0 auto 0 12px; list-style:none; padding:0; }
.hot-nav2>li{ position:relative; }
.hot-nav2>li>a{ display:block; padding:9px 13px; border-radius:var(--pill); font-weight:700; font-size:15px; color:var(--ink2); white-space:nowrap; transition:.15s; }
.hot-nav2>li>a:hover{ background:var(--sage-soft); color:var(--sage-dk); }
.hot-nav2 .sub-menu{ position:absolute; top:calc(100% + 8px); left:0; min-width:280px; background:var(--surface); border:1px solid var(--line); border-radius:18px; box-shadow:var(--sh-lg); padding:9px; list-style:none; margin:0; opacity:0; visibility:hidden; transform:translateY(7px); transition:.16s; }
.hot-nav2 li:hover>.sub-menu{ opacity:1; visibility:visible; transform:translateY(0); }
.hot-nav2 .sub-menu a{ display:block; padding:10px 14px; border-radius:11px; font-size:14.5px; font-weight:600; color:var(--ink2); }
.hot-nav2 .sub-menu a:hover{ background:var(--terra-soft); color:var(--terra-dk); }
.hot-nav2 .menu-item-has-children>a::after{ content:'▾'; margin-left:6px; font-size:11px; color:var(--ink3); }
.hot-cta{ display:inline-flex; align-items:center; gap:7px; padding:11px 22px; background:var(--sage); color:#fff !important; border-radius:var(--pill); font-weight:700; font-size:15px; white-space:nowrap; flex:none; box-shadow:0 6px 16px rgba(109,123,77,.3); transition:.15s; }
.hot-cta:hover{ background:var(--sage-dk); transform:translateY(-1px); }
.hot-opener{ display:none; width:46px; height:46px; border:1px solid var(--line2); border-radius:13px; background:var(--surface); cursor:pointer; align-items:center; justify-content:center; flex-direction:column; gap:4px; }
.hot-opener span{ width:21px; height:2px; background:var(--ink); border-radius:2px; }
.hot-mob{ display:none; position:fixed; top:76px; left:0; right:0; height:calc(100dvh - 76px); background:var(--surface); z-index:1001; overflow-y:auto; padding:18px var(--gutter) 60px; }
.hot-mob.open{ display:block; }
.hot-mob ul{ list-style:none; margin:0; padding:0; }
.hot-mob>ul>li{ border-bottom:1px solid var(--line); }
.hot-mob a{ display:block; padding:13px 4px; font-weight:700; color:var(--ink); font-size:17px; }
.hot-mob .sub-menu a{ padding:9px 16px; font-weight:600; color:var(--ink2); font-size:15.5px; }

/* BUTTONS */
.hot-action{ display:inline-flex; align-items:center; gap:9px; padding:14px 30px; border-radius:var(--pill); font-weight:800; font-size:16px; transition:.15s; cursor:pointer; }
.hot-cta-1{ background:var(--terra); color:#fff !important; box-shadow:0 8px 20px rgba(194,90,54,.3); }
.hot-cta-1:hover{ background:var(--terra-dk); transform:translateY(-2px); }
.hot-button-2{ background:transparent; color:var(--ink) !important; border:1.5px solid var(--line2); }
.hot-button-2:hover{ border-color:var(--terra); color:var(--terra) !important; }

/* HERO — centré puis bande image pleine largeur (structure distincte) */
.hot-banner{ text-align:center; padding:66px 0 38px; }
.hot-masthead-tag{ display:inline-flex; align-items:center; gap:8px; padding:7px 16px; background:var(--terra-soft); color:var(--terra-dk); border-radius:var(--pill); font-weight:800; font-size:12.5px; letter-spacing:.06em; text-transform:uppercase; margin-bottom:20px; }
.hot-banner h1{ font-size:clamp(40px,6vw,72px); font-weight:600; letter-spacing:-.02em; margin:0 auto 18px; max-width:14ch; }
.hot-banner h1 em{ font-style:italic; color:var(--terra); }
.hot-banner p{ font-size:20px; color:var(--ink2); max-width:620px; margin:0 auto 28px; }
.hot-banner-act{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.hot-lede-photo2{ margin-top:48px; }
.hot-lede-photo2 .hot-inner{ padding:0 var(--gutter); }
.hot-lede-photo2 img{ width:100%; max-width:var(--w); margin:0 auto; display:block; border-radius:var(--r); box-shadow:var(--sh-lg); aspect-ratio:21/9; object-fit:cover; }
.hot-banner-ph{ width:100%; aspect-ratio:21/9; border-radius:var(--r); background:linear-gradient(135deg,var(--sage-soft),var(--terra-soft)); }

/* SECTION HEADERS — centrés avec filet */
.hot-sec{ padding:48px 0; }
.hot-sec-head{ text-align:center; margin-bottom:34px; }
.hot-sec-head .k{ display:inline-block; color:var(--sage-dk); font-weight:800; font-size:12.5px; letter-spacing:.1em; text-transform:uppercase; margin-bottom:8px; }
.hot-sec-head h2{ font-size:clamp(28px,3.6vw,40px); font-weight:600; margin:0; }
.hot-sec-head p{ color:var(--ink2); margin:8px auto 0; max-width:560px; }
.hot-sec-title2--row{ display:flex; align-items:flex-end; justify-content:space-between; text-align:left; gap:20px; }
.hot-sec-anchor2{ font-weight:800; color:var(--terra); white-space:nowrap; }
.hot-sec-anchor2:hover{ color:var(--sage-dk); }

/* ARTICLES */
.hot-collection{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.hot-tile{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r); overflow:hidden; display:flex; flex-direction:column; transition:.18s; }
.hot-tile:hover{ transform:translateY(-5px); box-shadow:var(--sh-lg); }
.hot-block2-im{ aspect-ratio:16/11; overflow:hidden; background:var(--surface2); }
.hot-block2-im img{ width:100%; height:100%; object-fit:cover; transition:.3s; }
.hot-tile:hover .hot-block2-im img{ transform:scale(1.05); }
.hot-item-nt{ width:100%; height:100%; display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,var(--sage-soft),var(--terra-soft)); }
.hot-item-nt svg{ width:42px; height:42px; color:var(--terra); opacity:.5; }
.hot-tile-bd{ padding:20px 22px 24px; display:flex; flex-direction:column; gap:10px; flex:1; }
.hot-tag{ align-self:flex-start; font-size:11.5px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; color:var(--sage-dk); background:var(--sage-soft); padding:5px 11px; border-radius:var(--pill); }
.hot-tile h3{ font-size:20px; line-height:1.25; margin:0; font-weight:600; }
.hot-tile h3 a{ color:var(--ink); } .hot-tile h3 a:hover{ color:var(--terra); }
.hot-piece-ex{ color:var(--ink2); font-size:15px; margin:0; }
.hot-tile-mt{ color:var(--ink3); font-size:13.5px; margin:auto 0 0; }
.hot-feat{ grid-column:span 2; } .hot-feat .hot-block2-im{ aspect-ratio:2/1; } .hot-feat h3{ font-size:27px; }
.hot-none2{ text-align:center; color:var(--ink2); padding:54px 0; background:var(--surface); border:1px dashed var(--line2); border-radius:var(--r); }

/* THEME CARDS — vignettes image par groupe (distinct) */
.hot-pillars{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.hot-topic{ position:relative; border-radius:var(--r); overflow:hidden; min-height:200px; display:flex; align-items:flex-end; box-shadow:var(--sh); transition:.2s; }
.hot-topic:hover{ transform:translateY(-5px); box-shadow:var(--sh-lg); }
.hot-category2-bg{ position:absolute; inset:0; background-size:cover; background-position:center; }
.hot-category2-bg::after{ content:''; position:absolute; inset:0; background:linear-gradient(0deg, rgba(36,31,24,.82) 0%, rgba(36,31,24,.15) 70%); }
.hot-subject-fb{ position:absolute; inset:0; background:linear-gradient(135deg,var(--sage),var(--wood)); }
.hot-pillar-tx{ position:relative; padding:22px; color:#fff; }
.hot-pillar-tx .nm{ font-family:var(--display); font-weight:600; font-size:21px; }
.hot-pillar-tx .ct{ font-size:13px; opacity:.85; margin-top:3px; }

/* ABOUT — bande sombre bois */
.hot-intro2{ padding:18px 0 48px; }
.hot-presentation-in{ background:linear-gradient(135deg,#2c2419,#3c3120); border-radius:var(--r); padding:54px clamp(24px,5vw,64px); display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; color:#fff; box-shadow:var(--sh-lg); }
.hot-presentation-in img{ border-radius:var(--r-sm); box-shadow:var(--sh); width:100%; aspect-ratio:4/3; object-fit:cover; }
.hot-intro2 .k{ color:var(--wood); font-weight:800; font-size:12.5px; letter-spacing:.1em; text-transform:uppercase; }
.hot-intro2 h2{ color:#fff; font-size:clamp(28px,3.6vw,40px); margin:10px 0 16px; }
.hot-intro2 p{ color:#e3d8c6; font-size:17px; margin:0 0 22px; }
.hot-intro2 .hot-button-2{ color:#fff !important; border-color:rgba(255,255,255,.3); }
.hot-intro2 .hot-button-2:hover{ border-color:#fff; }

/* ARCHIVE */
.hot-arch{ padding:36px 0 60px; }
.hot-arch-top2{ text-align:center; margin-bottom:32px; }
.hot-arch-top2 h1{ font-size:clamp(30px,4.4vw,48px); margin:0 0 8px; }
.hot-arch-top2 .c{ color:var(--ink2); font-size:15px; }
.hot-arch-head--visual{ position:relative; overflow:hidden; text-align:left; padding:54px var(--gutter); border-radius:var(--r); color:#fff; background-image:linear-gradient(90deg, rgba(36,31,24,.9) 0%, rgba(36,31,24,.5) 60%, rgba(36,31,24,.2) 100%), var(--cat); background-size:cover; background-position:center; }
.hot-arch-head--visual h1{ color:#fff; } .hot-arch-head--visual .c{ color:#ece2d2; }
.hot-pag{ margin-top:40px; } .hot-pag ul{ display:flex; gap:8px; list-style:none; padding:0; justify-content:center; flex-wrap:wrap; }
.hot-pag a,.hot-pag span{ display:flex; min-width:44px; height:44px; align-items:center; justify-content:center; padding:0 13px; border-radius:var(--pill); background:var(--surface); border:1px solid var(--line); font-weight:700; color:var(--ink2); }
.hot-pag .current{ background:var(--terra); color:#fff; border-color:var(--terra); }

/* SINGLE / PAGE */
.hot-detail{ padding:40px 0 60px; } .hot-rd{ max-width:760px; margin:0 auto; }
.hot-rd .hot-tag{ margin-bottom:16px; }
.hot-detail h1{ font-size:clamp(32px,4.6vw,50px); margin:0 0 16px; }
.hot-info{ display:flex; gap:16px; color:var(--ink3); font-size:14.5px; margin-bottom:26px; padding-bottom:22px; border-bottom:1px solid var(--line); }
.hot-thumb{ border-radius:var(--r); overflow:hidden; margin-bottom:30px; box-shadow:var(--sh); }
.hot-prose{ font-size:18px; line-height:1.8; color:#332c22; }
.hot-prose>*{ margin-bottom:1.25em; }
.hot-prose h2{ font-size:30px; margin:1.6em 0 .5em; } .hot-prose h3{ font-size:23px; margin:1.4em 0 .4em; }
.hot-prose a{ color:var(--terra); text-decoration:underline; text-underline-offset:3px; }
.hot-prose img{ border-radius:var(--r-sm); }
.hot-prose blockquote{ border-left:4px solid var(--sage); background:var(--surface); padding:16px 22px; border-radius:0 14px 14px 0; color:var(--ink2); }
.hot-prose ul,.hot-prose ol{ padding-left:1.4em; } .hot-prose li{ margin-bottom:.5em; }
.hot-page-header2{ text-align:center; padding:48px 0 6px; } .hot-page-header2 h1{ font-size:clamp(32px,4.4vw,48px); margin:0; }
.hot-page-header2 .r{ width:64px; height:4px; background:var(--terra); border-radius:3px; margin:18px auto 0; }
.hot-page-bd{ padding:26px 0 60px; } .hot-page-bd .hot-rd{ font-size:18px; line-height:1.8; color:#332c22; }

/* CF7 */
.x-field{ display:block; font-weight:700; color:var(--ink); margin-bottom:18px; font-size:15px; }
.wpcf7-form input[type=text],.wpcf7-form input[type=email],.wpcf7-form textarea{ width:100%; margin-top:7px; padding:14px 16px; border:1.5px solid var(--line2); border-radius:14px; background:var(--surface); font-family:inherit; font-size:16px; color:var(--ink); transition:.15s; }
.wpcf7-form input:focus,.wpcf7-form textarea:focus{ outline:none; border-color:var(--terra); box-shadow:0 0 0 3px var(--terra-soft); }
.wpcf7-form .wpcf7-submit{ background:var(--terra); color:#fff; border:none; padding:14px 34px; border-radius:var(--pill); font-weight:800; font-size:16px; cursor:pointer; box-shadow:0 8px 20px rgba(194,90,54,.3); }
.wpcf7-form .wpcf7-submit:hover{ background:var(--terra-dk); }

/* 404 */
.hot-404{ text-align:center; padding:90px 0; } .hot-404 .cd{ font-family:var(--display); font-size:120px; font-weight:600; color:var(--terra); line-height:1; }
.hot-404 h1{ font-size:30px; margin:14px 0 10px; } .hot-404 p{ color:var(--ink2); margin-bottom:26px; }

/* FOOTER */
.hot-foot{ background:#2c2419; color:#e3d8c6; margin-top:46px; }
.hot-foot a{ color:#cbbfa9; } .hot-foot a:hover{ color:#fff; }
.hot-foot-top{ display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr 1fr; gap:32px; padding:56px 0 42px; }
.hot-foot .hot-mark-nm{ color:#fff; } .hot-foot .hot-identity-under{ color:#a89a82; }
.hot-foot-br p{ color:#b7a98f; font-size:14.5px; max-width:280px; margin-top:14px; }
.hot-foot h5{ font-family:var(--display); font-size:15px; color:#fff; margin:0 0 14px; }
.hot-foot ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:9px; font-size:14.5px; }
.hot-foot-bt{ border-top:1px solid rgba(255,255,255,.12); padding:18px 0; display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap; color:#a89a82; font-size:13.5px; }

/* RESPONSIVE */
@media (max-width:1180px){ .hot-nav2{ display:none; } .hot-opener{ display:flex; } .hot-cta{ display:none; } }
@media (max-width:960px){ .hot-pillars{ grid-template-columns:repeat(2,1fr); } .hot-presentation-in{ grid-template-columns:1fr; gap:28px; } .hot-presentation-in img{ order:-1; } .hot-foot-top{ grid-template-columns:1fr 1fr; gap:26px; } }
@media (max-width:820px){ .hot-collection{ grid-template-columns:repeat(2,1fr); } .hot-feat{ grid-column:span 2; } .hot-sec-title2--row{ flex-direction:column; align-items:flex-start; } }
@media (max-width:560px){ .hot-collection{ grid-template-columns:1fr; } .hot-feat{ grid-column:span 1; } .hot-feat .hot-block2-im{ aspect-ratio:16/11; } .hot-pillars{ grid-template-columns:1fr; } .hot-foot-top{ grid-template-columns:1fr; } .hot-lede-photo2 img{ aspect-ratio:16/10; } }
