/*
Theme Name: Naho Blocks
Theme URI: https://naho-app.fr/
Author: Naho
Description: Site de présentation Naho, entièrement éditable avec les blocs natifs de WordPress.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: naho-blocks
*/

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/plus-jakarta-sans-latin.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400 800;
}

:root {
  --naho-ink: #173a36;
  --naho-green: #164b46;
  --naho-pale: #e8f3ed;
  --naho-line: #dce8e2;
  --naho-muted: #52635f;
  --naho-clay: #b55a42;
}

html { scroll-behavior: smooth; }
body { background: #f9fbf9; color: var(--naho-ink); }
* { box-sizing: border-box; }
a { text-underline-offset: .2em; }
:is(a, button, input):focus-visible { outline: 3px solid #e88767; outline-offset: 3px; }

.naho-header { border-bottom: 1px solid var(--naho-line); }
.naho-header__inner { min-height: 86px; }
.naho-header .wp-block-site-logo img { border-radius: 12px; }
.naho-header .wp-block-site-title { letter-spacing: -.08em; }
.naho-header .wp-block-site-title a { text-decoration: none; }
.naho-header .wp-block-navigation a:hover,
.naho-footer a:hover { color: var(--naho-clay); }
.naho-header .wp-block-navigation-item.naho-nav-login a { border: 1px solid var(--naho-line); border-radius: 100px; padding: 9px 16px; }
.naho-header .wp-block-navigation-item.naho-nav-demo a { color: var(--naho-green); }

.naho-page-main { min-height: 60vh; }
.naho-section { padding-top: clamp(64px, 8vw, 105px); padding-bottom: clamp(64px, 8vw, 105px); }
.naho-section--compact { padding-top: 60px; padding-bottom: 60px; }
.naho-section--tint { background: #edf5ef; }
.naho-section--dark { background: var(--naho-green); color: #fff; }
.naho-section--dark p { color: #d9ede2; }
.naho-section--dark .naho-eyebrow { color: #a5debc; }
.naho-section--dark .wp-block-button__link { background: #fff; color: var(--naho-green); }
.naho-section--dark .wp-block-button__link:hover { background: #eef7ef; }
.naho-section--border { border-top: 1px solid var(--naho-line); }
.naho-eyebrow { color: #ad553e; font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.naho-display { max-width: 760px; font-size: clamp(2.7rem, 5vw, 5rem); letter-spacing: -.04em; line-height: 1.08; }
.naho-display em { color: var(--naho-clay); font-style: normal; }
.naho-heading { max-width: 850px; font-size: clamp(2.15rem, 3.4vw, 3.5rem); letter-spacing: -.035em; line-height: 1.15; }
.naho-lead { color: var(--naho-muted); font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.8; }
.naho-muted { color: var(--naho-muted); }
.naho-small { color: #697874; font-size: .8rem; }
.naho-hero { padding-top: clamp(65px, 8vw, 110px); padding-bottom: clamp(70px, 9vw, 120px); }
.naho-hero .wp-block-columns { align-items: center !important; gap: clamp(40px, 5vw, 76px); }
.naho-hero .wp-block-button__link,
.naho-section .wp-block-button__link { transition: transform .18s ease, background .18s ease; }
.naho-hero .wp-block-button__link:hover,
.naho-section .wp-block-button__link:hover { transform: translateY(-2px); }
.naho-hero .is-style-outline .wp-block-button__link { color: var(--naho-green); border-color: var(--naho-green); }

.naho-preview { border: 1px solid #d5e4dc; border-radius: 16px; background: #fff; box-shadow: 0 28px 70px #173a3623; overflow: hidden; transform: rotate(1deg); }
.naho-preview__top { border-bottom: 1px solid #e8eee9; padding: 14px 18px; }
.naho-preview__top p { font-size: .72rem; color: var(--naho-muted); }
.naho-preview__body { padding: clamp(20px, 3vw, 34px); }
.naho-preview__body .naho-eyebrow { font-size: .61rem; }
.naho-preview__body h3 { letter-spacing: -.05em; }
.naho-preview__stat { min-height: 96px; padding: 13px 10px; border: 1px solid var(--naho-line); border-radius: 9px; }
.naho-preview__stat strong { font-size: 1.25rem; }
.naho-preview__stat p { color: var(--naho-muted); font-size: .68rem; line-height: 1.3; }
.naho-preview__arrival { margin-top: 15px; padding: 18px; border-radius: 9px; background: #f8faf8; }
.naho-preview__arrival p { font-size: .75rem; }

.naho-card { height: 100%; padding: 27px; border: 1px solid var(--naho-line); border-radius: 15px; background: #fff; }
.naho-card h3 { letter-spacing: -.03em; }
.naho-card p { color: var(--naho-muted); font-size: .92rem; line-height: 1.7; }
.naho-card__icon { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 10px; background: var(--naho-pale); color: var(--naho-green); font-size: 1.25rem; font-weight: 800; }
.naho-step { border-left: 1px solid #b9d1c3; padding: 0 0 27px 28px; }
.naho-step:last-child { border-left-color: transparent; padding-bottom: 0; }
.naho-step strong { font-size: 1.08rem; }
.naho-step p { color: var(--naho-muted); font-size: .9rem; }
.naho-showcase { min-height: 260px; border: 1px solid var(--naho-line); border-radius: 16px; background: #f0f7f1; }
.naho-showcase .wp-block-site-title { font-size: clamp(2.8rem, 6vw, 5rem); letter-spacing: -.08em; }
.naho-showcase .wp-block-site-title a { text-decoration: none; }
.naho-footer { color: var(--naho-muted); font-size: .83rem; border-top: 1px solid var(--naho-line); }
.naho-footer .wp-block-site-title { color: var(--naho-ink); }
.naho-footer .wp-block-site-title a { text-decoration: none; }

@media (max-width: 900px) {
  .naho-header__inner { min-height: 74px; }
  .naho-hero .wp-block-columns { flex-wrap: wrap !important; }
  .naho-hero .wp-block-columns > .wp-block-column { flex-basis: 100% !important; }
}
@media (max-width: 640px) {
  .naho-header__inner { gap: 12px; }
  .naho-header .wp-block-site-title { font-size: 1.45rem; }
  .naho-preview { transform: none; }
  .naho-preview__stat { min-height: 80px; }
  .naho-preview__stat p { font-size: .62rem; }
  .naho-section { padding-top: 62px; padding-bottom: 62px; }
}
