/* Fama showcase: orange + white system */

:root {
    --fama-orange: #fb5607;
    --fama-orange-2: #ff7a2f;
    --fama-ink: #151515;
    --fama-text: #555f68;
    --fama-line: rgba(21, 21, 21, 0.1);
    --fama-soft: #fff7f2;
    --fama-white: #ffffff;
    --fama-shadow: 0 22px 60px rgba(251, 86, 7, 0.16);
}

body {
    background: var(--fama-white);
}

body header {
    position: fixed;
    top: 14px;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 0;
    background: transparent !important;
    box-shadow: none !important;
}

body header > .container {
    max-width: min(1220px, calc(100% - 32px));
}

body header .header-wrapper {
    min-height: 78px;
    padding: 10px 14px 10px 18px;
    border: 1px solid rgba(251, 86, 7, 0.18);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 46px rgba(21, 21, 21, 0.09);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    gap: 12px;
}

body .header-wrapper .logo {
    width: 168px;
    min-width: 138px;
}

body .header-wrapper .logo img {
    max-height: 52px;
    object-fit: contain;
}

body .header-wrapper .menu {
    gap: 4px;
    margin: 0;
}

body .header-wrapper .menu li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #3e4145;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

body .header-wrapper .menu li a svg {
    display: none;
}

body .header-wrapper .menu li a.active,
body .header-wrapper .menu li a:hover {
    color: var(--fama-orange);
    background: rgba(251, 86, 7, 0.1);
}

body .header-wrapper .dropdown--btn.header--btn {
    min-height: 40px;
    padding: 8px 11px !important;
    border-radius: 999px;
    color: var(--fama-ink) !important;
    background: var(--fama-soft);
    font-weight: 900;
}

body .fama-header-download,
body .header-wrapper .dropdown--btn.btn-base {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 10px 16px;
    border-radius: 999px;
    color: #fff !important;
    background: linear-gradient(135deg, var(--fama-orange), var(--fama-orange-2));
    box-shadow: var(--fama-shadow);
    font-size: 14px;
    font-weight: 900;
    text-decoration: none !important;
    white-space: nowrap;
}

body .header-wrapper .dropdown--btn.btn-base::before,
body .header-wrapper .dropdown--btn.btn-base::after {
    border-radius: 999px;
    background: linear-gradient(135deg, var(--fama-orange), var(--fama-orange-2));
}

body .dropdown-list {
    overflow: hidden;
    border: 1px solid rgba(251, 86, 7, 0.14);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(21, 21, 21, 0.13);
}

.fama-site {
    color: var(--fama-ink);
    background: var(--fama-white);
    overflow: hidden;
}

.fama-reveal {
    animation: fama-rise 0.9s ease both;
}

.fama-delay-1 {
    animation-delay: 0.12s;
}

.fama-delay-2 {
    animation-delay: 0.24s;
}

@keyframes fama-rise {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fama-hero {
    min-height: 100vh;
    padding: 170px 0 86px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 76% 22%, rgba(251, 86, 7, 0.14), transparent 28%),
        linear-gradient(180deg, #fffaf7 0%, #fff 82%);
}

.fama-hero__grid,
.fama-split {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
    gap: 56px;
    align-items: center;
}

.fama-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    padding: 9px 13px;
    border-radius: 999px;
    background: var(--fama-soft);
    color: var(--fama-orange);
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
}

.fama-hero h1,
.fama-page-hero h1 {
    margin: 20px 0 18px;
    color: var(--fama-ink);
    font-size: clamp(48px, 7vw, 96px);
    line-height: 0.94;
    font-weight: 950;
    letter-spacing: 0;
}

.fama-hero__lead,
.fama-page-hero p,
.fama-section-head p,
.fama-card p,
.fama-step p,
.fama-policy-content,
.fama-contact-card p {
    color: var(--fama-text);
    font-size: 17px;
    line-height: 1.75;
}

.fama-hero__lead {
    max-width: 630px;
    margin-bottom: 28px;
    font-size: 20px;
}

.fama-actions,
.fama-store-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.fama-store-link,
.fama-store-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 60px;
    padding: 12px 18px;
    border-radius: 15px;
    color: #fff !important;
    background: #171717;
    text-decoration: none !important;
    box-shadow: 0 18px 42px rgba(21, 21, 21, 0.16);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fama-store-link:hover,
.fama-store-badge:hover {
    transform: translateY(-2px);
    color: #fff !important;
}

.fama-store-link--play,
.fama-store-badge--google {
    background: linear-gradient(135deg, var(--fama-orange), var(--fama-orange-2));
}

.fama-store-link i,
.fama-store-badge__icon {
    width: 29px;
    min-width: 29px;
    font-size: 27px;
}

.fama-store-badge__icon svg {
    width: 29px;
    height: 29px;
}

.fama-store-link span,
.fama-store-badge__text {
    display: flex;
    flex-direction: column;
    line-height: 1.08;
}

.fama-store-link small,
.fama-store-badge__text small,
.fama-store-link strong,
.fama-store-badge__text strong {
    color: #fff !important;
}

.fama-store-link small,
.fama-store-badge__text small {
    font-size: 11px;
    font-weight: 750;
    text-transform: uppercase;
}

.fama-store-link strong,
.fama-store-badge__text strong {
    font-size: 16px;
    font-weight: 950;
}

.fama-store-badges.sm .fama-store-badge {
    min-height: 50px;
    padding: 9px 12px;
}

.fama-hero__visual {
    display: grid;
    place-items: center;
}

.fama-phone-stage {
    position: relative;
    min-height: 560px;
    width: min(100%, 470px);
    display: grid;
    place-items: center;
}

.fama-phone-stage::before {
    content: "";
    position: absolute;
    width: 88%;
    height: 88%;
    border-radius: 44px;
    background: var(--fama-orange);
    opacity: 0.1;
    transform: rotate(-5deg);
}

.fama-phone-stage__app {
    position: relative;
    z-index: 1;
    max-width: min(400px, 88%);
    max-height: 610px;
    object-fit: contain;
    filter: drop-shadow(0 38px 52px rgba(21, 21, 21, 0.22));
    animation: fama-phone-float 6s ease-in-out infinite;
}

@keyframes fama-phone-float {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-14px) rotate(1deg); }
}

.fama-float-card {
    position: absolute;
    z-index: 2;
    padding: 14px 16px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(251, 86, 7, 0.13);
    box-shadow: var(--fama-shadow);
    animation: fama-card-pulse 4.5s ease-in-out infinite;
}

@keyframes fama-card-pulse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.fama-float-card strong {
    display: block;
    color: var(--fama-ink);
    font-size: 16px;
    font-weight: 950;
}

.fama-float-card span {
    color: var(--fama-text);
    font-size: 12px;
    font-weight: 800;
}

.fama-float-card--top {
    top: 66px;
    right: 0;
}

.fama-float-card--bottom {
    bottom: 76px;
    left: 0;
}

.fama-section {
    padding: 92px 0;
}

.fama-section--soft {
    background: var(--fama-soft);
}

.fama-section-head {
    max-width: 760px;
    margin: 0 auto 40px;
    text-align: center;
}

.fama-section-head h2,
.fama-page-section h2 {
    margin: 0;
    color: var(--fama-ink);
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.05;
    font-weight: 950;
}

.fama-section-head p {
    margin: 15px auto 0;
    max-width: 640px;
}

.fama-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.fama-card {
    padding: 28px;
    border: 1px solid rgba(251, 86, 7, 0.12);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(21, 21, 21, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.fama-card:hover,
.fama-lift:hover {
    transform: translateY(-8px);
    border-color: rgba(251, 86, 7, 0.32);
    box-shadow: 0 28px 70px rgba(251, 86, 7, 0.15);
}

.fama-card i,
.fama-contact-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 22px;
    border-radius: 16px;
    color: #fff;
    background: var(--fama-orange);
    font-size: 22px;
}

.fama-card h3,
.fama-step h3,
.fama-contact-card h3 {
    margin: 0 0 10px;
    color: var(--fama-ink);
    font-size: 22px;
    font-weight: 950;
}

.fama-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(251, 86, 7, 0.12);
    border-radius: 24px;
    background: rgba(251, 86, 7, 0.12);
}

.fama-stats div {
    padding: 28px 22px;
    background: #fff;
}

.fama-stats strong {
    display: block;
    color: var(--fama-orange);
    font-size: 34px;
    font-weight: 950;
}

.fama-stats span {
    color: var(--fama-text);
    font-weight: 800;
}

.fama-steps {
    display: grid;
    gap: 16px;
}

.fama-step {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--fama-line);
}

.fama-step strong {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 15px;
    color: #fff;
    background: var(--fama-orange);
}

.fama-app-panel {
    padding: 34px;
    border-radius: 30px;
    background: var(--fama-soft);
    text-align: center;
}

.fama-app-panel img {
    max-width: min(430px, 100%);
    max-height: 540px;
    object-fit: contain;
    filter: drop-shadow(0 28px 45px rgba(21, 21, 21, 0.16));
}

.fama-live-section {
    background:
        linear-gradient(180deg, #fff 0%, #fff7f2 100%);
}

.fama-mini-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 24px;
}

.fama-mini-card {
    padding: 18px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(251, 86, 7, 0.14);
    box-shadow: 0 14px 36px rgba(21, 21, 21, 0.05);
}

.fama-mini-card strong {
    display: block;
    color: var(--fama-orange);
    font-size: 22px;
    font-weight: 950;
}

.fama-mini-card span {
    display: block;
    margin-top: 6px;
    color: var(--fama-text);
    font-weight: 800;
    line-height: 1.35;
}

.fama-map-demo {
    position: relative;
    min-height: 430px;
    border: 1px solid rgba(251, 86, 7, 0.16);
    border-radius: 32px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(251, 86, 7, 0.07) 1px, transparent 1px),
        linear-gradient(180deg, rgba(251, 86, 7, 0.07) 1px, transparent 1px),
        #fff;
    background-size: 48px 48px;
    box-shadow: var(--fama-shadow);
}

.fama-map-route {
    position: absolute;
    left: 16%;
    right: 18%;
    top: 52%;
    height: 7px;
    border-radius: 999px;
    background: repeating-linear-gradient(90deg, var(--fama-orange) 0 18px, transparent 18px 30px);
    transform: rotate(-18deg);
    opacity: 0.75;
}

.fama-map-pin,
.fama-map-driver {
    position: absolute;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    color: #fff;
    background: var(--fama-orange);
    box-shadow: 0 18px 40px rgba(251, 86, 7, 0.25);
}

.fama-map-pin--restaurant {
    left: 12%;
    top: 58%;
}

.fama-map-pin--client {
    right: 14%;
    top: 28%;
    background: #151515;
}

.fama-map-driver {
    left: 18%;
    top: 52%;
    animation: fama-driver-move 5.2s ease-in-out infinite;
}

@keyframes fama-driver-move {
    0% { transform: translate(0, 0); }
    50% { transform: translate(220px, -92px); }
    100% { transform: translate(0, 0); }
}

.fama-map-card {
    position: absolute;
    left: 28px;
    top: 28px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(251, 86, 7, 0.16);
    box-shadow: 0 18px 44px rgba(21, 21, 21, 0.08);
}

.fama-map-card strong {
    display: block;
    color: var(--fama-orange);
    font-size: 26px;
    font-weight: 950;
}

.fama-map-card span {
    color: var(--fama-text);
    font-weight: 850;
}

.fama-webapp-band {
    background: #151515;
    color: #fff;
}

.fama-webapp-band h2 {
    color: #fff;
}

.fama-webapp-band p {
    color: rgba(255, 255, 255, 0.76);
    margin: 0;
}

.fama-webapp-band .fama-kicker {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.fama-cta {
    padding: 74px 0;
    background: var(--fama-orange);
    color: #fff;
}

.fama-cta__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 34px;
    align-items: center;
}

.fama-cta h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.05;
    font-weight: 950;
}

.fama-cta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
}

.fama-page {
    background: #fff;
}

.fama-page-hero {
    padding: 170px 0 72px;
    background: linear-gradient(180deg, #fff7f2 0%, #fff 100%);
    text-align: center;
}

.fama-page-hero p {
    max-width: 720px;
    margin: 0 auto;
}

.fama-page-section {
    padding: 70px 0 92px;
}

.fama-policy-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: start;
}

.fama-policy-nav,
.fama-policy-content,
.fama-contact-form,
.fama-contact-card {
    border: 1px solid rgba(251, 86, 7, 0.12);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(21, 21, 21, 0.05);
}

.fama-policy-nav {
    padding: 18px;
    position: sticky;
    top: 120px;
}

.fama-policy-nav a {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    color: var(--fama-ink);
    font-weight: 850;
    text-decoration: none;
}

.fama-policy-nav a:hover,
.fama-policy-nav a.active {
    color: var(--fama-orange);
    background: var(--fama-soft);
}

.fama-policy-content {
    padding: 34px;
}

.fama-policy-content h1,
.fama-policy-content h2,
.fama-policy-content h3 {
    color: var(--fama-ink);
    font-weight: 950;
}

.fama-policy-content a {
    color: var(--fama-orange);
}

.fama-contact-grid {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 26px;
    align-items: start;
}

.fama-contact-card {
    padding: 26px;
}

.fama-contact-card a {
    color: var(--fama-orange);
    font-weight: 900;
    text-decoration: none;
    word-break: break-word;
}

.fama-contact-form {
    padding: 30px;
}

.fama-contact-form label {
    color: var(--fama-ink);
    font-weight: 900;
}

.fama-contact-form .form-control,
.fama-contact-form .form--control {
    min-height: 52px;
    border: 1px solid rgba(251, 86, 7, 0.16);
    border-radius: 15px;
    box-shadow: none !important;
}

.fama-contact-form textarea.form-control {
    min-height: 150px;
}

.fama-button,
.fama-contact-form .btn-base {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 12px 22px;
    border: 0;
    border-radius: 999px;
    color: #fff !important;
    background: linear-gradient(135deg, var(--fama-orange), var(--fama-orange-2));
    box-shadow: var(--fama-shadow);
    font-weight: 950;
    text-decoration: none !important;
}

/* Header layout helpers */
body .header-wrapper {
    position: relative;
    flex-wrap: nowrap;
}

.fama-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-inline-start: auto;
    flex-shrink: 0;
}

.fama-nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(21, 21, 21, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.fama-nav-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

body.fama-nav-open {
    overflow: hidden;
}

.fama-contact-stack {
    grid-template-columns: 1fr !important;
}

.fama-sticky-download {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9990;
    display: none;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid rgba(251, 86, 7, 0.16);
    box-shadow: 0 -12px 40px rgba(21, 21, 21, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transform: translateY(110%);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fama-sticky-download.is-visible {
    transform: translateY(0);
    pointer-events: auto;
}

@media (max-width: 991px) {
    .fama-sticky-download {
        display: block;
        pointer-events: none;
    }
}

.fama-sticky-download__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    max-width: 640px;
    margin: 0 auto;
}

.fama-sticky-download__text {
    min-width: 0;
}

.fama-sticky-download__text strong {
    display: block;
    color: var(--fama-ink);
    font-size: 14px;
    font-weight: 950;
    line-height: 1.2;
}

.fama-sticky-download__text small {
    display: block;
    color: var(--fama-text);
    font-size: 11px;
    font-weight: 700;
}

.fama-sticky-download .fama-store-badges {
    flex-shrink: 0;
    gap: 6px;
}

.fama-sticky-download .fama-store-badge {
    min-height: 44px;
    padding: 8px 10px;
    border-radius: 12px;
}

.fama-sticky-download .fama-store-badge__text strong {
    font-size: 11px;
}

.fama-sticky-download .fama-store-badge__text small {
    font-size: 9px;
}

footer.footer-bg {
    position: relative;
    overflow: hidden;
    margin-top: 0;
    background: var(--fama-orange) !important;
    color: #fff;
}

footer .newsletter-section {
    padding: 0;
}

footer .newsletter-content {
    margin: 0 auto -70px;
    max-width: 900px;
    padding: 40px;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(21, 21, 21, 0.16);
    text-align: center;
}

footer .newsletter-content .title {
    color: var(--fama-ink);
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 950;
}

footer .newsletter-content .title::after {
    background: var(--fama-orange);
}

footer .newsletter-content .text {
    color: var(--fama-text);
}

footer .newsletter-bg {
    display: none;
}

footer .newsletter-content .input--grp {
    max-width: 520px;
    margin: 24px auto 0;
    padding: 6px;
    border: 1px solid rgba(251, 86, 7, 0.12);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(21, 21, 21, 0.08);
}

footer .newsletter-content .form-control {
    height: 50px;
    border: 0;
    box-shadow: none;
}

footer .newsletter-content .search-btn,
footer .newsletter-content .search-btn svg {
    width: 50px;
    height: 50px;
}

footer .footer-bottom {
    padding: 140px 0 36px;
    background: var(--fama-orange) !important;
}

footer .footer-wrapper {
    display: grid;
    grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(160px, 0.8fr));
    gap: 36px;
    padding: 0 !important;
}

footer .footer-logo img {
    max-width: 185px;
    max-height: 68px;
    object-fit: contain;
}

footer .footer-widget .txt,
footer .footer-widget ul li a,
footer .copyright {
    color: rgba(255, 255, 255, 0.88) !important;
}

footer .footer-widget .subtitle {
    color: #fff !important;
    font-size: 16px;
    font-weight: 950;
    text-transform: uppercase;
}

footer .footer-widget ul li a {
    display: inline-flex;
    gap: 10px;
    text-decoration: none;
}

footer .social-icon {
    gap: 10px;
}

footer .social-icon li a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}

footer .copyright {
    margin-top: 32px !important;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.26);
}

/* ========== RESPONSIVE ========== */

@media (max-width: 1199px) {
    body .header-wrapper .menu li a {
        padding-inline: 8px;
        font-size: 13px;
    }

    .fama-hero h1,
    .fama-page-hero h1 {
        font-size: clamp(40px, 6vw, 72px);
    }
}

@media (max-width: 991px) {
    body header .header-wrapper {
        min-height: 64px;
        padding: 8px 10px 8px 14px;
        border-radius: 18px;
        align-items: center;
    }

    body .header-wrapper .logo {
        width: 132px;
        min-width: 110px;
        margin-inline-end: 0;
    }

    body .header-wrapper .logo img {
        max-height: 44px;
    }

    body .nav-toggle {
        order: 3;
        margin-inline-start: 6px;
        z-index: 2;
    }

    .fama-header-actions {
        order: 2;
        margin-inline-start: auto;
    }

    body .header-wrapper .menu {
        position: absolute;
        inset-inline: 0;
        top: calc(100% + 10px);
        width: 100%;
        max-height: min(70vh, 520px);
        padding: 12px;
        margin: 0;
        border: 1px solid rgba(251, 86, 7, 0.14);
        border-radius: 18px;
        background: #fff;
        box-shadow: 0 24px 60px rgba(21, 21, 21, 0.14);
        overflow-y: auto;
        z-index: 10001;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    body .header-wrapper .menu:not(.active) {
        visibility: hidden;
        opacity: 0;
        transform: translateY(8px) scale(0.98);
        pointer-events: none;
    }

    body .header-wrapper .menu.active {
        visibility: visible;
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    body .header-wrapper .menu li,
    body .header-wrapper .menu li a {
        width: 100%;
        justify-content: flex-start;
    }

    body .header-wrapper .menu li a {
        min-height: 44px;
        padding: 10px 14px;
        font-size: 15px;
    }

    body .fama-header-download {
        display: none !important;
    }

    .fama-header-join .dropdown--btn.btn-base {
        min-height: 40px;
        padding: 8px 12px;
        font-size: 12px;
    }

    .fama-header-join__label {
        max-width: 72px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .fama-hero__grid,
    .fama-split,
    .fama-cta__inner,
    .fama-contact-grid,
    .fama-policy-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .fama-hero__content,
    .fama-cta__inner > div,
    .fama-section-head,
    .fama-page-hero,
    .fama-page-hero .container,
    .fama-live-section .fama-split > div:first-child,
    .fama-webapp-band .fama-cta__inner {
        text-align: center;
    }

    .fama-split > .fama-policy-content {
        text-align: start;
    }

    .fama-kicker {
        margin-inline: auto;
    }

    .fama-hero__lead {
        margin-inline: auto;
    }

    .fama-actions,
    .fama-cta .fama-store-badges,
    .fama-webapp-band .fama-cta__inner {
        justify-content: center;
    }

    .fama-grid-3,
    .fama-mini-grid,
    .fama-stats,
    footer .footer-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fama-policy-nav {
        position: static;
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        padding: 12px;
        -webkit-overflow-scrolling: touch;
    }

    .fama-policy-nav a {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 10px 14px;
        font-size: 13px;
    }

    .fama-map-demo {
        min-height: 360px;
    }

    .fama-section {
        padding: 72px 0;
    }

    .fama-cta {
        padding: 56px 0;
    }
}

@media (max-width: 767px) {
    body header {
        top: 8px;
    }

    body header > .container {
        max-width: calc(100% - 16px);
        padding-inline: 0;
    }

    .fama-hero {
        min-height: auto;
        padding: 118px 0 56px;
    }

    .fama-page-hero {
        padding: 118px 0 48px;
    }

    .fama-page-section {
        padding: 48px 0 72px;
    }

    .fama-hero h1,
    .fama-page-hero h1 {
        font-size: clamp(34px, 10vw, 52px);
        line-height: 0.98;
    }

    .fama-hero__lead {
        font-size: 16px;
        line-height: 1.65;
        margin-bottom: 22px;
    }

    .fama-section-head h2,
    .fama-page-section h2,
    .fama-live-section h2,
    .fama-split h2 {
        font-size: clamp(28px, 8vw, 40px);
    }

    .fama-grid-3,
    .fama-mini-grid,
    .fama-stats,
    footer .footer-wrapper {
        grid-template-columns: 1fr;
    }

    .fama-stats strong {
        font-size: 28px;
    }

    .fama-phone-stage {
        min-height: auto;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding-top: 8px;
    }

    .fama-phone-stage__app {
        max-width: min(280px, 78vw);
        max-height: 420px;
    }

    .fama-float-card {
        position: relative;
        inset: auto !important;
        width: min(100%, 300px);
        margin: 0 auto;
    }

    .fama-float-card--top,
    .fama-float-card--bottom {
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
    }

    .fama-store-link,
    .fama-store-badge,
    .fama-button,
    .fama-webapp-band .fama-button {
        width: 100%;
        justify-content: center;
    }

    .fama-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .fama-cta__inner {
        gap: 22px;
    }

    .fama-cta .fama-store-badges {
        width: 100%;
        flex-direction: column;
    }

    .fama-card,
    .fama-contact-card,
    .fama-policy-content,
    .fama-contact-form {
        padding: 22px;
    }

    .fama-app-panel {
        padding: 20px;
    }

    .fama-app-panel img {
        max-height: 380px;
    }

    .fama-map-demo {
        min-height: 300px;
        border-radius: 22px;
    }

    .fama-map-card {
        left: 14px;
        top: 14px;
        right: 14px;
        padding: 12px 14px;
    }

    .fama-map-card strong {
        font-size: 20px;
    }

    @keyframes fama-driver-move {
        0% { transform: translate(0, 0); }
        50% { transform: translate(120px, -48px); }
        100% { transform: translate(0, 0); }
    }

    .fama-step {
        grid-template-columns: 48px 1fr;
        gap: 12px;
    }

    .fama-header-join__label {
        display: none;
    }

    .fama-header-join .dropdown--btn.btn-base {
        min-width: 40px;
        padding-inline: 10px;
    }

    .fama-header-join .dropdown--btn.btn-base svg {
        margin: 0;
    }

    footer .newsletter-content {
        margin-bottom: -40px;
        padding: 24px 16px;
        border-radius: 20px;
    }

    footer .newsletter-content .input--grp {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
        border-radius: 18px;
    }

    footer .newsletter-content .form-control {
        width: 100%;
        text-align: center;
    }

    footer .newsletter-content .search-btn {
        margin: 0 auto;
    }

    footer .footer-bottom {
        padding: 88px 0 28px;
    }

    footer .footer-logo img {
        max-width: 150px;
    }

    footer .app-btn-grp {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    body.fama-has-sticky-bar {
        padding-bottom: 72px;
    }
}

@media (max-width: 380px) {
    body .header-wrapper .logo {
        width: 108px;
    }

    .fama-header-lang .header--btn span {
        display: none;
    }

    .fama-sticky-download__text small {
        display: none;
    }
}

@media (min-width: 992px) {
    .fama-sticky-download,
    .fama-nav-overlay {
        display: none !important;
    }
}

/* Pages inscription / formulaires legacy */
@media (max-width: 991px) {
    .h-148px {
        height: 112px !important;
    }

    section.m-0 .page-header {
        padding-inline: 8px;
    }
}

@media (max-width: 767px) {
    .h-148px {
        height: 100px !important;
    }

    section.m-0 .page-header-title {
        font-size: 20px !important;
        line-height: 1.35 !important;
    }

    section.m-0 .card,
    section.m-0 .card-body {
        border-radius: 18px;
    }

    section.m-0 .container {
        padding-inline: 16px;
    }

    .fama-policy-content {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .fama-policy-content img,
    .fama-policy-content table {
        max-width: 100%;
        height: auto;
    }

    .fama-policy-content table {
        display: block;
        overflow-x: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fama-phone-stage__app,
    .fama-float-card,
    .fama-map-driver,
    .fama-reveal {
        animation: none !important;
    }
}
