@import url('variables.css');
@import url('buttons.css');
@import url('forms.css');

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 8% 0%, rgba(122, 79, 44, 0.08), transparent 30vw),
        radial-gradient(circle at 94% 14%, rgba(23, 55, 95, 0.10), transparent 34vw),
        linear-gradient(180deg, #f7f4ee 0%, var(--bg-primary) 42%, #f4f0e8 100%);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: var(--font-size-base);
    line-height: 1.72;
    -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

h1,
h2,
h3 {
    color: var(--text-primary);
    font-family: var(--font-display);
    letter-spacing: 0;
    line-height: 1.01;
    margin: 0;
}

h1 {
    font-size: var(--h1-size);
    font-weight: 780;
    max-width: 1040px;
}

h2 {
    font-size: var(--h2-size);
    font-weight: 730;
    max-width: 1080px;
}

h3 {
    font-size: var(--h3-size);
    font-weight: 720;
}

p {
    color: var(--text-secondary);
    margin: 0;
}

a {
    color: inherit;
}

.container {
    width: calc(100% - clamp(28px, 6vw, 112px));
    margin: 0 auto;
}

.section {
    padding: clamp(86px, 11vw, 154px) 0;
}

.tinted {
    background: transparent;
}

.tinted .container {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(242, 239, 232, 0.7)),
        radial-gradient(circle at 86% 12%, rgba(23, 55, 95, 0.08), transparent 28vw);
    border: 1px solid rgba(222, 216, 204, 0.72);
    border-radius: 32px;
    padding: clamp(34px, 5vw, 76px);
}

.dark-band {
    background: transparent;
    color: var(--text-inverse);
}

.dark-band .container {
    background:
        radial-gradient(circle at 78% 0%, rgba(122, 79, 44, 0.28), transparent 28vw),
        linear-gradient(135deg, var(--bg-ink), #10294b);
    border-radius: 32px;
    padding: clamp(34px, 5vw, 76px);
    box-shadow: 0 28px 90px rgba(6, 23, 45, 0.14);
}

.dark-band h2,
.dark-band h3,
.dark-band p {
    color: var(--text-inverse);
}

.dark-band p {
    opacity: 0.78;
}

.section-kicker {
    color: var(--accent-warm);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    margin-bottom: var(--space-3);
    text-transform: uppercase;
}

.section-head {
    display: grid;
    gap: var(--space-4);
    margin-bottom: clamp(56px, 8vw, 104px);
    max-width: 1080px;
}

.section-head p {
    font-size: clamp(1.14rem, 1.35vw, 1.32rem);
    max-width: 760px;
}

.section-head.narrow {
    max-width: 980px;
}

.split-grid,
.hero-grid,
.format-grid,
.apply-grid,
.footer-grid {
    display: grid;
    gap: clamp(48px, 7vw, 128px);
}

.split-grid,
.format-grid,
.apply-grid {
    align-items: start;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.text-stack {
    display: grid;
    gap: var(--space-4);
}

.text-stack p {
    font-size: clamp(1.18rem, 1.42vw, 1.4rem);
    max-width: 820px;
}

blockquote {
    border-left: 3px solid var(--accent-warm);
    color: var(--accent);
    font-size: clamp(1.45rem, 2.3vw, 2.25rem);
    font-weight: 800;
    line-height: 1.28;
    margin: var(--space-2) 0 0;
    padding: var(--space-2) 0 var(--space-2) var(--space-3);
}

.text-plaque {
    background: rgba(252, 251, 248, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 18px;
    box-shadow: 0 28px 95px rgba(6, 23, 45, 0.16);
    padding: clamp(28px, 4.5vw, 72px);
    backdrop-filter: blur(18px);
}

.hero .text-plaque {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    backdrop-filter: none;
}

.header-bar {
    background: rgba(252, 251, 248, 0.88);
    border-bottom: 1px solid rgba(222, 216, 204, 0.8);
    backdrop-filter: blur(18px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    align-items: center;
    display: flex;
    gap: var(--space-3);
    justify-content: space-between;
    min-height: 76px;
}

.logo-button {
    background: transparent;
    border: 0;
    color: var(--accent);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    padding: 0;
    text-transform: uppercase;
}

.main-nav,
.header-actions,
.language-switch {
    align-items: center;
    display: flex;
}

.main-nav {
    gap: var(--space-3);
}

.main-nav a,
.footer-nav a {
    color: var(--text-secondary);
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
}

.main-nav a:hover,
.footer-nav a:hover {
    color: var(--accent);
}

.header-actions {
    gap: var(--space-2);
}

.language-switch {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px;
}

.language-switch button {
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 900;
    min-width: 34px;
    padding: 6px 8px;
}

.language-switch button.is-active {
    background: var(--accent);
    color: var(--text-inverse);
}

.hero {
    isolation: isolate;
    min-height: calc(100vh - 76px);
    overflow: hidden;
    padding: clamp(38px, 5vw, 72px) 0 clamp(58px, 8vw, 104px);
    position: relative;
}

.hero::before {
    background:
        radial-gradient(circle at 18% 18%, rgba(122, 79, 44, 0.10), transparent 22vw),
        radial-gradient(circle at 80% 20%, rgba(23, 55, 95, 0.12), transparent 26vw);
    content: "";
    inset: 0;
    position: absolute;
    z-index: -1;
}

.hero::after {
    background: rgba(6, 23, 45, 0.12);
    bottom: 0;
    content: "";
    height: 1px;
    left: 0;
    position: absolute;
    right: 0;
}

.hero-grid {
    align-items: center;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(246, 243, 237, 0.76)),
        radial-gradient(circle at 82% 16%, rgba(23, 55, 95, 0.16), transparent 24vw);
    border: 1px solid rgba(222, 216, 204, 0.72);
    border-radius: 36px;
    box-shadow: 0 32px 100px rgba(6, 23, 45, 0.12);
    gap: clamp(24px, 4vw, 72px);
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
    min-height: min(760px, calc(100vh - 150px));
    overflow: hidden;
    padding: clamp(28px, 5vw, 76px) clamp(24px, 5vw, 76px);
    position: relative;
}

.hero-copy {
    display: grid;
    gap: var(--space-3);
    max-width: 920px;
}

.hero-lead {
    color: var(--text-primary);
    font-size: clamp(1.3rem, 2vw, 1.75rem);
    font-weight: 520;
    max-width: 760px;
}

.hero-badge {
    color: var(--accent-warm);
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 2.55vw, 2.55rem);
    font-weight: 760;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: var(--space-1);
}

.hero-note {
    font-size: clamp(1.02rem, 1.2vw, 1.18rem);
    max-width: 760px;
}

.hero-meta {
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-top: var(--space-2);
    padding-top: var(--space-3);
}

.hero-meta span {
    align-items: center;
    color: var(--accent);
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 900;
    gap: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-portrait {
    align-self: end;
    background:
        radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.92), rgba(214, 205, 192, 0.45) 54%, rgba(23, 55, 95, 0.10));
    border-radius: 28px;
    margin: 0;
    min-height: 560px;
    overflow: hidden;
    position: relative;
}

.hero-portrait::before {
    border: 1px solid rgba(23, 55, 95, 0.16);
    border-radius: 999px;
    content: "";
    height: 78%;
    left: 10%;
    position: absolute;
    top: 11%;
    width: 82%;
}

.hero-portrait img {
    filter: saturate(0.94) contrast(1.02);
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    position: absolute;
    width: 100%;
    z-index: 1;
}

.what-grid {
    align-items: start;
    display: grid;
    gap: clamp(40px, 6vw, 96px);
    grid-template-columns: 0.78fr 1.22fr;
}

.statement-panel {
    background: var(--bg-ink);
    border-radius: var(--radius-md);
    color: var(--text-inverse);
    display: grid;
    gap: var(--space-3);
    padding: clamp(34px, 5vw, 64px);
}

.statement-panel p,
.statement-panel strong {
    color: var(--text-inverse);
}

.statement-panel strong {
    font-size: clamp(1.55rem, 2.4vw, 2.25rem);
    line-height: 1.24;
}

.check-grid,
.signal-list,
.format-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.check-grid {
    display: grid;
    gap: 0 var(--space-5);
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.check-grid li,
.signal-list li,
.format-list li {
    border-top: 1px solid var(--border);
    color: var(--text-primary);
    font-weight: 750;
    padding: var(--space-3) 0;
}

.check-grid li::before,
.signal-list li::before,
.format-list li::before {
    color: var(--accent-warm);
    content: "-";
    font-weight: 900;
    margin-right: var(--space-1);
}

.signal-list li,
.format-list li {
    border-color: rgba(255, 255, 255, 0.18);
    color: var(--text-inverse);
}

.audience-grid,
.results-grid {
    display: grid;
    gap: clamp(18px, 2vw, 34px);
    grid-template-columns: repeat(4, minmax(220px, 1fr));
}

.audience-card,
.result-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    min-height: 320px;
    padding: clamp(28px, 3vw, 46px);
}

.audience-card span,
.result-card span,
.process-list span {
    color: var(--accent-warm);
    display: block;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-3);
}

.audience-card .picto,
.result-card .picto {
    margin-bottom: var(--space-5);
}

.audience-card h3,
.result-card h3,
.process-list h3 {
    margin-bottom: var(--space-2);
}

.process-list {
    display: grid;
    gap: 0;
}

.process-list article {
    border-top: 1px solid var(--border);
    display: grid;
    gap: clamp(24px, 4vw, 64px);
    grid-template-columns: 104px minmax(260px, 0.55fr) 1fr;
    padding: clamp(34px, 4vw, 56px) 0;
}

.process-list span {
    align-items: center;
    display: flex;
    gap: 12px;
}

.visual-section {
    padding: clamp(58px, 8vw, 128px) 0;
}

.visual-grid {
    align-items: center;
    background:
        radial-gradient(circle at 16% 18%, rgba(23, 55, 95, 0.10), transparent 24vw),
        linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(242, 239, 232, 0.78));
    border: 1px solid rgba(222, 216, 204, 0.72);
    border-radius: 34px;
    display: grid;
    gap: clamp(28px, 5vw, 86px);
    grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.1fr);
    min-height: 620px;
    overflow: hidden;
    padding: clamp(24px, 4vw, 60px);
}

.visual-grid-reverse {
    grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.76fr);
}

.visual-media {
    align-self: stretch;
    background:
        radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.96), rgba(214, 205, 192, 0.44) 58%, rgba(23, 55, 95, 0.10));
    border-radius: 28px;
    margin: 0;
    min-height: 560px;
    overflow: hidden;
    position: relative;
}

.visual-media img {
    filter: saturate(0.94) contrast(1.02);
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    position: absolute;
    width: 100%;
}

.portrait-media {
    min-height: 620px;
}

.visual-panel {
    background: rgba(252, 251, 248, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 24px;
    box-shadow: 0 24px 80px rgba(6, 23, 45, 0.10);
    display: grid;
    gap: var(--space-3);
    max-width: 780px;
    padding: clamp(30px, 4vw, 64px);
    backdrop-filter: blur(16px);
}

.format-grid,
.apply-grid {
    align-items: center;
}

.apply-copy {
    display: grid;
    gap: var(--space-3);
}

.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: var(--space-6) 0 var(--space-4);
}

.footer-grid {
    grid-template-columns: 1fr auto;
}

.footer-logo {
    color: var(--accent);
    font-weight: 900;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-2);
    text-transform: uppercase;
}

.footer-nav {
    display: grid;
    gap: var(--space-1);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    display: flex;
    font-size: 0.8rem;
    gap: var(--space-3);
    justify-content: space-between;
    margin-top: var(--space-4);
    padding-top: var(--space-3);
}

.thanks-page {
    min-height: 80vh;
}

.thanks-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: var(--space-3);
    max-width: 820px;
    padding: clamp(32px, 6vw, 64px);
}

.thanks-panel strong {
    color: var(--accent);
    font-size: 1.2rem;
}

.thanks-panel .btn {
    justify-self: start;
    margin-top: var(--space-2);
}

.picto {
    border: 1.5px solid currentColor;
    border-radius: 10px;
    color: var(--accent);
    display: inline-block;
    flex: 0 0 auto;
    height: 38px;
    position: relative;
    width: 38px;
}

.picto::before,
.picto::after {
    content: "";
    position: absolute;
}

.picto-focus::before,
.picto-lens::before {
    border: 1.5px solid currentColor;
    border-radius: 50%;
    height: 13px;
    left: 9px;
    top: 8px;
    width: 13px;
}

.picto-focus::after,
.picto-lens::after {
    background: currentColor;
    height: 2px;
    left: 21px;
    top: 23px;
    transform: rotate(45deg);
    width: 9px;
}

.picto-human::before {
    border: 1.5px solid currentColor;
    border-radius: 50%;
    height: 9px;
    left: 13px;
    top: 8px;
    width: 9px;
}

.picto-human::after {
    border: 1.5px solid currentColor;
    border-bottom: 0;
    border-radius: 12px 12px 0 0;
    height: 11px;
    left: 9px;
    top: 22px;
    width: 17px;
}

.picto-lock::before {
    border: 1.5px solid currentColor;
    border-bottom: 0;
    border-radius: 10px 10px 0 0;
    height: 12px;
    left: 11px;
    top: 7px;
    width: 14px;
}

.picto-lock::after {
    background: currentColor;
    border-radius: 2px;
    height: 10px;
    left: 10px;
    top: 20px;
    width: 16px;
}

.picto-growth::before {
    border-left: 2px solid currentColor;
    border-top: 2px solid currentColor;
    height: 14px;
    left: 11px;
    top: 16px;
    transform: rotate(45deg);
    width: 14px;
}

.picto-growth::after {
    background: currentColor;
    height: 2px;
    left: 10px;
    top: 25px;
    width: 20px;
}

.picto-control::before {
    border: 1.5px solid currentColor;
    border-radius: 50%;
    height: 18px;
    left: 9px;
    top: 9px;
    width: 18px;
}

.picto-control::after {
    background: currentColor;
    border-radius: 50%;
    height: 6px;
    left: 16px;
    top: 16px;
    width: 6px;
}

.picto-shift::before {
    border-right: 2px solid currentColor;
    border-top: 2px solid currentColor;
    height: 12px;
    left: 9px;
    top: 10px;
    width: 18px;
}

.picto-shift::after {
    border-bottom: 2px solid currentColor;
    border-left: 2px solid currentColor;
    height: 12px;
    left: 9px;
    top: 16px;
    width: 18px;
}

.picto-map::before {
    border: 1.5px solid currentColor;
    height: 18px;
    left: 9px;
    top: 9px;
    transform: rotate(45deg);
    width: 18px;
}

.picto-map::after {
    background: currentColor;
    border-radius: 50%;
    height: 6px;
    left: 16px;
    top: 16px;
    width: 6px;
}

.picto-cause::before {
    background: currentColor;
    height: 2px;
    left: 9px;
    top: 18px;
    transform: rotate(-35deg);
    width: 20px;
}

.picto-cause::after {
    border: 1.5px solid currentColor;
    border-radius: 50%;
    height: 18px;
    left: 9px;
    top: 9px;
    width: 18px;
}

.picto-balance::before {
    background: currentColor;
    height: 20px;
    left: 17px;
    top: 8px;
    width: 2px;
}

.picto-balance::after {
    border-bottom: 2px solid currentColor;
    border-left: 2px solid currentColor;
    border-right: 2px solid currentColor;
    height: 10px;
    left: 8px;
    top: 15px;
    width: 20px;
}

@media (max-width: 980px) {
    .main-nav {
        display: none;
    }

    .hero-grid,
    .split-grid,
    .what-grid,
    .format-grid,
    .apply-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .hero-grid {
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .hero-copy {
        max-width: 100%;
    }

    .hero-portrait,
    .visual-media,
    .portrait-media {
        min-height: 520px;
    }

    .visual-grid,
    .visual-grid-reverse {
        grid-template-columns: 1fr;
    }

    .audience-grid,
    .results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-list article {
        grid-template-columns: 72px 1fr;
    }

    .process-list article p {
        grid-column: 2;
    }
}

@media (max-width: 640px) {
    .container {
        width: calc(100% - 24px);
    }

    .header-inner {
        min-height: 64px;
    }

    .logo-button {
        font-size: 0.74rem;
        max-width: 132px;
        text-align: left;
    }

    .header-cta {
        display: none;
    }

    .hero-actions,
    .footer-bottom {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .text-plaque,
    .visual-panel {
        border-radius: 14px;
    }

    .check-grid,
    .audience-grid,
    .results-grid {
        grid-template-columns: 1fr;
    }

    .audience-card,
    .result-card {
        min-height: auto;
    }

    .process-list article {
        grid-template-columns: 1fr;
    }

    .process-list article p {
        grid-column: auto;
    }
}
