/* ==========================================================================
   Souffles et Shiatsu — Feuille de style autonome
   ========================================================================== */

:root {
    --iokai-black: #111111;
    --iokai-white: #ffffff;
    --iokai-red: #cc0000;
    --iokai-gray: #f5f5f5;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-400: #9ca3af;
    --gray-600: #4b5563;
    --gray-800: #1f2937;
    --green-50: #f0fdf4;
    --green-200: #bbf7d0;
    --green-700: #15803d;
    --red-50: #fef2f2;
    --red-200: #fecaca;
    --red-700: #b91c1c;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--iokai-white);
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background-color: var(--iokai-white);
    color: var(--iokai-black);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    justify-content: center;
    padding: 3rem 1rem;
}

::selection {
    background-color: var(--iokai-red);
    color: var(--iokai-white);
}

h1, h2, h3, h4, p, ul {
    margin: 0;
}

ul {
    padding: 0;
    list-style: none;
}

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

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    color: inherit;
}

/* Conteneur principal */
.site-container {
    width: 100%;
    max-width: 48rem;
    overflow: hidden;
    position: relative;
}

/* En-tête / Logo */
.site-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 20;
}

.header-box-wrap {
    width: 100%;
    padding: 0 2rem;
}

.header-kanji {
    width: 100%;
    background-color: var(--iokai-red);
    color: var(--iokai-white);
    padding: 3rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 3.75rem;
    line-height: 1;
    font-weight: 700;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.header-title-wrap {
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 100%;
    padding: 2rem;
    border-bottom: 1px solid var(--gray-50);
}

.header-name {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    line-height: 2rem;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: var(--iokai-black);
}

.dot-red {
    color: var(--iokai-red);
}

.header-subtitle {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gray-400);
    font-weight: 600;
    margin-top: 0.75rem;
}

.header-city {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gray-400);
    font-weight: 600;
    margin-top: 0.25rem;
}

/* Hero */
.hero-section {
    margin-bottom: 3rem;
    padding: 0 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.portrait-frame {
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    background-color: var(--iokai-white);
    z-index: 10;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.portrait-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    opacity: 0.9;
    transition: filter 0.7s ease, opacity 0.7s ease;
}

.portrait-frame:hover .portrait-img {
    filter: grayscale(0%);
}

.photo-credit {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-sans);
    letter-spacing: 0.05em;
    z-index: 20;
    mix-blend-mode: difference;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    line-height: 1.25;
    font-weight: 400;
}

.hero-title-accent {
    font-style: italic;
    color: var(--gray-400);
}

.hero-lead {
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.625;
    color: var(--gray-600);
    width: 100%;
}

/* Sections de contenu */
.content-section {
    padding: 4rem 2rem;
    background-color: var(--iokai-white);
    color: var(--iokai-black);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.section-bordered {
    border-top: 1px solid var(--gray-50);
}

.section-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 400;
}

.red-rule {
    width: 2rem;
    height: 1px;
    background-color: var(--iokai-red);
}

.section-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    font-weight: 300;
    line-height: 1.625;
    color: var(--gray-600);
    font-size: 0.875rem;
}

.section-body--compact {
    gap: 1rem;
}

.pillars-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.strong-dark {
    color: var(--iokai-black);
    font-weight: 500;
}

/* Tarifs */
.pricing-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem;
    border: 1px solid var(--gray-100);
    border-radius: 0.125rem;
}

.pricing-title {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: var(--iokai-black);
    font-weight: 400;
    margin-bottom: 0.25rem;
}

.pricing-subtitle {
    color: var(--gray-400);
    font-size: 0.875rem;
}

.pricing-amount {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    line-height: 2rem;
    color: var(--iokai-red);
    margin-top: 1rem;
}

.pricing-unit {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    color: var(--gray-400);
    font-weight: 300;
}

.pricing-note {
    font-size: 0.875rem;
}

.circular-exchange {
    padding-top: 1rem;
}

.circular-title {
    color: var(--iokai-black);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Témoignages */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--gray-50);
    border-radius: 0.125rem;
}

.testimonial-stars {
    display: flex;
    color: var(--iokai-red);
    font-size: 0.75rem;
}

.testimonial-quote {
    color: var(--gray-600);
    font-weight: 300;
    font-size: 0.875rem;
    font-style: italic;
}

.testimonial-author {
    font-size: 0.75rem;
    color: var(--gray-400);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Contact & Formulaire */
.contact-section {
    padding: 4rem 2rem;
    background-color: var(--iokai-white);
    border-top: 1px solid var(--gray-50);
}

.contact-inner {
    max-width: 36rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-address {
    color: var(--gray-600);
    font-weight: 300;
    font-size: 0.875rem;
}

.alert {
    padding: 1rem;
    border-radius: 0.125rem;
    font-size: 0.875rem;
    text-align: center;
}

.alert-success {
    background-color: var(--green-50);
    border: 1px solid var(--green-200);
    color: var(--green-700);
}

.alert-error {
    background-color: var(--red-50);
    border: 1px solid var(--red-200);
    color: var(--red-700);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-400);
    font-weight: 600;
}

.form-control {
    width: 100%;
    border: none;
    border-bottom: 1px solid var(--gray-200);
    padding: 0.5rem 0;
    background-color: transparent;
    font-size: 0.875rem;
    transition: border-color 0.2s ease;
    border-radius: 0;
}

.form-control:focus {
    outline: none;
    border-bottom-color: var(--iokai-black);
}

.form-select {
    color: var(--gray-600);
}

.form-textarea {
    resize: none;
}

/* Champ honeypot masqué hors-écran */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Case RGPD */
.rgpd-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding-top: 0.25rem;
}

.rgpd-checkbox {
    margin-top: 0.2rem;
    flex-shrink: 0;
    accent-color: var(--iokai-red);
    cursor: pointer;
}

.rgpd-label {
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--gray-600);
    font-weight: 300;
    cursor: pointer;
}

.rgpd-link {
    text-decoration: underline;
    color: var(--iokai-black);
}

.rgpd-link:hover {
    color: var(--iokai-red);
}

.submit-btn {
    width: 100%;
    background-color: var(--iokai-black);
    color: var(--iokai-white);
    font-family: var(--font-serif);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.75rem;
    padding: 1rem 0;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--iokai-red);
}

/* Pied de page & Mentions légales */
.site-footer {
    padding: 2rem 2rem 3rem;
    text-align: center;
    font-size: 0.75rem;
    color: var(--gray-400);
    border-top: 1px solid var(--gray-50);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.legal-details {
    max-width: 36rem;
    margin: 0 auto;
    width: 100%;
}

.legal-summary {
    cursor: pointer;
    color: var(--gray-400);
    text-decoration: underline;
    text-underline-offset: 3px;
    list-style: none;
    display: inline-block;
}

.legal-summary::-webkit-details-marker {
    display: none;
}

.legal-summary:hover {
    color: var(--iokai-black);
}

.legal-content {
    margin-top: 1.25rem;
    padding: 1.5rem;
    background-color: var(--gray-50);
    border-radius: 0.125rem;
    text-align: left;
    color: var(--gray-600);
    font-weight: 300;
    line-height: 1.625;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.legal-content strong {
    color: var(--iokai-black);
    font-weight: 500;
}

/* Bouton flottant de prise de RDV & Téléphone */
.sticky-cta-group {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.sticky-cta {
    background-color: var(--iokai-red);
    color: var(--iokai-white);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    border-radius: 9999px;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-serif);
    font-size: 0.875rem;
    letter-spacing: 0.025em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid transparent;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.sticky-cta:hover {
    background-color: var(--iokai-black);
    border-color: var(--gray-800);
}

.sticky-cta--phone {
    background-color: var(--iokai-white);
    color: var(--iokai-black);
    border-color: var(--gray-200);
}

.sticky-cta--phone:hover {
    background-color: var(--iokai-black);
    color: var(--iokai-white);
    border-color: var(--iokai-black);
}

/* ==========================================================================
   Responsive (>= 768px)
   ========================================================================== */
@media (min-width: 768px) {
    body {
        padding: 3rem 2rem;
    }

    .header-box-wrap {
        padding: 0 4rem;
    }

    .header-kanji {
        padding: 4rem 0;
        font-size: 6rem;
        line-height: 1;
    }

    .header-title-wrap {
        padding: 3rem 4rem;
    }

    .header-name {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }

    .header-subtitle,
    .header-city {
        font-size: 0.75rem;
        line-height: 1rem;
    }

    .hero-section {
        padding: 0 4rem;
    }

    .photo-credit {
        bottom: 0.75rem;
        right: 0.75rem;
        font-size: 0.75rem;
    }

    .hero-title {
        font-size: 3rem;
        line-height: 1.25;
    }

    .content-section,
    .contact-section {
        padding: 4rem;
    }

    .section-body {
        font-size: 1rem;
        line-height: 1.625;
    }

    .pricing-card {
        flex-direction: row;
        align-items: center;
    }

    .pricing-amount {
        margin-top: 0;
    }

    .testimonials-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .sticky-cta-group {
        bottom: 2rem;
        right: 2rem;
    }
}
