
/* Home only: fond plage + vagues inspire du Figma 75:1139 */

.home-page {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: visible;
    isolation: isolate;
    background: var(--theme-03);
}

.home-content {
    position: relative;
    z-index: 2;
}

.home-content .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--nav-height, 0px));
    min-height: calc(100dvh - var(--nav-height, 0px));
    width: 100%;
    padding: 0 1rem 2rem;
    gap: clamp(0.8rem, 2vh, 1.6rem);
}

.home-hero-logo {
    width: clamp(240px, 44vw, 640px);
    max-width: 88vw;
    max-height: min(46vh, 420px);
    height: auto;
    object-fit: contain;
    margin-inline: auto;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem;
}

.bubble-layer {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.bubble-dot {
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
    will-change: transform, opacity;
}

.home-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: visible;
}

.home-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 1512 / 1136;
    max-width: none;
    display: block;
}




/* contenu */

main  {

    /* on centre le contenu */
    margin-inline: auto;
    max-width: 1200px;
    padding: 20vh 10vw;
    text-align: center;
}

.story-title-wrap {
    position: relative;
    display: inline-block;
    z-index: 2;
}

.story-title-wrap h2 {
    margin: 0;
}

.story-title-tiki {
    position: absolute;
    top: -18px;
    right: -192px;
    width: 272px;
    height: auto;
    transform: rotate(16deg);
    animation: tiki-float 2.8s ease-in-out infinite;
    z-index: -1;

}

.story-video-frame {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 960px;
    aspect-ratio: 16 / 9;
    margin: 28px auto 0;
    border: 4px solid var(--theme-09);
    border-radius: 26px;
    overflow: visible;
    box-sizing: border-box;
    background: var(--theme-10);
    box-shadow: 0 0 0 3px rgba(244, 231, 185, 0.92), 0 16px 36px rgba(19, 83, 100, 0.26);
}

.story-video-media {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.story-video-frame iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.story-video-flower {
    position: absolute;
    left: -28px;
    bottom: -34px;
    width: 132px;
    height: auto;
    transform: rotate(-12deg);
    z-index: 3;
    pointer-events: none;
}

@keyframes tiki-float {
    0% {
        transform: rotate(16deg) translateY(0);
    }
    50% {
        transform: rotate(12deg) translateY(-8px);
    }
    100% {
        transform: rotate(16deg) translateY(0);
    }
}












@media (max-width: 1300px) {
    .home-content .hero {
        padding-bottom: 1.25rem;
    }

    .home-hero-logo {
        width: clamp(220px, 72vw, 480px);
        max-height: 36vh;
    }

    .home-background {
        overflow-x: hidden;
        overflow-y: visible;
    }

    .home-bg-image {
        left: 50%;
        width: 1300px;
        min-width: 1300px;
        height: auto;
        transform: translateX(-50%);
    }

    .hero-actions {
        gap: 0.65rem;
    }

    .bouton {
        min-width: 138px;
        padding: 0.55rem 1rem;
    }

    .story-title-tiki {
        width: 258px;
        right: -70px;
        top: -212px;
    }

    .story-video-frame {
        width: 100%;
        max-width: 820px;
        border-width: 3px;
        border-radius: 18px;
    }

    .story-video-flower {
        width: 98px;
        left: -18px;
        bottom: -22px;
    }
}

@media (min-width: 1700px) {
    .home-bg-image {
        width: 100%;
        height: auto;
    }
}

.partners-section {
    margin-top: clamp(2.5rem, 6vw, 5rem);
    width: min(1700px, 96vw);
    margin-left: 50%;
    transform: translateX(-50%);
}

.partners-intro {
    margin: 0.65rem auto 0;
    max-width: 58ch;
    color: var(--theme-01);
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.45;
}

.partners-grid {
    margin-top: clamp(1.25rem, 3vw, 2rem);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: clamp(0.8rem, 1.8vw, 1.4rem);
    width: 100%;
    max-width: none;
    margin-inline: 0;
}

.partner-card {
    flex: 0 1 clamp(150px, 10vw, 210px);
    max-width: 210px;
    min-height: clamp(110px, 9vw, 150px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    background: transparent;
    border: 0;
    box-shadow: none;
    transition: transform 180ms ease;
}

.partner-card:hover {
    transform: translateY(-3px);
}

.partner-card img {
    max-width: 100%;
    max-height: clamp(96px, 8vw, 140px);
    object-fit: contain;
    display: block;
}

@media (max-width: 1100px) {
    .partner-card {
        flex-basis: clamp(180px, 22vw, 240px);
        max-width: 240px;
        min-height: 130px;
    }

    .partner-card img {
        max-height: clamp(102px, 10vw, 145px);
    }
}

@media (max-width: 520px) {
    .partners-grid {
        gap: 0.9rem;
    }

    .partner-card {
        flex: 1 1 min(48vw, 220px);
        max-width: 230px;
        min-height: 130px;
    }
}

.standard-section {
    width: min(1700px, 96vw);
    margin: clamp(1.4rem, 3.6vw, 2.6rem) auto;
    margin-left: 50%;
    transform: translateX(-50%);
    color: var(--theme);
    font-family: 'TikiTropic', sans-serif;
    text-align: center;
}

.standard-section > * {
    margin-left: auto;
    margin-right: auto;
}

.standard-layout {
    display: grid;
    grid-template-columns: minmax(280px, 44%) minmax(340px, 56%);
    gap: clamp(1rem, 2.4vw, 2rem);
    align-items: center;
}

.standard-copy h2 {
    margin: 0;
    text-align: center;
}

.standard-copy {
    display: grid;
    justify-items: center;
}

.standard-text {
    margin: 0.65rem 0 0;
    text-align: center;
    line-height: 1.5;
}

.standard-list {
    margin: 0.9rem 0 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.45rem;
}

.standard-list li {
    text-align: center;
    line-height: 1.4;
}

.standard-phone {
    justify-self: center;
    margin-inline: auto;
    width: max-content;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--theme);
    font-weight: 900;
    font-size: clamp(2rem, 5.4vw, 4.4rem);
    line-height: 1;
    transform: none;
}

.standard-phone-icon {
    font-size: 0.8em;
}

.standard-phone-number {
    font-family: 'TikiTropicBold', 'TikiTropic', sans-serif;
    letter-spacing: 0.02em;
}

.standard-phone:hover {
    color: #329684;
}

@media (max-width: 900px) {
    .standard-layout {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .standard-phone {
        justify-self: center;
        transform: none;
        font-size: clamp(1.7rem, 8vw, 3rem);
    }

    .standard-copy h2,
    .standard-text,
    .standard-list,
    .standard-list li {
        text-align: center;
    }

    .standard-list {
        padding-left: 0;
        list-style-position: inside;
    }
}

@media (max-width: 520px) {
    .standard-list li {
        font-size: 0.95rem;
    }
}