/* ==========================================================================
   Raisonnances Humanistes — Institutional Landing Page
   ========================================================================== */

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Variables
   -------------------------------------------------------------------------- */

:root {
    --color-dark:     #0a0f1a;
    --color-gold:     #c8a96e;
    --color-offwhite:  #f8f7f4;
    --color-white:     #ffffff;

    --font-serif:  Georgia, 'Times New Roman', serif;
    --font-sans:   Arial, Helvetica, sans-serif;

    --text-body:   18px;
    --line-height: 1.8;

    --container-width: 680px;
    --section-padding: 80px 32px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

body {
    font-family: var(--font-serif);
    font-size: var(--text-body);
    line-height: var(--line-height);
    color: var(--color-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.container {
    max-width: 960px;
    margin: 0 auto;
}

.container--narrow {
    max-width: var(--container-width);
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Sections — shared
   -------------------------------------------------------------------------- */

.section {
    padding: var(--section-padding);
}

.section--light {
    background: var(--color-offwhite);
}

.section--dark {
    position: relative;
    overflow: hidden;
}

.section--dark::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(
        135deg,
        #0a0f1a 0%,
        #1a2d4a 25%,
        #0d1525 50%,
        #0a0f1a 75%,
        #1a2d4a 100%
    );
    background-size: 400% 400%;
    animation: ambient-gradient 18s ease infinite;
}

.section--dark > * {
    position: relative;
    z-index: 1;
}

@keyframes ambient-gradient {
    0%   { background-position: 0% 50%; }
    25%  { background-position: 50% 0%; }
    50%  { background-position: 100% 50%; }
    75%  { background-position: 50% 100%; }
    100% { background-position: 0% 50%; }
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */

.text-italic {
    font-style: italic;
}

/* --------------------------------------------------------------------------
   Logo
   -------------------------------------------------------------------------- */

.logo {
    margin: 0 auto;
}

.logo img {
    display: block;
    border-radius: 50%;
    object-fit: contain;
}

.logo--large {
    margin-bottom: 48px;
}

.logo--large img {
    width: 100% !important;
    height: 220px;
    border: none;
    margin: 0 auto;
}

.logo--small {
    margin-bottom: 20px;
}

.logo--small img {
    width: 42px;
    height: 42px;
    opacity: 0.6;
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Section label
   -------------------------------------------------------------------------- */

.section__label {
  color: var(--color-gold);
  font-family: var(--font-sans);
  font-size: 21px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.section--hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.site-title {
    color: var(--color-white);
    font-size: 54px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.site-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 21px;
    font-style: italic;
    font-weight: normal;
    letter-spacing: 0.3px;
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.section--about {
    text-align: center;
}

.section--about p {
    color: var(--color-dark);
}

/* --------------------------------------------------------------------------
   Model
   -------------------------------------------------------------------------- */

.model-block {
    padding-bottom: 28px;
    margin-bottom: 28px;
    border-bottom: 0.5px solid rgba(200, 169, 110, 0.3);
}

.model-block--last {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.model-block__title {
    color: var(--color-white);
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.model-block__text {
    color: rgba(255, 255, 255, 0.55);
    font-size: 17px;
    line-height: 1.8;
}

/* --------------------------------------------------------------------------
   Transversal
   -------------------------------------------------------------------------- */

.section--transversal {
    text-align: center;
}

/* --------------------------------------------------------------------------
   Founder
   -------------------------------------------------------------------------- */

.section--founder {
    border-top: 0.5px solid rgba(0, 0, 0, 0.08);
    padding-top: 48px;
}

.founder {
    display: flex;
    gap: 28px;
    align-items: center;
}

.founder__photo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: var(--color-dark);
    flex-shrink: 0;
    overflow: hidden;
}

.founder__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder__name {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.founder__role {
    font-size: 15px;
    color: #555;
    margin-bottom: 12px;
}

.founder__bio {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.section--footer {
    text-align: center;
}

.footer__email {
    font-size: 17px;
    margin-bottom: 32px;
}

.footer__email a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer__email a:hover {
    color: var(--color-gold);
}

.footer__copy {
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
}

/* --------------------------------------------------------------------------
   Mobile
   -------------------------------------------------------------------------- */

@media (max-width: 600px) {

    :root {
        --text-body: 16px;
        --section-padding: 60px 24px;
    }

    .section--hero {
        min-height: 70vh;
    }

    .site-title {
        font-size: 32px;
    }

    .site-tagline {
        font-size: 17px;
    }

    .logo--large img {
        width: 80px;
        height: 80px;
    }

    .logo--large {
        margin-bottom: 28px;
    }

    .founder {
        flex-direction: column;
        text-align: center;
    }

    .section--footer {
        padding: 60px 24px;
    }

    /* Static fallback on mobile */
    .section--dark::before {
        animation: none;
        background: var(--color-dark);
    }
}
