/* ============================================
   RESET & VARIABLES GLOBALES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --site-max-width: 1400px;
    --site-pad: 16px;
    --site-pad-desktop: 60px;
    --accent: #b8ff00;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #ffffff;
    color: #000;
    line-height: 1.6;
}

/* ============================================
   STRUCTURE COMMUNE
   ============================================ */
.photo-container {
    max-width: var(--site-max-width);
    margin: 0 auto;
    padding: 0 var(--site-pad);
}

.section-divider {
    position: relative;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: max(var(--site-pad), calc((100% - var(--site-max-width)) / 2));
    right: max(var(--site-pad), calc((100% - var(--site-max-width)) / 2));
    height: 1px;
    background-color: #e6e6e6;
}

.photo-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: var(--accent);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    padding: 30px 0;
    border-bottom: none;
    position: sticky;
    top: 0;
    background-color: #ffffff;
    z-index: 1000;
}

.header-container {
    max-width: var(--site-max-width);
    margin: 0 auto;
    padding: 0 var(--site-pad);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo::before {
    content: none;
}

.logo img {
    height: 30px;
    width: auto;
    display: block;
}

a.logo,
a.footer-logo {
    text-decoration: none;
}

.nav {
    display: flex;
    gap: 60px;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: #000;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    transition: opacity 0.3s ease;
    text-transform: uppercase;
}

.nav a:hover {
    opacity: 0.6;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
    padding: 5px;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 2.5px;
    background-color: #000;
    transition: all 0.3s ease;
    border-radius: 2px;
}

@media (max-width: 1023px) {
    .header-container {
        padding: 0 var(--site-pad);
    }

    .logo {
        gap: 8px;
    }

    .logo img {
        height: 26px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background-color: #ffffff;
        border-bottom: none;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-top: none;
    }

    .nav.active {
        max-height: 400px;
        padding: 20px 0;
        border-top: 1px solid #f0f0f0;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav a {
        display: block;
        padding: 18px 40px;
        border-bottom: 1px solid #f0f0f0;
        font-size: 13px;
    }
}

/* ============================================
   HERO
   ============================================ */
.photo-hero {
    padding: 60px 0 34px;
    background:
        radial-gradient(circle at 85% 15%, #f2f2f2 0%, #ffffff 42%),
        linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
}

.photo-hero .photo-container {
    display: block;
}

.photo-hero-content {
    max-width: 820px;
}

.photo-hero-kicker {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #474747;
    margin-bottom: 10px;
}

.photo-hero-title {
    font-size: 40px;
    line-height: 1.06;
    letter-spacing: -1px;
    text-transform: uppercase;
    margin-bottom: 14px;
    max-width: 14ch;
}

.photo-hero-subtitle {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    max-width: 54ch;
    margin-bottom: 20px;
}

.photo-hero-cta {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 999px;
    border: none;
    background-color: var(--accent);
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* ============================================
   IMPORTANCE
   ============================================ */
.photo-importance {
    padding: 34px 0 56px;
}

.photo-section-title {
    font-size: 25px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.photo-importance-grid {
    display: grid;
    gap: 24px;
}

.photo-importance-image {
    height: 220px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.photo-importance-text h3 {
    font-size: 42px;
    line-height: 1.06;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: -0.8px;
}

.photo-importance-text p {
    font-size: 15px;
    color: #404040;
    line-height: 1.6;
    max-width: 44ch;
}

/* ============================================
   SERVICES PHOTO
   ============================================ */
.photo-services {
    padding: 56px 0;
    background-color: #ffffff;
}

.photo-section-subtitle {
    font-size: 15px;
    color: #404040;
    line-height: 1.6;
    max-width: 70ch;
    margin-bottom: 28px;
}

.photo-service-card {
    border: 1px solid #d7d7d7;
    border-radius: 18px;
    overflow: hidden;
    background-color: #ffffff;
    display: grid;
    margin-bottom: 22px;
}

.photo-service-card:last-child {
    margin-bottom: 0;
}

.photo-service-content {
    padding: 22px 18px;
}

.photo-service-content h3 {
    font-size: 18px;
    line-height: 1.25;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.photo-service-content ul {
    list-style: none;
    display: grid;
    gap: 9px;
}

.photo-service-content li {
    font-size: 15px;
    color: #5b5b5b;
    line-height: 1.45;
    position: relative;
    padding-left: 16px;
}

.photo-service-content li::before {
    content: '›';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: 700;
}

.photo-service-image {
    min-height: 210px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ============================================
   PROJETS
   ============================================ */
.photo-projects {
    padding: 56px 0;
    background-color: #ffffff;
}

.photo-project-banner {
    border-radius: 10px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.photo-project-overlay {
    background-color: rgba(0, 0, 0, 0.44);
    color: #fff;
    padding: 24px 16px;
    display: grid;
    gap: 16px;
}

.photo-project-overlay h2 {
    font-size: 36px;
    margin-bottom: 8px;
    text-transform: uppercase;
    line-height: 1.05;
}

.photo-project-overlay p {
    font-size: 14px;
    line-height: 1.5;
    max-width: 54ch;
}

.photo-project-btn {
    width: fit-content;
    padding: 12px 26px;
    border-radius: 999px;
    background-color: var(--accent);
    color: #000;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* ============================================
   CTA
   ============================================ */
.photo-cta {
    padding: 78px 0 90px;
    background-color: #ffffff;
}

.photo-cta-card {
    border: 1px solid #d8d8d8;
    border-radius: 10px;
    padding: 22px 14px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.photo-cta-text h2 {
    font-size: 25px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.photo-cta-text p {
    font-size: 13px;
    color: #5a5a5a;
}

.photo-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    padding: 10px 16px;
    background-color: var(--accent);
    border: none;
    border-radius: 999px;
    color: #000;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: #ffffff;
    padding: 60px 0;
    border-top: 1px solid #e6e6e6;
}

.footer-container {
    max-width: var(--site-max-width);
    margin: 0 auto;
    padding: 0 var(--site-pad);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 26px;
    align-items: center;
    text-align: center;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo::before {
    content: none;
}

.footer-logo img {
    height: 22px;
    width: auto;
    display: block;
}

.footer-subscribe {
    padding: 10px 34px;
    background: var(--accent) 100%;
    border: none;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    color: #000;
    text-transform: lowercase;
}

.footer-subscribe:hover {
    background: #a0e000 100%;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.footer-nav a {
    text-decoration: none;
    color: #000;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover {
    opacity: 0.6;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.footer-contact a {
    text-decoration: none;
    color: #000;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease;
}

.footer-contact a:hover {
    opacity: 0.6;
}

.footer-copyright {
    font-size: 12px;
    color: #7a7a7a;
    letter-spacing: 0.5px;
}

/* ============================================
   RESPONSIVE DESKTOP
   ============================================ */
@media (min-width: 1024px) {
    .section-divider::before {
        left: max(var(--site-pad-desktop), calc((100% - var(--site-max-width)) / 2));
        right: max(var(--site-pad-desktop), calc((100% - var(--site-max-width)) / 2));
    }

    .header {
        padding: 40px 0;
    }

    .header-container {
        padding: 0 var(--site-pad-desktop);
    }

    .logo img {
        height: 34px;
    }

    .menu-toggle {
        display: none;
    }

    .nav {
        position: static;
        flex-direction: row;
        gap: 60px;
        max-height: none;
        border: none;
        padding: 0;
    }

    .nav a {
        padding: 0;
        border: none;
        display: inline;
        font-size: 13px;
    }

    .photo-container {
        padding: 0 var(--site-pad-desktop);
    }

    .photo-hero {
        padding: 84px 0 48px;
    }

    .photo-hero-content {
        max-width: 820px;
    }

    .photo-hero-kicker {
        margin-bottom: 12px;
    }

    .photo-hero-title {
        font-size: 64px;
        max-width: 12ch;
        margin-bottom: 16px;
    }

    .photo-hero-subtitle {
        font-size: 18px;
        max-width: 58ch;
    }

    .photo-importance {
        padding: 56px 0 74px;
    }

    .photo-section-title {
        margin-bottom: 24px;
    }

    .photo-importance-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 38px;
    }

    .photo-importance-image {
        height: 310px;
    }

    .photo-importance-text h3 {
        font-size: 58px;
        max-width: 12ch;
    }

    .photo-services {
        padding: 74px 0;
    }

    .photo-section-subtitle {
        max-width: 62ch;
        margin-bottom: 42px;
    }

    .photo-service-card {
        margin-bottom: 26px;
        grid-template-columns: 62% 38%;
    }

    .photo-service-card.reverse {
        grid-template-columns: 38% 62%;
    }

    .photo-service-content {
        padding: 24px 38px;
    }

    .photo-service-content h3 {
        font-size: 18px;
        line-height: 1.18;
        margin-bottom: 18px;
    }

    .photo-service-image {
        min-height: 270px;
    }

    .photo-projects {
        padding: 74px 0;
    }

    .photo-project-overlay {
        grid-template-columns: 1fr auto;
        align-items: end;
        gap: 20px;
        padding: 30px 24px;
    }

    .photo-project-overlay h2 {
        font-size: 54px;
    }

    .photo-cta {
        padding: 86px 0 92px;
    }

    .photo-cta-card {
        min-height: 126px;
        padding: 24px 24px;
    }

    .footer {
        padding: 80px 0;
    }

    .footer-container {
        max-width: var(--site-max-width);
        padding: 0 var(--site-pad-desktop);
        margin: 0 auto;
    }

    .footer-content {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        align-items: start;
        gap: 18px 40px;
        text-align: left;
    }

    .footer-left {
        align-items: start;
    }

    .footer-logo {
        justify-self: start;
    }

    .footer-logo img {
        height: 30px;
    }

    .footer-subscribe {
        margin-top: 12px;
        justify-self: start;
    }

    .footer-nav {
        display: flex;
        flex-direction: column;
        gap: 10px;
        justify-self: center;
        align-items: start;
    }

    .footer-nav a {
        font-size: 13px;
    }

    .footer-contact {
        display: flex;
        flex-direction: column;
        gap: 8px;
        justify-self: end;
        align-items: start;
    }

    .footer-contact a {
        font-size: 14px;
    }

    .footer-copyright {
        grid-column: 1 / -1;
        justify-self: center;
        margin-top: 30px;
        font-size: 12px;
    }
}

@media (max-width: 640px) {
    .photo-hero {
        padding: 44px 0 24px;
    }

    .photo-hero-title {
        font-size: 30px;
        line-height: 1.1;
    }

    .photo-hero-subtitle {
        font-size: 14px;
    }

    .photo-hero-cta {
        padding: 10px 18px;
    }

    .photo-importance-text h3 {
        font-size: 24px;
        line-height: 1.15;
    }

    .photo-service-content h3 {
        font-size: 16px;
    }

    .photo-service-content li {
        font-size: 13px;
    }

    .photo-project-overlay h2 {
        font-size: 28px;
    }

    .photo-cta-card {
        padding: 16px 12px;
    }

    .photo-cta-text h2 {
        font-size: 14px;
    }

    .photo-cta-text p {
        font-size: 11px;
    }

    .photo-cta-btn {
        min-width: 32px;
        padding: 8px 10px;
        font-size: 0;
    }
}

/* Footer logo size (same as header logo) */
.footer-logo img {
    height: 30px;
}

@media (min-width: 1024px) {
    .footer-logo img {
        height: 34px;
    }
}

/* Remove nav outline */
@media (max-width: 1023px) {
    .nav.active {
        border-top: none;
        border-bottom: none;
    }

    .nav a {
        border-bottom: none;
    }
}

/* Mobile titles/subtitles left aligned */
@media (max-width: 1023px) {
    .photo-hero-title,
    .photo-hero-subtitle,
    .photo-section-title,
    .photo-section-subtitle {
        text-align: left;
        margin-left: 0;
        margin-right: auto;
    }
}

/* Scroll reveal (chill) */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-on-scroll.reveal-delay-1 {
    transition-delay: 80ms;
}

.reveal-on-scroll.reveal-delay-2 {
    transition-delay: 140ms;
}

@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll,
    .reveal-on-scroll.reveal-delay-1,
    .reveal-on-scroll.reveal-delay-2 {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Hero reveal (chill) */
.hero-reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.75s ease, transform 0.75s ease;
    will-change: opacity, transform;
}

.hero-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-reveal.hero-delay-1 {
    transition-delay: 100ms;
}

.hero-reveal.hero-delay-2 {
    transition-delay: 170ms;
}

@media (prefers-reduced-motion: reduce) {
    .hero-reveal,
    .hero-reveal.hero-delay-1,
    .hero-reveal.hero-delay-2 {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
